Class Int32DocValuesField
Field that stores a per-document
document.Add(new Int32DocValuesField(name, 22));
If you also need to store the value, you should add a separate StoredField instance.
NOTE: This was IntDocValuesField in Lucene
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class Int32DocValuesField : NumericDocValuesField, IIndexableField
Constructors
| Improve this Doc View SourceInt32DocValuesField(String, Int32)
Creates a new DocValues field with the specified 32-bit
Declaration
public Int32DocValuesField(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Int32 | value | 32-bit |
Methods
| Improve this Doc View SourceSetInt32Value(Int32)
Declaration
public override void SetInt32Value(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value |