On 9/16/2013 7:15 AM, Sergio Stateri wrote:
> I´m trying to make a search with Solr 4.4, but in the first time the search
> is too slow. I have studied about pre-warm queries, but the query response
> is the same after putting it. Can anyone help me? Here´s a piece of
> solrconfig.xml:
> 
>  <listener event="firstSearcher" class="solr.QuerySenderListener">

You've configured a firstSearcher.  Basically what this means is that
this query will be run when Solr first starts up, and never run again
after that.  Make it a newSearcher instead of firstSearcher, and it will
get run every time a new searcher gets created, and it might solve your
problem.

For further troublsehooting if the change above doesn't help, how big is
your index, and how much RAM does the machine have?  We already know
what your java heap is (2GB minimum, 4GB maximum).

Thanks,
Shawn

Reply via email to