mirror of https://github.com/apache/lucene.git
FieldValueFitler should expose the field it uses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1211887 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee9c4b2920
commit
f7cd0e2557
|
@ -56,6 +56,22 @@ public class FieldValueFilter extends Filter {
|
|||
this.field = field;
|
||||
this.negate = negate;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the field this filter is applied on.
|
||||
* @return the field this filter is applied on.
|
||||
*/
|
||||
public String field() {
|
||||
return field;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns <code>true</code> iff this filter is negated, otherwise <code>false</code>
|
||||
* @return <code>true</code> iff this filter is negated, otherwise <code>false</code>
|
||||
*/
|
||||
public boolean negate() {
|
||||
return negate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public DocIdSet getDocIdSet(AtomicReaderContext context, Bits acceptDocs)
|
||||
|
|
Loading…
Reference in New Issue