public interface BooleanQuery extends Query
BOOST_DEFAULT
Modifier and Type | Method and Description |
---|---|
Query |
add(Query query,
BooleanClauseOccur booleanClauseOccur) |
Query |
add(Query query,
String occur) |
Query |
addExactTerm(String field,
boolean value) |
Query |
addExactTerm(String field,
Boolean value) |
Query |
addExactTerm(String field,
double value) |
Query |
addExactTerm(String field,
Double value) |
Query |
addExactTerm(String field,
int value) |
Query |
addExactTerm(String field,
Integer value) |
Query |
addExactTerm(String field,
long value) |
Query |
addExactTerm(String field,
Long value) |
Query |
addExactTerm(String field,
short value) |
Query |
addExactTerm(String field,
Short value) |
Query |
addExactTerm(String field,
String value) |
Collection<Query> |
addNumericRangeTerm(String field,
Integer startValue,
Integer endValue) |
Collection<Query> |
addNumericRangeTerm(String field,
int startValue,
int endValue) |
Collection<Query> |
addNumericRangeTerm(String field,
long startValue,
long endValue) |
Collection<Query> |
addNumericRangeTerm(String field,
Long startValue,
Long endValue) |
Collection<Query> |
addNumericRangeTerm(String field,
short startValue,
short endValue) |
Collection<Query> |
addNumericRangeTerm(String field,
Short startValue,
Short endValue) |
Query |
addRangeTerm(String field,
Integer startValue,
Integer endValue) |
Query |
addRangeTerm(String field,
int startValue,
int endValue) |
Query |
addRangeTerm(String field,
long startValue,
long endValue) |
Query |
addRangeTerm(String field,
Long startValue,
Long endValue) |
Query |
addRangeTerm(String field,
short startValue,
short endValue) |
Query |
addRangeTerm(String field,
Short startValue,
Short endValue) |
Query |
addRangeTerm(String field,
String startValue,
String endValue) |
Query |
addRequiredTerm(String field,
boolean value) |
Query |
addRequiredTerm(String field,
Boolean value) |
Query |
addRequiredTerm(String field,
double value) |
Query |
addRequiredTerm(String field,
Double value) |
Query |
addRequiredTerm(String field,
int value) |
Query |
addRequiredTerm(String field,
Integer value) |
Query |
addRequiredTerm(String field,
long value) |
Query |
addRequiredTerm(String field,
Long value) |
Query |
addRequiredTerm(String field,
short value) |
Query |
addRequiredTerm(String field,
Short value) |
Query |
addRequiredTerm(String field,
String value) |
Query |
addRequiredTerm(String field,
String value,
boolean like) |
Query |
addTerm(String field,
long value) |
Query |
addTerm(String field,
String value) |
Query |
addTerm(String field,
String value,
boolean like) |
Query |
addTerm(String field,
String value,
boolean like,
BooleanClauseOccur booleanClauseOccur) |
Map<String,Query> |
addTerms(String[] fields,
String values) |
Map<String,Query> |
addTerms(String[] fields,
String value,
boolean like) |
List<BooleanClause<Query>> |
clauses() |
boolean |
hasClauses() |
accept, getBoost, getPostFilter, getPreBooleanFilter, getQueryConfig, getWrappedQuery, hasChildren, isDefaultBoost, setBoost, setPostFilter, setPreBooleanFilter, setQueryConfig
Query add(Query query, BooleanClauseOccur booleanClauseOccur) throws ParseException
ParseException
Query add(Query query, String occur) throws ParseException
ParseException
Query addExactTerm(String field, boolean value)
Query addExactTerm(String field, Boolean value)
Query addExactTerm(String field, double value)
Query addExactTerm(String field, Double value)
Query addExactTerm(String field, int value)
Query addExactTerm(String field, Integer value)
Query addExactTerm(String field, long value)
Query addExactTerm(String field, Long value)
Query addExactTerm(String field, short value)
Query addExactTerm(String field, Short value)
Query addExactTerm(String field, String value)
Collection<Query> addNumericRangeTerm(String field, int startValue, int endValue)
Collection<Query> addNumericRangeTerm(String field, Integer startValue, Integer endValue)
Collection<Query> addNumericRangeTerm(String field, long startValue, long endValue)
Collection<Query> addNumericRangeTerm(String field, Long startValue, Long endValue)
Collection<Query> addNumericRangeTerm(String field, short startValue, short endValue)
Collection<Query> addNumericRangeTerm(String field, Short startValue, Short endValue)
Query addRangeTerm(String field, int startValue, int endValue)
Query addRangeTerm(String field, Integer startValue, Integer endValue)
Query addRangeTerm(String field, long startValue, long endValue)
Query addRangeTerm(String field, Long startValue, Long endValue)
Query addRangeTerm(String field, short startValue, short endValue)
Query addRangeTerm(String field, Short startValue, Short endValue)
Query addRangeTerm(String field, String startValue, String endValue)
Query addRequiredTerm(String field, boolean value)
Query addRequiredTerm(String field, Boolean value)
Query addRequiredTerm(String field, double value)
Query addRequiredTerm(String field, Double value)
Query addRequiredTerm(String field, int value)
Query addRequiredTerm(String field, Integer value)
Query addRequiredTerm(String field, long value)
Query addRequiredTerm(String field, Long value)
Query addRequiredTerm(String field, short value)
Query addRequiredTerm(String field, Short value)
Query addRequiredTerm(String field, String value)
Query addRequiredTerm(String field, String value, boolean like)
Query addTerm(String field, long value) throws ParseException
ParseException
Query addTerm(String field, String value) throws ParseException
ParseException
Query addTerm(String field, String value, boolean like) throws ParseException
ParseException
Query addTerm(String field, String value, boolean like, BooleanClauseOccur booleanClauseOccur) throws ParseException
ParseException
Map<String,Query> addTerms(String[] fields, String values) throws ParseException
ParseException
Map<String,Query> addTerms(String[] fields, String value, boolean like) throws ParseException
ParseException
List<BooleanClause<Query>> clauses()
boolean hasClauses()