Method Dispose
Dispose()
Close this to future searching; any searches still in process in other threads won't be affected, and they should still call Release(IndexSearcher) after they are done.
NOTE: you must ensure no other threads are calling Record(IndexSearcher) while you call Dispose(); otherwise it's possible not all searcher references will be freed.
Declaration
public virtual void Dispose()