Apache Lucene.Net 2.1 Class Library API

IndexSearcher.Close Method 

Note that the underlying IndexReader is not closed, if IndexSearcher was constructed with IndexSearcher(IndexReader r). If the IndexReader was supplied implicitly by specifying a directory, then the IndexReader gets closed.

public override void Close();

Implements

Searchable.Close

See Also

IndexSearcher Class | Lucene.Net.Search Namespace