Class QueryCommandResult


  • public class QueryCommandResult
    extends Object
    Encapsulates TopDocs and the number of matches.
    • Constructor Detail

      • QueryCommandResult

        public QueryCommandResult​(org.apache.lucene.search.TopDocs topDocs,
                                  int matches,
                                  float maxScore)
    • Method Detail

      • getTopDocs

        public org.apache.lucene.search.TopDocs getTopDocs()
      • getMatches

        public int getMatches()
      • getMaxScore

        public float getMaxScore()