## Uses of Class
org.apache.lucene.index.SortedSetDocValues

- Packages that use SortedSetDocValues
  Package | Description
  --- | ---
  org.apache.lucene.codecs | Codecs API: API for customization of the encoding and structure of the index.
  org.apache.lucene.index | Code to maintain and access indices.
  org.apache.lucene.search | Code to search indices.

- - ### Uses of SortedSetDocValues in org.apache.lucene.codecs

    Methods in org.apache.lucene.codecs that return SortedSetDocValues
    Modifier and Type | Method and Description
    --- | ---
    `abstract SortedSetDocValues` | DocValuesProducer.`getSortedSet(FieldInfo field)` Returns `SortedSetDocValues` for this field.

    Method parameters in org.apache.lucene.codecs with type arguments of type SortedSetDocValues
    Modifier and Type | Method and Description
    --- | ---
    `void` | DocValuesConsumer.`mergeSortedSetField(FieldInfo fieldInfo, MergeState mergeState, List<SortedSetDocValues> toMerge)` Merges the sortedset docvalues from `toMerge`.

  - ### Uses of SortedSetDocValues in org.apache.lucene.index

    Subclasses of SortedSetDocValues in org.apache.lucene.index
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `MultiDocValues.MultiSortedSetDocValues` Implements MultiSortedSetDocValues over n subs, using an OrdinalMap
    `class` | `RandomAccessOrds` Extension of `SortedSetDocValues` that supports random access to the ordinals of a document.

    Fields in org.apache.lucene.index declared as SortedSetDocValues
    Modifier and Type | Field and Description
    --- | ---
    `SortedSetDocValues[]` | MultiDocValues.MultiSortedSetDocValues.`values` leaf values

    Methods in org.apache.lucene.index that return SortedSetDocValues
    Modifier and Type | Method and Description
    --- | ---
    `static SortedSetDocValues` | DocValues.`getSortedSet(LeafReader reader, String field)` Returns SortedSetDocValues for the field, or `DocValues.emptySortedSet()` if it has none.
    `SortedSetDocValues` | ParallelLeafReader.`getSortedSetDocValues(String field)`
    `SortedSetDocValues` | FilterLeafReader.`getSortedSetDocValues(String field)`
    `abstract SortedSetDocValues` | LeafReader.`getSortedSetDocValues(String field)` Returns `SortedSetDocValues` for this field, or null if no `SortedSetDocValues` were indexed for this field.
    `SortedSetDocValues` | CodecReader.`getSortedSetDocValues(String field)`
    `static SortedSetDocValues` | MultiDocValues.`getSortedSetValues(IndexReader r, String field)` Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things).

    Methods in org.apache.lucene.index with parameters of type SortedSetDocValues
    Modifier and Type | Method and Description
    --- | ---
    `static MultiDocValues.OrdinalMap` | MultiDocValues.OrdinalMap.`build(Object owner, SortedSetDocValues[] values, float acceptableOverheadRatio)` Create an ordinal map that uses the number of unique values of each `SortedSetDocValues` instance as a weight.
    `static Bits` | DocValues.`docsWithValue(SortedSetDocValues dv, int maxDoc)` Returns a Bits representing all documents from `dv` that have a value.
    `static SortedDocValues` | DocValues.`unwrapSingleton(SortedSetDocValues dv)` Returns a single-valued view of the SortedSetDocValues, if it was previously wrapped with `DocValues.singleton(SortedDocValues)`, or null.

    Constructors in org.apache.lucene.index with parameters of type SortedSetDocValues
    Constructor and Description
    `MultiSortedSetDocValues(SortedSetDocValues[] values, int[] docStarts, MultiDocValues.OrdinalMap mapping)` Creates a new MultiSortedSetDocValues over `values`

  - ### Uses of SortedSetDocValues in org.apache.lucene.search

    Methods in org.apache.lucene.search with parameters of type SortedSetDocValues
    Modifier and Type | Method and Description
    --- | ---
    `static SortedDocValues` | SortedSetSelector.`wrap(SortedSetDocValues sortedSet, SortedSetSelector.Type selector)` Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.