Interface ReleaseableIndexReader

    • Method Detail

      • release

        void release()
              throws IOException
        Releases this index reader and potentially frees resources. In contrast to IndexReader.close() this method does not necessarily close the index reader, but gives the implementation the opportunity to do reference counting.
        Throws:
        IOException - if an error occurs while releasing the index reader.