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 TypeMethodDescriptionint
advance
(int target) Deprecated.boolean
advanceExact
(int target) Deprecated.long
cost()
Deprecated.int
docID()
Deprecated.int
Deprecated.int
nextDoc()
Deprecated.long
Deprecated.static SortedNumericDocValues
wrap
(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:
nextValue
in classSortedNumericDocValues
- Throws:
IOException
-
docValueCount
public int docValueCount()Deprecated.- Specified by:
docValueCount
in classSortedNumericDocValues
-
docID
public int docID()Deprecated.- Specified by:
docID
in classDocIdSetIterator
-
nextDoc
Deprecated.- Specified by:
nextDoc
in classDocIdSetIterator
- Throws:
IOException
-
advance
Deprecated.- Specified by:
advance
in classDocIdSetIterator
- Throws:
IOException
-
cost
public long cost()Deprecated.- Specified by:
cost
in classDocIdSetIterator
-