ZF-3412: Exception when open lucene index (created by java lucene)

Issue Type: Bug Created: 2008-06-08T07:41:47.000+0000 Last Updated: 2012-08-31T08:42:54.000+0000 Status: Open Fix version(s): Reporter: M.Ali.R (malir) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Search_Lucene

  • zf-crteam-padraic
  • zf-crteam-priority

Related issues: Attachments:


YaHoo Hi, when I use this code :

that index created by java lucene (or clucene), I got this exception:

"Fatal error: Uncaught exception 'Zend_Search_Lucene_Exception' with message 'Wrong segments file format' in ../Lucene.php:328 Stack trace: #0 ../Lucene.php(452): Zend_Search_Lucene->_readSegmentsFile() #1 ../Lucene.php(186): Zend_Search_Lucene->__construct('/index', false) #2 test.php(4): Zend_Search_Lucene::open('/index') #3 {main} thrown in ../Lucene.php on line 328"

what's problem?


Posted by Tobias (toby78) on 2008-06-19T21:37:56.000+0000

I have the same problem. I can call the php scripts from the console, but not from the URL.

Posted by Alexander Veremyev (alexander) on 2008-07-22T08:18:50.000+0000

Which Java Lucene version do you use?

ZF 1.5.2 supports Java Lucene versions 1.4-2.2. Lucene 2.3 index format support just came with th ZF 1.6 RC1.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.