Table of Contents

Property Warmer

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

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.

public Action<Searcher>? Warmer { get; init; }

Property Value

Action<Searcher>