lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mordo, Aviran (EXP N-NANNATEK)" <aviran.mo...@lmco.com>
Subject RE: IndexSearcher in servlet containers
Date Wed, 05 Oct 2005 13:27:02 GMT
There where no problems for me. 
Do you use the same IndexReader for all your searchers ?

Aviran
http://www.aviransplace.com

-----Original Message-----
From: Cyril Barlow [mailto:info@fantasyfooty.org] 
Sent: Wednesday, October 05, 2005 9:15 AM
To: java-user@lucene.apache.org
Subject: IndexSearcher in servlet containers

Has anyone got experience of using the IndexSearcher in a servlet? I'm
having caching problems when there's a lot of different concurrent users
with the current setup. Currently the setup is to create a IndexSearcher
per servlet doPost call and close it after. But with concurrent requests
- especially ones which are performing fairly complex ranked boolean
queries that take a few seconds are causing caching problems - sometimes
a completely different set of results will be returned or nothing at
all. Has anyone come across errors like these before or know best
practices for searching in concurrent servlets?

Thanks


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