Package org.apache.lucene.facet.taxonomy
Class BackCompatSortedNumericDocValues
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.SortedNumericDocValues
org.apache.lucene.facet.taxonomy.BackCompatSortedNumericDocValues
Deprecated.
Only here for back-compat support. Should be removed with Lucene 10.
Wraps a
BinaryDocValues instance, providing a SortedNumericDocValues interface
for the purpose of being backwards-compatible. (see: LUCENE-10062)-
Field Summary
Fields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Method Summary
Modifier and TypeMethodDescriptionintadvance(int target) Deprecated.booleanadvanceExact(int target) Deprecated.longcost()Deprecated.intdocID()Deprecated.intDeprecated.intnextDoc()Deprecated.longDeprecated.static SortedNumericDocValueswrap(BinaryDocValues binaryDocValues, BiConsumer<BytesRef, IntsRef> binaryValueDecoder) Deprecated.Wrap the provided binary encoded doc values.Methods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, range, slowAdvance
-
Method Details
-
wrap
public static SortedNumericDocValues wrap(BinaryDocValues binaryDocValues, BiConsumer<BytesRef, IntsRef> binaryValueDecoder) Deprecated.Wrap the provided binary encoded doc values. Decodes the binary values with the providedbinaryValueDecoder, allowing the default decoding behavior to be overridden. If a null doc values instance is provided, the returned instance will also be null. If a null value decoder is specified, the default encoding will be assumed. -
advanceExact
Deprecated.- Throws:
IOException
-
nextValue
Deprecated.- Specified by:
nextValuein classSortedNumericDocValues- Throws:
IOException
-
docValueCount
public int docValueCount()Deprecated.- Specified by:
docValueCountin classSortedNumericDocValues
-
docID
public int docID()Deprecated.- Specified by:
docIDin classDocIdSetIterator
-
nextDoc
Deprecated.- Specified by:
nextDocin classDocIdSetIterator- Throws:
IOException
-
advance
Deprecated.- Specified by:
advancein classDocIdSetIterator- Throws:
IOException
-
cost
public long cost()Deprecated.- Specified by:
costin classDocIdSetIterator
-