add getter for Query

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-06-18 09:52:25 +00:00
parent fd370a1677
commit 5d4bddceef
1 changed files with 4 additions and 0 deletions

View File

@ -112,6 +112,10 @@ extends Query {
}
}
public Query getQuery() {
return query;
}
/** Prints a user-readable version of this query. */
public String toString (String s) {
return "filtered("+query.toString(s)+")->"+filter;