Hi all,
It looks like Lucene supports concurrent searchs as long as the index is not
modified with add, delete, or optimize actions (and maybe others?). For those
actions, it is not clear what is happening (at least for me) with open
searchers, readers and writers. Can those be reused freely ? When should they be
opened/closed ? Can I add/delete documents while another thread is looping on
Hits ?
A brief summary of what can/cannot be done when modifying an index (and related
issues) would be very appreciated.
JCG
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
It looks like Lucene supports concurrent searchs as long as the index is not
modified with add, delete, or optimize actions (and maybe others?). For those
actions, it is not clear what is happening (at least for me) with open
searchers, readers and writers. Can those be reused freely ? When should they be
opened/closed ? Can I add/delete documents while another thread is looping on
Hits ?
A brief summary of what can/cannot be done when modifying an index (and related
issues) would be very appreciated.
JCG
--
To unsubscribe, e-mail: <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>