I think a lag between adding a new document and being able to find it
in a search is acceptable.

You could optionally provide better latency for low volume indicies by
having a maximumCommitFrequency parameter (say 60 seconds).  When the
first document is added in a while, a new IndexSearcher can be opened
immediately.  If more documents are added right after that, a new
IndexSearcher won't be opened  until 60 seconds have passed.

-Yonik

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

Reply via email to