Class Int16DocValuesField
Field that stores a per-document
document.Add(new Int16DocValuesField(name, (short) 22));
If you also need to store the value, you should add a separate StoredField instance.
NOTE: This was ShortDocValuesField in Lucene
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class Int16DocValuesField : NumericDocValuesField, IIndexableField
Constructors
Name | Description |
---|---|
Int16DocValuesField(String, Int16) | Creates a new DocValues field with the specified 16-bit |
Methods
Name | Description |
---|---|
SetInt16Value(Int16) |