Class PackedInt64DocValuesField
Field that stores a per-document System.Int64 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
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
[Obsolete("Use NumericDocValuesField instead.")]
public class PackedInt64DocValuesField : NumericDocValuesField, IIndexableField
Constructors
| Improve this Doc View SourcePackedInt64DocValuesField(String, Int64)
Creates a new DocValues field with the specified System.Int64 value
Declaration
public PackedInt64DocValuesField(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Int64 | value | 64-bit System.Int64 value |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | if the field |