@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, rewrite
public TermFilter(Term term)
term
- The term documents need to have in order to be a match for this filter.public String toString(String field)
Query
field
assumed to be the
default field and omitted.toString
in class QueryWrapperFilter
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.