Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
static NumericRangeFilter<Double> |
NumericRangeFilter.newDoubleRange(String field,
Double min,
Double max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that queries a double
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeFilter<Double> |
NumericRangeFilter.newDoubleRange(String field,
int precisionStep,
Double min,
Double max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that filters a double
range using the given precisionStep . |
static NumericRangeFilter<Float> |
NumericRangeFilter.newFloatRange(String field,
Float min,
Float max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that queries a float
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeFilter<Float> |
NumericRangeFilter.newFloatRange(String field,
int precisionStep,
Float min,
Float max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that filters a float
range using the given precisionStep . |
static NumericRangeFilter<Integer> |
NumericRangeFilter.newIntRange(String field,
Integer min,
Integer max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that queries a int
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
static NumericRangeFilter<Integer> |
NumericRangeFilter.newIntRange(String field,
int precisionStep,
Integer min,
Integer max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeFilter<Long> |
NumericRangeFilter.newLongRange(String field,
int precisionStep,
Long min,
Long max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeFilter<Long> |
NumericRangeFilter.newLongRange(String field,
Long min,
Long max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that queries a long
range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4). |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.