Class NumericDocValuesField
Field that stores a per-document
document.Add(new NumericDocValuesField(name, 22L));
If you also need to store the value, you should add a
separate Stored
Inheritance
System.Object
NumericDocValuesField
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class NumericDocValuesField : Field, IIndexableField
Constructors
| Improve this Doc View SourceNumericDocValuesField(String, Int64)
Creates a new Doc
Declaration
public NumericDocValuesField(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
System. |
value | 64-bit |
Fields
| Improve this Doc View SourceTYPE
Type for numeric Doc
Declaration
public static readonly FieldType TYPE
Field Value
Type | Description |
---|---|
Field |