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, toStringclone, equals, getWeight, getWeightOperator, getWeightString, hashCode, isWeighted, makeLuceneQueryField, setWeight, weightToStringpublic OrQuery(java.util.List<SrndQuery> queries, boolean infix, java.lang.String opName)
public Query makeLuceneQueryFieldNoBoost(java.lang.String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost in class SrndQuerypublic java.lang.String distanceSubQueryNotAllowed()
DistanceSubQuerydistanceSubQueryNotAllowed in interface DistanceSubQuerypublic void addSpanQueries(SpanNearClauseFactory sncf) throws java.io.IOException
addSpanQueries in interface DistanceSubQueryjava.io.IOExceptionCopyright © 2000–2025 The Apache Software Foundation. All rights reserved.