You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by David Cramer <dc...@gmail.com> on 2011/01/14 01:08:52 UTC
Searchers and Warmups
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
Re: Searchers and Warmups
Posted by Tommaso Teofili <to...@gmail.com>.
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 <dc...@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
>
>
>
Re: Searchers and Warmups
Posted by Savvas-Andreas Moysidis <sa...@googlemail.com>.
Hi David,
maybe the wiki page on caching could be helpful:
http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners
<http://wiki.apache.org/solr/SolrCaching#newSearcher_and_firstSearcher_Event_Listeners>
Regards,
- Savvas
On 14 January 2011 00:08, David Cramer <dc...@gmail.com> wrote:
> 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
>
>
>