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.

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

Syntax

C#
public override void Close()
Visual Basic
Public Overrides Sub Close
Visual C++
public:
virtual void Close() override

Implements

Searchable..::..Close()()()()

See Also