Table of Contents

Method CreateSearcher

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

CreateSearcher()

Creates a searcher over the latest committed state of the index. The searcher is a snapshot: commits made after this call aren't visible to it, so create a new searcher to see them. To share one snapshot across requests and refresh it after commits, use CreateSearcherManager(SearcherManagerOptions?).

public Searcher CreateSearcher()

Returns

Searcher