Table of Contents

Class SearcherManagerOptions

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll
public sealed class SearcherManagerOptions
Inheritance
SearcherManagerOptions
Inherited Members

Properties

RefreshOnCommit

Whether new commits are picked up automatically. Default false: the searcher only changes on Refresh().

Warmer

Runs on each new searcher before searches can use it, for example a few typical queries to load index files into the OS cache so the first real requests aren't slow. It also runs on the first searcher, inside CreateSearcherManager(SearcherManagerOptions?). If it throws, the new searcher is discarded, the previous one stays current, and the exception propagates.