public abstract class SimpleTerm extends SrndQuery implements DistanceSubQuery, Comparable<SimpleTerm>
Modifier and Type | Class and Description |
---|---|
static interface |
SimpleTerm.MatchingTermVisitor |
theEmptyLcnQuery
Constructor and Description |
---|
SimpleTerm(boolean q) |
Modifier and Type | Method and Description |
---|---|
void |
addSpanQueries(SpanNearClauseFactory sncf) |
int |
compareTo(SimpleTerm ost) |
String |
distanceSubQueryNotAllowed()
When distanceSubQueryNotAllowed() returns non null, the reason why the subquery
is not allowed as a distance subquery is returned.
|
String |
getFieldOperator() |
String |
getQuote() |
Query |
makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf) |
protected void |
suffixToString(StringBuilder r) |
String |
toString() |
abstract String |
toStringUnquoted() |
abstract void |
visitMatchingTerms(IndexReader reader,
String fieldName,
SimpleTerm.MatchingTermVisitor mtv) |
clone, getWeight, getWeightOperator, getWeightString, isFieldsSubQueryAcceptable, isWeighted, makeLuceneQueryField, setWeight, weightToString
public String getQuote()
public String getFieldOperator()
public abstract String toStringUnquoted()
public int compareTo(SimpleTerm ost)
compareTo
in interface Comparable<SimpleTerm>
protected void suffixToString(StringBuilder r)
public abstract void visitMatchingTerms(IndexReader reader, String fieldName, SimpleTerm.MatchingTermVisitor mtv) throws IOException
IOException
public String distanceSubQueryNotAllowed()
DistanceSubQuery
distanceSubQueryNotAllowed
in interface DistanceSubQuery
public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost
in class SrndQuery
public void addSpanQueries(SpanNearClauseFactory sncf) throws IOException
addSpanQueries
in interface DistanceSubQuery
IOException