Table of Contents

Method Refresh

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Refresh()

Reloads the latest commit and, if the index changed, replaces the current searcher with a new (warmed) one. Blocks while another refresh is running.

public bool Refresh()

Returns

bool

Whether the searcher was replaced.

Exceptions

ObjectDisposedException

The manager was disposed.