| Package | Description |
|---|---|
| org.apache.lucene.queryParser.standard.builders |
Standard Lucene Query Node Builders
|
| org.apache.lucene.search |
Code to search indices.
|
| Modifier and Type | Method and Description |
|---|---|
NumericRangeQuery<? extends Number> |
NumericRangeQueryNodeBuilder.build(QueryNode queryNode) |
| Modifier and Type | Method and Description |
|---|---|
static NumericRangeQuery<Double> |
NumericRangeQuery.newDoubleRange(String field,
Double min,
Double max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeQuery, that queries a double
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeQuery<Double> |
NumericRangeQuery.newDoubleRange(String field,
int precisionStep,
Double min,
Double max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeQuery, that queries a double
range using the given precisionStep. |
static NumericRangeQuery<Float> |
NumericRangeQuery.newFloatRange(String field,
Float min,
Float max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeQuery, that queries a float
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeQuery<Float> |
NumericRangeQuery.newFloatRange(String field,
int precisionStep,
Float min,
Float max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeQuery<Integer> |
NumericRangeQuery.newIntRange(String field,
Integer min,
Integer max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeQuery, that queries a int
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeQuery<Integer> |
NumericRangeQuery.newIntRange(String field,
int precisionStep,
Integer min,
Integer max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeQuery<Long> |
NumericRangeQuery.newLongRange(String field,
int precisionStep,
Long min,
Long max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeQuery<Long> |
NumericRangeQuery.newLongRange(String field,
Long min,
Long max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeQuery, that queries a long
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |