public class OrQuery extends ComposedQuery implements DistanceSubQuery
opName, queries
Constructor and Description |
---|
OrQuery(java.util.List<SrndQuery> queries,
boolean infix,
java.lang.String opName) |
Modifier and Type | Method and Description |
---|---|
void |
addSpanQueries(SpanNearClauseFactory sncf) |
java.lang.String |
distanceSubQueryNotAllowed()
When distanceSubQueryNotAllowed() returns non null, the reason why the subquery
is not allowed as a distance subquery is returned.
|
Query |
makeLuceneQueryFieldNoBoost(java.lang.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 OrQuery(java.util.List<SrndQuery> queries, boolean infix, java.lang.String opName)
public Query makeLuceneQueryFieldNoBoost(java.lang.String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost
in class SrndQuery
public java.lang.String distanceSubQueryNotAllowed()
DistanceSubQuery
distanceSubQueryNotAllowed
in interface DistanceSubQuery
public void addSpanQueries(SpanNearClauseFactory sncf) throws java.io.IOException
addSpanQueries
in interface DistanceSubQuery
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.