private void fetchNextChildHits() throws IOException {
        if (childHits != null) {
            childHits.close();
        }
        ScoreNode nextParent = parents.nextScoreNode();
        if (nextParent != null) {
            try {
                Node parent = (Node)session.getTransientNodesManager().getItemByIdentifier(nextParent.getNodeId(),true);
                childHits = new NodeTraversingQueryHits(parent, false, 1, indexConfig);
            } catch (RepositoryException e) {
                throw Util.createIOException(e);
            }
        } else {
            childHits = null;
        }
    }
private void fetchNextChildHits ( ) throws IOException { if ( childHits != null ) { childHits . close ( ) ; } ScoreNode nextParent = parents . nextScoreNode ( ) ; if ( nextParent != null ) { try { Node parent = ( Node ) session . getTransientNodesManager ( ) . getItemByIdentifier ( nextParent . getNodeId ( ) , true ) ; childHits = new NodeTraversingQueryHits ( parent , false , 1 , indexConfig ) ; } catch ( RepositoryException e ) { throw Util . createIOException ( e ) ; } } else { childHits = null ; } }
Fetches the next {@link #childHits}
@throws IOException