Clones the IndexReader and optionally changes readOnly. A readOnly reader cannot open a writeable reader.

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

Syntax

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

Parameters

openReadOnly
Type: System..::..Boolean

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

Return Value

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

See Also