Package | Description |
---|---|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.function |
Programmatic control over documents scores.
|
Modifier and Type | Method and Description |
---|---|
float[] |
FieldCache.getFloats(IndexReader reader,
java.lang.String field,
FieldCache.FloatParser parser)
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. |
Constructor and Description |
---|
FloatFieldSource(java.lang.String field,
FieldCache.FloatParser parser)
Create a cached float field source with a specific string-to-float parser.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.