Expand description
Configuration types for the Open Knowledge Catalog indexer.
This module defines the OkcConfig struct which controls all aspects of
the indexing process, including root directories, file filtering, size limits,
database location, and watcher behavior.
Configuration can be loaded from:
- Default values (lowest priority)
- TOML config file at
./okc.tomlor~/.config/okc/config.toml - Environment variables with
OKC_prefix (e.g.,OKC_ROOTS,OKC_DB_PATH) - CLI flags (highest priority)
Re-exports§
pub use bm25::Bm25Config;
Modules§
- bm25
- BM25 search configuration for FTS5 relevance ranking.
Structs§
- OkcConfig
- Configuration for the OKC indexer and service.
Enums§
- Config
Error - Errors that can occur during configuration loading and validation.