This is a result of optimization with new Java Lucene version.
Index format was changed with Apache Lucene V2.1. It's planned to
support it, but it's not first issue for Zend_Search_Lucene.
Previous Luke version (including Lucene 2.0 package) could be taken here
http://www.getopt.org/luke/luke-0.6/
(lukeall-0.6.jar)
PS Documentation should be corrected to refer to currently supported
Apache Lucene version. I've just created an JIRA issue for this.
With best regards,
Alexander Veremyev.
webshark27 wrote:
I ran Lucene Index Toolbox as suggested on
http://framework.zend.com/manual/en/zend.search.index-creation.html#zend.search.index-creation.document-updating
After running an optimization there is no longer a .cfs file or a segment
file.
When I try to search I get
"object(Zend_Search_Lucene_Exception)#5 (6) { ["message:protected"]=>
string(127) "fopen(c:/tmp/ab_index/segments) [function.fopen]: failed to
open stream: No such file or directory" ["string:private"]=> string(0) ""
["code:protected"]=> int(0) ["file:protected"]=> string(73)
"C:\Inetpub\ArticlesBaseNew\Zend\Search\Lucene\Storage\File\Filesystem.php"
["line:protected"]=> int(63) ["trace:private"]=> array(4) {"
because there is no file of that nature, there is however a file called
segments.gen or segments_f.
Any Ideas?