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
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