Class QueryComponent.ScoreAndDoc

  • Enclosing class:
    QueryComponent

    protected static class QueryComponent.ScoreAndDoc
    extends org.apache.lucene.search.Scorable
    Fake scorer for a single document TODO: when SOLR-5595 is fixed, this wont be needed, as we dont need to recompute sort values here from the comparator
    • Method Detail

      • docID

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

        public float score()
                    throws IOException
        Specified by:
        score in class org.apache.lucene.search.Scorable
        Throws:
        IOException