Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Method and Description |
---|---|
static NumericRangeFilter |
NumericRangeFilter.newDoubleRange(java.lang.String field,
java.lang.Double min,
java.lang.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 |
NumericRangeFilter.newDoubleRange(java.lang.String field,
int precisionStep,
java.lang.Double min,
java.lang.Double max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that filters a double
range using the given precisionStep . |
static NumericRangeFilter |
NumericRangeFilter.newFloatRange(java.lang.String field,
java.lang.Float min,
java.lang.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 |
NumericRangeFilter.newFloatRange(java.lang.String field,
int precisionStep,
java.lang.Float min,
java.lang.Float max,
boolean minInclusive,
boolean maxInclusive)
Factory that creates a
NumericRangeFilter , that filters a float
range using the given precisionStep . |
static NumericRangeFilter |
NumericRangeFilter.newIntRange(java.lang.String field,
java.lang.Integer min,
java.lang.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 |
NumericRangeFilter.newIntRange(java.lang.String field,
int precisionStep,
java.lang.Integer min,
java.lang.Integer max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeFilter |
NumericRangeFilter.newLongRange(java.lang.String field,
int precisionStep,
java.lang.Long min,
java.lang.Long max,
boolean minInclusive,
boolean maxInclusive)
|
static NumericRangeFilter |
NumericRangeFilter.newLongRange(java.lang.String field,
java.lang.Long min,
java.lang.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-2014 Apache Software Foundation. All Rights Reserved.