Just like {@link #Reopen()}, except you can change the readOnly of the original reader. If the index is unchanged but readOnly is different then a new reader will be returned.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual IndexReader Reopen(
	bool openReadOnly
)
Visual Basic
Public Overridable Function Reopen ( _
	openReadOnly As Boolean _
) As IndexReader
Visual C++
public:
virtual IndexReader^ Reopen(
	bool openReadOnly
)

Parameters

openReadOnly
Type: System..::..Boolean

[Missing <param name="openReadOnly"/> documentation for "M:Lucene.Net.Index.IndexReader.Reopen(System.Boolean)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.Reopen(System.Boolean)"]

See Also