public class OrQuery extends ComposedQuery implements DistanceSubQuery
theEmptyLcnQuery| Constructor and Description |
|---|
OrQuery(java.util.List 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.
|
org.apache.lucene.search.Query |
makeLuceneQueryFieldNoBoost(java.lang.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 OrQuery(java.util.List queries,
boolean infix,
java.lang.String opName)
public org.apache.lucene.search.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-2016 Apache Software Foundation. All Rights Reserved.