lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tommaso Teofili <tommaso.teof...@gmail.com>
Subject Re: Searchers and Warmups
Date Fri, 14 Jan 2011 09:34:07 GMT
Hi David,
The idea is that you can define some "listeners" which make a list of
queries to an IndexSearcher.
In particular the firstSearcher event is related to the very first
IndexSearcher being created inside the Solr instance while the newSearcher
is the event related to the creation of a new IndexSearcher (i.e. when a
commit is done the not used ones get closed and new IS are created with the
last commit point).
The warming up is simply the execution of particular queries against such
IndexSearchers in order to put some documents in the caches before any user
entered query is executed so that the searchers are "warmed" with proper
documents (i.e. most frequent queries). Also some documents in the old
caches get inside the caches of the new searchers depending on the cache
configuration [1].
I hope this clarifies things a little bit.
Cheers,
Tommaso

[1] :
http://wiki.apache.org/solr/SolrPerformanceFactors#Cache_autoWarm_Count_Considerations

2011/1/14 David Cramer <dcramer@gmail.com>

> I'm trying to understand the mechanics behind warming up, when new
> searchers are registered, and their costs. A quick Google didn't point me in
> the right direction, so hoping for some of that here.
>
>
> --
> David Cramer
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message