Class PackedInt64DocValuesField
Field that stores a per-document long value for scoring, sorting or value retrieval. Here's an example usage:
document.Add(new PackedInt64DocValuesField(name, 22L));
If you also need to store the value, you should add a separate StoredField instance.
NOTE: This was PackedLongDocValuesField in Lucene
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Use NumericDocValuesField instead.")]
public class PackedInt64DocValuesField : NumericDocValuesField, IIndexableField, IFormattable
Constructors
PackedInt64DocValuesField(string, long)
Declaration
public PackedInt64DocValuesField(string name, long value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | field name |
| long | value | 64-bit long value |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | if the field |