Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
Modifier and Type | Field and Description |
---|---|
static FieldCache.FloatParser |
FieldCache.DEFAULT_FLOAT_PARSER
The default parser for float values, which are encoded by
Float.toString(float) |
static FieldCache.FloatParser |
FieldCache.NUMERIC_UTILS_FLOAT_PARSER
A parser instance for float values encoded with
NumericUtils , e.g. |
Modifier and Type | Method and Description |
---|---|
float[] |
FieldCache.getFloats(AtomicReader reader,
String field,
FieldCache.FloatParser parser,
boolean setDocsWithField)
Checks the internal cache for an appropriate entry, and if
none is found, reads the terms in
field as floats and returns an array
of size reader.maxDoc() of the value each document
has in the given field. |
static FieldCacheRangeFilter<Float> |
FieldCacheRangeFilter.newFloatRange(String field,
FieldCache.FloatParser parser,
Float lowerVal,
Float upperVal,
boolean includeLower,
boolean includeUpper)
Creates a numeric range filter using
FieldCache.getFloats(AtomicReader,String,FieldCache.FloatParser,boolean) . |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.