add IndexSearcher.toString()

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1091499 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2011-04-12 17:08:16 +00:00
parent 35d1d369f5
commit b559afee35
1 changed files with 5 additions and 0 deletions

View File

@ -857,4 +857,9 @@ public class IndexSearcher {
this.leaves = leaves;
}
}
@Override
public String toString() {
return "IndexSearcher(" + reader + ")";
}
}