>    1. Open reader;
>    2. Delete all old documents;
>    3. Close reader;
>    4. Open writer;
>    5. Add all new documents;
>    6. Close writer.
> 
> If, before step one, you open another IndexReader, then you can continue 
> to use it for searches while the update is in progress.  If you then, 
> after step six, open a new IndexReader to use for searches, then no 
> searches will ever see the intermediate state when documents have been 
> deleted but not yet re-added.

Thanks! Now all that's missing is rollback :-)


--
Eric Jain


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to