public interface ReleaseableIndexReader
ReleaseableIndexReader
...Modifier and Type | Method and Description |
---|---|
void |
release()
Releases this index reader and potentially frees resources.
|
void release() throws IOException
IndexReader.close()
this method
does not necessarily close the index reader, but gives the implementation
the opportunity to do reference counting.IOException
- if an error occurs while releasing the index reader.Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.