Module tantivy::directory [−][src]
WORM directory abstraction.
Modules
error | Errors specific to the directory module. |
Structs
AntiCallToken | Struct used to prevent from calling |
DirectoryLock | The |
FileSlice | Logical slice of read only file in tantivy. It can be cloned and sliced cheaply. |
GarbageCollectionResult | Outcome of the Garbage collection |
Lock | A directory lock. |
ManagedDirectory | Wrapper of directories that keeps track of files created by Tantivy. |
MmapDirectory | Directory storing data in files, read via mmap. |
OwnedBytes | An OwnedBytes simply wraps an object that owns a slice of data and exposes this data as a static slice. |
RAMDirectory | A Directory storing everything in anonymous memory. |
WatchCallback | Cloneable wrapper for callbacks registered when watching files of a |
WatchCallbackList | Helper struct to implement the watch method in |
WatchHandle | Controls how long a directory should watch for a file change. |
Statics
INDEX_WRITER_LOCK | Only one process should be able to write tantivy's index at a time. This lock file, when present, is in charge of preventing other processes to open an IndexWriter. |
META_LOCK | The meta lock file is here to protect the segment files being opened by
|
Traits
Directory | Write-once read many (WORM) abstraction for where tantivy's data should be stored. |
DirectoryClone | DirectoryClone |
FileHandle | Objects that represents files sections in tantivy. |
TerminatingWrite | Trait used to indicate when no more write need to be done on a writer |
Type Definitions
WritePtr | Write object for Directory. |