Apache Lucene.Net 2.4.0 Class Library API

IndexReader.Open Method (IndexCommit)

Expert: Returns a read/write IndexReader reading the index in the given IndexCommit.

NOTE: Starting in 3.0 this will return a readOnly IndexReader.

Throws CorruptIndexException if the index is corrupt.

Throws IOException if there is a low-level IO error.

public static IndexReader Open(
   IndexCommit commit
);

Parameters

commit
the commit point to open

See Also

IndexReader Class | Lucene.Net.Index Namespace | IndexReader.Open Overload List