@Deprecated public class TermFilter extends QueryWrapperFilter
| Constructor and Description |
|---|
TermFilter(Term term)
Deprecated.
Create a new TermFilter
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString(String field)
Deprecated.
Prints a query to a string, with
field assumed to be the
default field and omitted. |
equals, getDocIdSet, getQuery, hashCode, rewritepublic TermFilter(Term term)
term - The term documents need to have in order to be a match for this filter.public String toString(String field)
Queryfield assumed to be the
default field and omitted.toString in class QueryWrapperFilterCopyright © 2000-2017 The Apache Software Foundation. All Rights Reserved.