Expert: reopen this reader on a specific commit point.
This always returns a readOnly reader. If the
specified commit point matches what this reader is
already on, and this reader is already readOnly, then
this same instance is returned; if it is not already
readOnly, a readOnly clone is returned.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public virtual IndexReader Reopen( IndexCommit commit ) |
Visual Basic |
---|
Public Overridable Function Reopen ( _ commit As IndexCommit _ ) As IndexReader |
Visual C++ |
---|
public: virtual IndexReader^ Reopen( IndexCommit^ commit ) |
Parameters
- commit
- Type: Lucene.Net.Index..::..IndexCommit
[Missing <param name="commit"/> documentation for "M:Lucene.Net.Index.IndexReader.Reopen(Lucene.Net.Index.IndexCommit)"]
Return Value
[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.Reopen(Lucene.Net.Index.IndexCommit)"]