Optimizing is also solution but described approach can save a lot of space and time needed to completely rewrite huge index...

Volodymyr Bychkoviak wrote:
if index is updated continuously then in some moment we will have one or more segments in index that have all documents deleted.

As long as deleting happens in IndexReader can we delete such 'empty' segments in IndexReader.close()?


--
regards,
Volodymyr Bychkoviak


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

Reply via email to