Expand description
Configurations.
Structsยง
- Bloom
Filter Config - Configuration options for the bloom filter.
- Fulltext
Index Config - Configuration options for the full-text index.
- Index
Config - Inverted
Index Config - Configuration options for the inverted index.
- Mito
Config - Configuration for MitoEngine.
Before using the config, make sure to call
MitoConfig::validate()
to check if the config is valid.
Enumsยง
- Memory
Threshold - Memory threshold for performing certain actions.
- Mode
- Operational mode for certain actions.
Constantsยง
- DEFAULT_
SCAN_ ๐CHANNEL_ SIZE - Default channel size for parallel scan task.
- FETCH_
OPTION_ ๐TIMEOUT - Fetch option timeout
- GLOBAL_
WRITE_ ๐BUFFER_ SIZE_ FACTOR - INDEX_
CREATE_ ๐MEM_ THRESHOLD_ FACTOR - Use
1/INDEX_CREATE_MEM_THRESHOLD_FACTOR
of OS memory size as mem threshold for creating index - MEM_
CACHE_ ๐SIZE_ FACTOR - Use
1/MEM_CACHE_SIZE_FACTOR
of OS memory size as mem cache size in default mode - MULTIPART_
UPLOAD_ ๐MINIMUM_ SIZE - PAGE_
CACHE_ ๐SIZE_ FACTOR - Use
1/PAGE_CACHE_SIZE_FACTOR
of OS memory size as page cache size in default mode - SST_
META_ ๐CACHE_ SIZE_ FACTOR - Use
1/SST_META_CACHE_SIZE_FACTOR
of OS memory size as SST meta cache size in default mode
Functionsยง
- divide_
num_ ๐cpus - Divide cpu num by a non-zero
divisor
and returns at least 1.