lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "叶双明" <yeshuangm...@gmail.com>
Subject Re: Search warmup from Tomcat
Date Sat, 27 Sep 2008 00:44:22 GMT
I my opinion.
Set up two IndexSearcher, say #1 contain the old index data for query when
#2 is updating. and
turn query to #2 where updating is completed.

2008/9/26 Asbjørn A. Fellinghaug <asbjorn@fellinghaug.com>

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


-- 
Sorry for my English!! 明
Please help me correct my English expression and error in syntax
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message