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 <dcra...@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
>
>
>

Reply via email to