Yes. You can (and should for best performance) reuse an IndexSearcher as long as you don't need access to changes made to the index. An open IndexSearcher won't pick up changes to the index, so if you need to see the changes, you will need to open a new searcher at that point.

Scott

Aviran Mordo wrote:

Can I reuse one Instance of IndexSearcher to do multiple searches (in
multiple threads) or do I have to instantiate a new IndexSearcher for
each search?






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



Reply via email to