Table of Contents

Enum TantivyErrorCode

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

Categorizes errors reported by the native Tantivy engine.

public enum TantivyErrorCode

Fields

Error = 1

An error with no more specific category.

InvalidArgument = 2

A malformed argument: bad schema, invalid document JSON, unknown field, heap too small, etc.

QueryParse = 3

The query string could not be parsed.

IndexAlreadyExists = 4

The target directory already contains an index.

Io = 5

A filesystem error, such as a missing directory or a permissions problem.

LockBusy = 6

Another writer holds the index lock. Only one IndexWriter may exist per index.

Panic = 7

The native code hit an internal bug (a Rust panic). Please report it.

IncompatibleIndex = 8

The index on disk uses a Tantivy index format this version can't read: it was written by a release whose Tantivy format is no longer supported, or by a newer release. Reindex the data, or read it with the release that wrote it.