logo
Expand description

Representations for the space usage of various parts of a Tantivy index.

This can be used programmatically, and will also be exposed in a human readable fashion in tantivy-cli.

One important caveat for all of this functionality is that none of it currently takes storage-level details into consideration. For example, if your file system block size is 4096 bytes, we can under-count actual resultant space usage by up to 4095 bytes per file.

Structs

Represents space usage of a given field, breaking it down into the (field, index) pairs that comprise it.

Represents space usage for all of the (field, index) pairs that appear in a CompositeFile.

Represents combined space usage of an entire searcher and its component segments.

Represents combined space usage for all of the large components comprising a segment.

Represents space usage for the Store for this segment.

Enums

Enum containing any of the possible space usage results for segment components.

Type Definitions

Indicates space usage in bytes