Enum TantivyErrorCode
- Namespace
- TantivyDotNet
- Assembly
- TantivyDotNet.dll
Categorizes errors reported by the native Tantivy engine.
public enum TantivyErrorCode
Fields
Error = 1An error with no more specific category.
InvalidArgument = 2A malformed argument: bad schema, invalid document JSON, unknown field, heap too small, etc.
QueryParse = 3The query string could not be parsed.
IndexAlreadyExists = 4The target directory already contains an index.
Io = 5A filesystem error, such as a missing directory or a permissions problem.
LockBusy = 6Another writer holds the index lock. Only one IndexWriter may exist per index.
Panic = 7The native code hit an internal bug (a Rust panic). Please report it.
IncompatibleIndex = 8The 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.