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 <[EMAIL PROTECTED]> > 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 > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Sorry for my English!! 明 Please help me correct my English expression and error in syntax