mirror of https://github.com/apache/lucene.git
add getFilter to ConstantScoreQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507374 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee12ced8e7
commit
070ed839b2
|
@ -37,6 +37,11 @@ public class ConstantScoreQuery extends Query {
|
||||||
this.filter=filter;
|
this.filter=filter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Returns the encapsulated filter */
|
||||||
|
public Filter getFilter() {
|
||||||
|
return filter;
|
||||||
|
}
|
||||||
|
|
||||||
public Query rewrite(IndexReader reader) throws IOException {
|
public Query rewrite(IndexReader reader) throws IOException {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue