Class RangeQuery
- java.lang.Object
-
- com.lucidworks.search.dsl.DslBase
-
- com.lucidworks.search.dsl.request.DslCloneable
-
- com.lucidworks.search.dsl.request.query.Query
-
- com.lucidworks.search.dsl.request.query.AbstractLeafQuery
-
- com.lucidworks.search.dsl.request.query.RangeQuery
-
public class RangeQuery extends AbstractLeafQuery
A query that matches on range of values
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Constructor Summary
Constructors Constructor Description RangeQuery(java.lang.String field, java.lang.String lower, java.lang.String upper, java.lang.Boolean lowerInclusive, java.lang.Boolean upperInclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RangeQuery
clone()
java.lang.String
getField()
java.lang.String
getLower()
java.lang.String
getUpper()
boolean
isLowerInclusive()
boolean
isUpperInclusive()
-
Methods inherited from class com.lucidworks.search.dsl.request.query.AbstractLeafQuery
getChildQueries, isEmptyQuery, removeChildQuery, replaceChildQuery
-
Methods inherited from class com.lucidworks.search.dsl.request.DslCloneable
clone, deepClone
-
-
-
-
Field Detail
-
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLower
public java.lang.String getLower()
- Returns:
- a range lower bound
-
getUpper
public java.lang.String getUpper()
- Returns:
- a range upper bound
-
isLowerInclusive
public boolean isLowerInclusive()
- Returns:
- a flag that indicates that documents with a value matching lower bound should be included
-
isUpperInclusive
public boolean isUpperInclusive()
- Returns:
- a flag that indicates that documents with a value matching upper bound should be included
-
getField
public java.lang.String getField()
-
clone
public RangeQuery clone()
-
-