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