public class OrQuery extends ComposedQuery implements DistanceSubQuery
theEmptyLcnQuery| 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.
|
org.apache.lucene.search.Query |
makeLuceneQueryFieldNoBoost(String fieldName,
BasicQueryFactory qf) |
getBracketClose, getBracketOpen, getNrSubQueries, getOperatorName, getPrefixSeparator, getSubQueriesIterator, getSubQuery, infixToString, isFieldsSubQueryAcceptable, isOperatorInfix, makeLuceneSubQueriesField, prefixToString, recompose, toStringclone, getWeight, getWeightOperator, getWeightString, isWeighted, makeLuceneQueryField, setWeight, weightToStringpublic org.apache.lucene.search.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-2012 Apache Software Foundation. All Rights Reserved.