Class Int64DocValuesField
Field that stores a per-document
document.Add(new Int64DocValuesField(name, 22L));
If you also need to store the value, you should add a separate StoredField instance.
NOTE: This was LongDocValuesField in Lucene
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class Int64DocValuesField : NumericDocValuesField, IIndexableField
Constructors
| Improve this Doc View SourceInt64DocValuesField(String, Int64)
Creates a new DocValues field with the specified 64-bit
Declaration
public Int64DocValuesField(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Int64 | value | 64-bit |