Class DoubleDocValuesField
Syntactic sugar for encoding doubles as NumericDocValues via DoubleToRawInt64Bits(Double).
Per-document double values can be retrieved via GetDoubles(AtomicReader, String, Boolean).
NOTE: In most all cases this will be rather inefficient, requiring eight bytes per document. Consider encoding double values yourself with only as much precision as you require.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class DoubleDocValuesField : NumericDocValuesField, IIndexableField
Constructors
Name | Description |
---|---|
DoubleDocValuesField(String, Double) | Creates a new DocValues field with the specified 64-bit double value |
Methods
Name | Description |
---|---|
SetDoubleValue(Double) | |
SetInt64Value(Int64) |