lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r1091499 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java
Date Tue, 12 Apr 2011 17:08:16 GMT
Author: mikemccand
Date: Tue Apr 12 17:08:16 2011
New Revision: 1091499

URL: http://svn.apache.org/viewvc?rev=1091499&view=rev
Log:
add IndexSearcher.toString()

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java?rev=1091499&r1=1091498&r2=1091499&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/search/IndexSearcher.java Tue Apr 12
17:08:16 2011
@@ -857,4 +857,9 @@ public class IndexSearcher {
       this.leaves = leaves;
     }
   }
+
+  @Override
+  public String toString() {
+    return "IndexSearcher(" + reader + ")";
+  }
 }



Mime
View raw message