lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: IndexSearcher and Multiple Threads
Date Mon, 28 Jan 2008 22:06:28 GMT

: Is IndexSearcher ThreadSafe? I made a simple httpserver using grizzly as
	...
: java.lang.NullPointerException
:     at org.apache.lucene.queryParser.QueryParser.jj_scan_token(
	...
: This error does not happen if I do searches one at a time.

IndedSearcher is thread safe, QueryParser is not.





-Hoss


---------------------------------------------------------------------
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