On Tue, Jan 27, 2009 at 8:51 PM, Parisa <paris...@gmail.com> wrote: > > I found how the issue is created .when solr warm up the new searcher with > cacheLists , if the queryResultCache is enable the issue is created. > > notice:as I mentioned before I commit with waitflush=false and > waitsearcher=false > > so it has problem in case the queryResultCache is on, >
Ah so that is the issue. The problem is that when you call commit with waitSearcher=false and waitFlush=false, the call immediately returns without waiting for the commit to complete and the new searcher to be registered. Therefore any queries you make until autowarming completes does not give you the results from the new index. You should call commit with both waitSearcher and waitFlush as true. That should solve the problem. -- Regards, Shalin Shekhar Mangar.