15 jan 2008 kl. 20.31 skrev Michael Prichard:
When I run through and delete a few documents from my index, is it wise to call .flush() afterwards? Or is it better to close the index?
Close means flush, but also releasing the write lock. What to usereally depends on how your service is implemented. Perhaps you create and close a new IndexWriter for each command, perhaps you keep a writer open at all time, perhaps you have some background thread flushing and closing after inactivity.
I hope this helps. -- karl --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]