org.apache.lucene.index

Class SortedDocValues

  • Direct Known Subclasses:
    MultiDocValues.MultiSortedDocValues


    public abstract class SortedDocValues
    extends BinaryDocValues
    A per-document byte[] with presorted 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.