Class SingletonSortedSetDocValues

java.lang.Object
org.apache.lucene.index.SortedSetDocValues
org.apache.lucene.index.SingletonSortedSetDocValues

public class SingletonSortedSetDocValues extends SortedSetDocValues
Exposes multi-valued view over a single-valued instance.

This can be used if you want to have one multi-valued implementation against e.g. FieldCache.getDocTermOrds that also works for single-valued fields.