Class SolrFeature.SolrFeatureWeight.SolrFeatureScorerIterator

  • Enclosing class:
    SolrFeature.SolrFeatureWeight

    public class SolrFeature.SolrFeatureWeight.SolrFeatureScorerIterator
    extends org.apache.lucene.search.DocIdSetIterator
    An iterator that allows to iterate only on the documents for which a feature has a value.
    • Method Detail

      • docID

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

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

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

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