Cloneable, DistanceSubQuerypublic class OrQuery extends ComposedQuery implements DistanceSubQuery
theEmptyLcnQuery| Constructor | Description |
|---|---|
OrQuery(List<SrndQuery> queries,
boolean infix,
String opName) |
| Modifier and Type | Method | 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, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getWeight, getWeightOperator, getWeightString, isWeighted, makeLuceneQueryField, setWeight, weightToStringpublic Query makeLuceneQueryFieldNoBoost(String fieldName, BasicQueryFactory qf)
makeLuceneQueryFieldNoBoost in class SrndQuerypublic String distanceSubQueryNotAllowed()
DistanceSubQuerydistanceSubQueryNotAllowed in interface DistanceSubQuerypublic void addSpanQueries(SpanNearClauseFactory sncf) throws IOException
addSpanQueries in interface DistanceSubQueryIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.