Table of Contents

Method Open

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Open(string)

Opens an existing index directory. Custom analyzers saved with the index are restored.

public static SearchIndex Open(string directory)

Parameters

directory string

Returns

SearchIndex

Exceptions

TantivyException

The directory doesn't exist or doesn't contain an index.