Class QueryComponent.ScoreAndDoc
- java.lang.Object
-
- org.apache.lucene.search.Scorable
-
- org.apache.solr.handler.component.QueryComponent.ScoreAndDoc
-
- Enclosing class:
- QueryComponent
protected static class QueryComponent.ScoreAndDoc extends org.apache.lucene.search.Scorable
Fake scorer for a single documentTODO: when SOLR-5595 is fixed, this wont be needed, as we dont need to recompute sort values here from the comparator
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
docID()
float
score()
-
-
-
Method Detail
-
docID
public int docID()
- Specified by:
docID
in classorg.apache.lucene.search.Scorable
-
score
public float score() throws IOException
- Specified by:
score
in classorg.apache.lucene.search.Scorable
- Throws:
IOException
-
-