Method Reopen
Reopen()
Tries to reopen the subreaders.
If one or more subreaders could be re-opened (i. e. subReader.reopen()
returned a new instance != subReader), then a new ParallelReader instance
is returned, otherwise this instance is returned.
A re-opened instance might share one or more subreaders with the old instance. Index modification operations result in undefined behavior when performed before the old instance is closed. (see Reopen()).
If subreaders are shared, then the reference count of those readers is increased to ensure that the subreaders remain open until the last referring reader is closed.
Declaration
public override IndexReader Reopen()
Returns
Type | Description |
---|---|
IndexReader |