Added searcherName to the statistics.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@680815 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-07-29 19:48:02 +00:00
parent b9fcb32589
commit eb3858a453
1 changed files with 1 additions and 0 deletions

View File

@ -1580,6 +1580,7 @@ public class SolrIndexSearcher extends Searcher implements SolrInfoMBean {
public NamedList getStatistics() {
NamedList lst = new SimpleOrderedMap();
lst.add("searcherName", name);
lst.add("caching", cachingEnabled);
lst.add("numDocs", reader.numDocs());
lst.add("maxDoc", reader.maxDoc());