Author: shalin
Date: Tue Jul 29 12:48:02 2008
New Revision: 680815

URL: http://svn.apache.org/viewvc?rev=680815&view=rev
Log:
Added searcherName to the statistics.

Modified:
    lucene/solr/trunk/src/java/org/apache/solr/search/SolrIndexSearcher.java

Modified: 
lucene/solr/trunk/src/java/org/apache/solr/search/SolrIndexSearcher.java
URL: 
http://svn.apache.org/viewvc/lucene/solr/trunk/src/java/org/apache/solr/search/SolrIndexSearcher.java?rev=680815&r1=680814&r2=680815&view=diff
==============================================================================
--- lucene/solr/trunk/src/java/org/apache/solr/search/SolrIndexSearcher.java 
(original)
+++ lucene/solr/trunk/src/java/org/apache/solr/search/SolrIndexSearcher.java 
Tue Jul 29 12:48:02 2008
@@ -1580,6 +1580,7 @@
 
   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());


Reply via email to