PrefixQuery
and BooleanClause.Occur.FILTER
clauses instead.@Deprecated public class PrefixFilter extends MultiTermQueryWrapperFilter<PrefixQuery>
query
Constructor and Description |
---|
PrefixFilter(Term prefix)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Term |
getPrefix()
Deprecated.
|
String |
toString(String field)
Deprecated.
Prints a user-readable version of this filter.
|
equals, getDocIdSet, getField, hashCode
createWeight
public PrefixFilter(Term prefix)
public Term getPrefix()
public String toString(String field)
toString
in class MultiTermQueryWrapperFilter<PrefixQuery>
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.