Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.store |
Binary i/o API, used for all index data.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IndexReader.ensureOpen()
Throws AlreadyClosedException if this IndexReader or any
of its child readers is closed, otherwise returns.
|
protected void |
IndexWriter.ensureOpen()
Used internally to throw an
AlreadyClosedException if this IndexWriter has been
closed (closed=true ) or is in the process of
closing (closing=true ). |
protected void |
IndexWriter.ensureOpen(boolean failIfClosing)
Used internally to throw an
AlreadyClosedException if this
IndexWriter has been closed or is in the process of closing. |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseDirectory.ensureOpen() |
protected void |
Directory.ensureOpen()
Ensures this directory is still open.
|
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.