public class OrQuery extends ComposedQuery implements DistanceSubQuery
opName, queries
Constructor and Description |
---|
OrQuery(List<SrndQuery> queries,
boolean infix,
String opName) |
Modifier and Type | Method and Description |
---|---|
void |
addSpanQueries(SpanNearClauseFactory sncf) |
String |
distanceSubQueryNotAllowed()
When distanceSubQueryNotAllowed() returns non null, the reason why the subquery
is not allowed as a distance subquery is returned.
|
Query |
makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf) |
getBracketClose, getBracketOpen, getNrSubQueries, getOperatorName, getPrefixSeparator, getSubQueriesIterator, getSubQuery, infixToString, isFieldsSubQueryAcceptable, isOperatorInfix, makeLuceneSubQueriesField, prefixToString, recompose, toString
clone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isWeighted, makeLuceneQueryField, setWeight, weightToString
public Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost
in class SrndQuery
public String distanceSubQueryNotAllowed()
DistanceSubQuery
distanceSubQueryNotAllowed
in interface DistanceSubQuery
public void addSpanQueries(SpanNearClauseFactory sncf) throws IOException
addSpanQueries
in interface DistanceSubQuery
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.