public class FloatRangeDocValuesField extends BinaryRangeDocValuesField
Field.Store
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
field |
(package private) float[] |
max |
(package private) float[] |
min |
numBytesPerDimension, numDims, packedValue
TYPE
fieldsData, name, tokenStream, type
Constructor and Description |
---|
FloatRangeDocValuesField(java.lang.String field,
float[] min,
float[] max)
Sole constructor.
|
Modifier and Type | Method and Description |
---|---|
private static void |
checkArgs(float[] min,
float[] max)
validate the arguments
|
float |
getMax(int dimension)
Get the maximum value for the given dimension.
|
float |
getMin(int dimension)
Get the minimum value for the given dimension.
|
static Query |
newSlowIntersectsQuery(java.lang.String field,
float[] min,
float[] max)
Create a new range query that finds all ranges that intersect using doc values.
|
private static Query |
newSlowRangeQuery(java.lang.String field,
float[] min,
float[] max,
RangeFieldQuery.QueryType queryType) |
binaryValue, fieldType, getCharSequenceValue, name, numericValue, readerValue, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toString
public FloatRangeDocValuesField(java.lang.String field, float[] min, float[] max)
public float getMin(int dimension)
public float getMax(int dimension)
private static Query newSlowRangeQuery(java.lang.String field, float[] min, float[] max, RangeFieldQuery.QueryType queryType)
public static Query newSlowIntersectsQuery(java.lang.String field, float[] min, float[] max)
private static void checkArgs(float[] min, float[] max)