: This may seem like a stupid question, but why on the info / stats pages do we
: see two instances on SolrIndexSearcher?

There will always be two "SolrIndexSearcher" entries on the info & stats 
pages -- the curret search is listed once under it's "real" name and once 
as "searcher" (i think it use to be "currentSearcher", but it looks like 
someone changed that?)

The reason is so you can always access stats (via the registery or JMX) 
for the current SolrIndexSearcher using a fixed name -- you can easily 
verify that these searchers are the same by lookin at the "searcherName" 
property in the stats.

: Does Solr actually create two instances of SolrCore / SolrIndexSearcher on
: startup? If one is used for warming, why isn't it destroyed when it's
: finished?

it's the same instance, it's just listed twice.


-Hoss

--
http://lucenerevolution.org/  ...  October 7-8, Boston
http://bit.ly/stump-hoss      ...  Stump The Chump!

Reply via email to