lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asbjørn A. Fellinghaug <asbj...@fellinghaug.com>
Subject Re: Search warmup from Tomcat
Date Fri, 26 Sep 2008 14:22:59 GMT
Ganesh:
> Hello all,
> 
> I need to do warmup the searcher object from my JSP pages. Currently i am 
> having a static object, which i am frequently checking whether index got 
> updated, if so i am closing the indexer and re-opening it. These JSP pages 
> are invoked by the User. When User performs any search operation, few are 
> faster and few are slower. This is because the searcher object is getting 
> updated.
> 
> How do i warm up my searcher object, without the intervention of User 
> request.

I would have used a set of predefined queries which are frequently typed
into your searcher. Typically queries with stopwords is good to use an a
warmup phase.

-- 
Asbjørn A. Fellinghaug
asbjorn@fellinghaug.com

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