Class FieldCache.Doubles
Field values as 64-bit doubles
Inherited Members
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public class FieldCache.Doubles
Constructors
Doubles()
Initialize an instance of FieldCache.Doubles.
Declaration
protected Doubles()
Doubles(Func<int, double>)
Initialize an instance of FieldCache.Doubles with the specified
get
delegate method.
Declaration
public Doubles(Func<int, double> get)
Parameters
Type | Name | Description |
---|---|---|
Func<int, double> | get | A Func<T, TResult> that implements the Get(int) method body. |
Fields
EMPTY
Zero value for every document
Declaration
public static readonly FieldCache.Doubles EMPTY
Field Value
Type | Description |
---|---|
FieldCache.Doubles |
Methods
Get(int)
Return a double representation of this field's value.
Declaration
public virtual double Get(int docID)
Parameters
Type | Name | Description |
---|---|---|
int | docID |
Returns
Type | Description |
---|---|
double |