Class DefaultQueryHits

    • Constructor Detail

      • DefaultQueryHits

        public DefaultQueryHits​(Collection<ScoreNode> scoreNodes)
        Creates a new DefaultQueryHits instance based on the passed scoreNodes.
        scoreNodes - a collection of ScoreNodes.
    • Method Detail

      • nextScoreNode

        public ScoreNode nextScoreNode()
                                throws IOException
        Returns the next score node in this QueryHits or null if there are no more score nodes.
        the next score node in this QueryHits.
        IOException - if an error occurs while reading from the index.