They are thread safe. You should share a single instance across multiple threads.

Mike

J B wrote:

Hi,

Are instances of IndexSearcher thread safe? In other words, should each thread have it's own instance of IndexSearcher, or could I share a single
one between many threads, to avoid constantly opening and closing new
instances?

Many thanks!
-J.


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

Reply via email to