Interface CloseableHits

    • Method Detail

      • close

        void close()
            throws IOException
        Releases resources held by this hits instance.
        Throws:
        IOException - if an error occurs while releasing resources.
      • getSize

        int getSize()
        Returns:
        the number of results or -1 if the size is unknown.
      • skip

        void skip​(int n)
           throws IOException
        Skips a n score nodes.
        Parameters:
        n - the number of score nodes to skip.
        Throws:
        IOException - if an error occurs while skipping.