mirror of https://github.com/apache/lucene.git
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:
parent
b9fcb32589
commit
eb3858a453
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue