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