Apache Lucene.Net 2.4.0 Class Library API |
|
IndexReader.Open Method (Directory, Boolean)
Returns a read/write or read only IndexReader using the index in the given Directory.
Throws CorruptIndexException if the index is corrupt.
Throws IOException if there is a low-level IO error.
Parameters
- directory
- the index directory
- readOnly
- true if no changes (deletions, norms) will be made with this IndexReader
See Also
IndexReader Class | Lucene.Net.Index Namespace | IndexReader.Open Overload List