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 public class BackCompatSortedNumericDocValues extends SortedNumericDocValues
Deprecated.Only here for back-compat support. Should be removed with Lucene 10.Wraps aBinaryDocValuesinstance, providing aSortedNumericDocValuesinterface 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
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intadvance(int target)Deprecated.booleanadvanceExact(int target)Deprecated.longcost()Deprecated.intdocID()Deprecated.intdocValueCount()Deprecated.intnextDoc()Deprecated.longnextValue()Deprecated.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 Detail
-
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
public boolean advanceExact(int target) throws IOExceptionDeprecated.- Throws:
IOException
-
nextValue
public long nextValue() throws IOExceptionDeprecated.- 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
public int nextDoc() throws IOExceptionDeprecated.- Specified by:
nextDocin classDocIdSetIterator- Throws:
IOException
-
advance
public int advance(int target) throws IOExceptionDeprecated.- Specified by:
advancein classDocIdSetIterator- Throws:
IOException
-
cost
public long cost()
Deprecated.- Specified by:
costin classDocIdSetIterator
-
-