Class SortedSetDocValues
A per-document set of presorted byte[] values.
Per-Document values in a SortedDocValues are deduplicated, dereferenced, and sorted into a dictionary of unique values. A pointer to the dictionary value (ordinal) can be retrieved for each document. Ordinals are dense and in increasing sorted order.
Inheritance
Assembly: DistributedLucene.Net.dll
Syntax
public abstract class SortedSetDocValues : object
Constructors
Name | Description |
---|---|
SortedSetDocValues() | Sole constructor. (For invocation by subclass constructors, typically implicit.) |
Fields
Name | Description |
---|---|
NO_MORE_ORDS | When returned by NextOrd() it means there are no more ordinals for the document. |
Properties
Name | Description |
---|---|
ValueCount | Returns the number of unique values. |
Methods
Name | Description |
---|---|
GetTermsEnum() | Returns a TermsEnum over the values. The enum supports Ord and SeekExact(Int64). |
LookupOrd(Int64, BytesRef) | Retrieves the value for the specified ordinal. |
LookupTerm(BytesRef) | If |
NextOrd() | Returns the next ordinal for the current document (previously set by SetDocument(Int32). |
SetDocument(Int32) | Sets iteration to the specified docID |