Uses of Interface
org.apache.lucene.search.FieldCache.FloatParser
-
Packages that use FieldCache.FloatParser Package Description org.apache.lucene.search Code to search indices.org.apache.lucene.search.function Programmatic control over documents scores. -
-
Uses of FieldCache.FloatParser in org.apache.lucene.search
Fields in org.apache.lucene.search declared as FieldCache.FloatParser Modifier and Type Field Description static FieldCache.FloatParser
FieldCache. DEFAULT_FLOAT_PARSER
The default parser for float values, which are encoded byFloat.toString(float)
static FieldCache.FloatParser
FieldCache. NUMERIC_UTILS_FLOAT_PARSER
A parser instance for float values encoded withNumericUtils
, e.g.Methods in org.apache.lucene.search with parameters of type FieldCache.FloatParser Modifier and Type Method Description float[]
FieldCache. getFloats(IndexReader reader, String field, FieldCache.FloatParser parser)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms infield
as floats and returns an array of sizereader.maxDoc()
of the value each document has in the given field.float[]
FieldCache. getFloats(IndexReader reader, String field, FieldCache.FloatParser parser, boolean setDocsWithField)
Checks the internal cache for an appropriate entry, and if none is found, reads the terms infield
as floats and returns an array of sizereader.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 usingFieldCache.getFloats(IndexReader,String,FieldCache.FloatParser)
. -
Uses of FieldCache.FloatParser in org.apache.lucene.search.function
Constructors in org.apache.lucene.search.function with parameters of type FieldCache.FloatParser Constructor Description FloatFieldSource(String field, FieldCache.FloatParser parser)
Create a cached float field source with a specific string-to-float parser.
-