Table of Contents

Class SearcherLease

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

A searcher borrowed from a SearcherManager. Dispose it when done, typically with using; don't use Searcher afterwards.

public sealed class SearcherLease : IDisposable
Inheritance
SearcherLease
Implements
Inherited Members

Properties

Searcher

The leased searcher. Disposing it does nothing; dispose the lease instead.

Methods

Dispose()

Returns the searcher to the manager. Safe to call more than once.