Class AbstractSortedDocValues

org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.BinaryDocValues
org.apache.lucene.index.SortedDocValues
org.elasticsearch.index.fielddata.AbstractSortedDocValues

public abstract class AbstractSortedDocValues extends org.apache.lucene.index.SortedDocValues
Base implementation that throws an for the DocIdSetIterator APIs. This impl is safe to use for sorting and aggregations, which only use advanceExact(int) and SortedDocValues.ordValue().
  • Field Summary

    Fields inherited from class org.apache.lucene.search.DocIdSetIterator

    NO_MORE_DOCS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    advance​(int target)
     
    abstract boolean
    advanceExact​(int arg0)
     
    long
     
    int
     

    Methods inherited from class org.apache.lucene.index.SortedDocValues

    binaryValue, getValueCount, intersect, lookupOrd, lookupTerm, ordValue, termsEnum

    Methods inherited from class org.apache.lucene.search.DocIdSetIterator

    all, docID, empty, range, slowAdvance

    Methods inherited from class java.lang.

    , , , , , , , , , ,
  • Constructor Details

    • AbstractSortedDocValues

      public AbstractSortedDocValues()
  • Method Details

    • nextDoc

      public int nextDoc() throws
      Specified by:
      nextDoc in class org.apache.lucene.search.DocIdSetIterator
      Throws:
    • advance

      public int advance(int target) throws
      Specified by:
      advance in class org.apache.lucene.search.DocIdSetIterator
      Throws:
    • cost

      public long cost()
      Specified by:
      cost in class org.apache.lucene.search.DocIdSetIterator
    • advanceExact

      public abstract boolean advanceExact(int arg0) throws
      Throws: