mirror of https://github.com/apache/lucene.git
add getFilter(), LUCENE-440
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@331113 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9cee714143
commit
fd81a02f17
|
@ -55,6 +55,8 @@ extends Query {
|
||||||
this.filter = filter;
|
this.filter = filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a Weight that applies the filter to the enclosed query's Weight.
|
* Returns a Weight that applies the filter to the enclosed query's Weight.
|
||||||
* This is accomplished by overriding the Scorer returned by the Weight.
|
* This is accomplished by overriding the Scorer returned by the Weight.
|
||||||
|
@ -120,6 +122,10 @@ extends Query {
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Filter getFilter() {
|
||||||
|
return filter;
|
||||||
|
}
|
||||||
|
|
||||||
// inherit javadoc
|
// inherit javadoc
|
||||||
public void extractTerms(Set terms) {
|
public void extractTerms(Set terms) {
|
||||||
getQuery().extractTerms(terms);
|
getQuery().extractTerms(terms);
|
||||||
|
|
Loading…
Reference in New Issue