Re: [fw-general] Zend_Search_Lucene dies on update

2007-03-28 Thread Alexander Veremyev
Hi Craig, You are right, that index reopening is not very efficient. From the other side it's not good that reopening fails now. The problem is in the PHP objects handling. Zend_Search_Lucene class contains Writer object intended to add documents into index. Writer has reference to

[fw-general] Zend_Search_Lucene dies on update

2007-03-27 Thread Duncan, Craig
Trying to open an index twice in the same script causes an error when adding a new document. 1. open index 2. delete doc from index 3. commit change 4. unset index 5. open index 6. add new document 7. commit change At step 6 the script terminates