Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
The call to Zend_Search_Lucene::create() to open an existing index resets the chunk counter internally, so that all existing index data is lost. This cannot easily be reproduced in tests, because of the singleton in ZSL. To reproduce it, you need a script creating an index, and another instance reading from the index. The attached patch fixes this problem. We might want to call Zend_Search_Lucene::create(), though, if the index directory not yet exists, or if ::open() throws an exception. With the patch the user would be required to create the index once manually. Environment: Operating System: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||