refactor!: replace Tantivy search engine with DuckDB

This commit is contained in:
rustmailer
2026-03-03 12:30:26 +08:00
parent ef4ab3496e
commit d2936ed4a7
52 changed files with 3594 additions and 1821 deletions
+15
View File
@@ -247,6 +247,21 @@ pub struct Settings {
value_parser = clap::value_parser!(u16).range(1..)
)]
pub bichon_sync_concurrency: Option<u16>,
#[clap(
long,
env,
help = "Number of DuckDB execution threads (default: auto)",
value_parser = clap::value_parser!(u16).range(1..)
)]
pub bichon_duckdb_threads: Option<i64>,
#[clap(
long,
env,
help = "Maximum memory DuckDB may use (e.g. 512MB, 2GB, 80%)"
)]
pub bichon_duckdb_max_memory: Option<String>,
}
impl Settings {