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 abrubtly. It looks like something to do with the index lock, yet the destrcutor class calls $this->_lock->unlock(); I altered my script so that I no longer unset the index and pass it to the function that adds a new doc before finally commiting both changes which works. 1. open index 2. delete doc from index 3. commit change 4. add new document 5. commit I suppose this is more efficient, but why would unsetting the index variable not release the index lock, is this a bug , a feature, or misunderstanding of how this works? Thanks, Craig
