lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Taylor <paul_t...@fastmail.fm>
Subject Blocking on IndexSearcher search
Date Wed, 25 Aug 2010 20:25:44 GMT
Hi

My multithreaded code was always creating a new IndexSearcher for every 
search, but I changed over to the recommendation of creating just one 
index  searcher and keeping it between searches. Now I find if I have 
multiple threads trying to search they
block on the search method(), only one can search at any time, is this 
expected behaviour ?


Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message