Class DefaultQueryHits

    • Constructor Detail

      • DefaultQueryHits

        public DefaultQueryHits​(Collection<ScoreNode> scoreNodes)
        Creates a new DefaultQueryHits instance based on the passed scoreNodes.
        Parameters:
        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.
        Returns:
        the next score node in this QueryHits.
        Throws:
        IOException - if an error occurs while reading from the index.