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