Class SingleDocValuesField
Syntactic sugar for encoding floats as NumericDocValues via SingleToRawInt32Bits(Single).
Per-document floating point values can be retrieved via GetSingles(AtomicReader, String, Boolean).
NOTE: In most all cases this will be rather inefficient, requiring four bytes per document. Consider encoding floating point values yourself with only as much precision as you require.
NOTE: This was FloatDocValuesField in Lucene
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class SingleDocValuesField : NumericDocValuesField, IIndexableField
Constructors
Name | Description |
---|---|
SingleDocValuesField(String, Single) | Creates a new DocValues field with the specified 32-bit |
Methods
Name | Description |
---|---|
SetInt64Value(Int64) | |
SetSingleValue(Single) |