You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Dan Quaroni <dq...@OPENRATINGS.com> on 2005/10/27 16:34:46 UTC
Wording on FAQ entry
Hi, I just wanted to check the wording on this FAQ entry to see if it means what it says, or what I'd prefer it to mean. The entry is:
"Is the IndexSearcher thread-safe?
Yes, IndexSearcher is thread-safe. Multiple search threads may access the index concurrently without any problems. "
So, the part in question is "Multiple search threads may access the index concurrently"
However, I think the question is really asking "Can multiple threads access the same SEARCHER at the same time?"
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org
Re: Wording on FAQ entry
Posted by Chris Hostetter <ho...@fucit.org>.
: So, the part in question is "Multiple search threads may access the
: index concurrently"
:
: However, I think the question is really asking "Can multiple threads
: access the same SEARCHER at the same time?"
yes, I've clarified the answer...
Yes, IndexSearcher is thread-safe. Multiple search threads may use the
same instance of IndexSearcher concurrently without any problems.
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org