org.apache.lucene.search.function
public class FloatFieldSource extends FieldCacheSource
FieldCache
using getFloats()
and makes those values
available as other numeric types, casting as needed.
WARNING: The status of the search.function package is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a case.
See Also: for requirements
on the field.
Constructor Summary | |
---|---|
FloatFieldSource(String field)
Create a cached float field source with default string-to-float parser. | |
FloatFieldSource(String field, FieldCache.FloatParser parser)
Create a cached float field source with a specific string-to-float parser. |
Method Summary | |
---|---|
boolean | cachedFieldSourceEquals(FieldCacheSource o) |
int | cachedFieldSourceHashCode() |
String | description() |
DocValues | getCachedFieldValues(FieldCache cache, String field, IndexReader reader) |