Package org.apache.solr.ltr.feature
Class SolrFeature.SolrFeatureWeight.SolrFeatureScorerIterator
- java.lang.Object
-
- org.apache.lucene.search.DocIdSetIterator
-
- org.apache.solr.ltr.feature.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
advance(int target)
long
cost()
int
docID()
int
nextDoc()
-
-
-
Method Detail
-
docID
public int docID()
- Specified by:
docID
in classorg.apache.lucene.search.DocIdSetIterator
-
nextDoc
public int nextDoc() throws IOException
- Specified by:
nextDoc
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
-
advance
public int advance(int target) throws IOException
- Specified by:
advance
in classorg.apache.lucene.search.DocIdSetIterator
- Throws:
IOException
-
cost
public long cost()
- Specified by:
cost
in classorg.apache.lucene.search.DocIdSetIterator
-
-