I see this in the code:

if (debug) log.debug("autowarming result for " + this + "\n\t" + 
this.cacheList[i]);

Yes, it was an “INFO”, until...
SOLR-3157: improve test 
logginghttp://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java?r1=1294212&r2=1294211&pathrev=1294212
Mon Feb 27 16:48:19 2012 UTC (9 months, 4 weeks ago)

-- Jack Krupansky

From: Erick Erickson 
Sent: Tuesday, December 25, 2012 11:38 AM
To: [email protected] 
Subject: Cache stats and the log files

I'm not seeing cache statistics in 4.x (fresh build) log files by default, 
things like: 
INFO: autowarming result for Searcher@2de3e7d2 main
fieldValueCache{lookups=0,hits=0,hitratio=0.00,inserts=0,evictions=0,size=0,warmupTime=0,cumulative_lookups=0,cumulative_hits=0,cumulative_hitratio=0.00,cumulative_inserts=0,cumulative_evictions=0}


Did I miss something here? These are very important for understanding problems 
in the field. I can imagine that the SolrCloud stuff, particularly soft commits 
might influence dumping these. Wanting to make sure this is intentional and 
wondering if I'm just missing something here or if there's some kind of flag....

'cause it's worth a JIRA if they disappeared unintentionally, and maybe a JIRA 
if they _were_ removed intentionally. At minimum we need to be able to turn 
these on....

Thanks,
Erick

Reply via email to