From 98107565c0702294e8031d8b12b5ffb19e865203 Mon Sep 17 00:00:00 2001 From: 2shiori17 <98276492+2shiori17@users.noreply.github.com> Date: Thu, 31 Mar 2022 09:32:45 +0900 Subject: [PATCH] Add more detailed comments for max_indexing_threads --- meilisearch-lib/src/options.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meilisearch-lib/src/options.rs b/meilisearch-lib/src/options.rs index d51c6ff35..c71f1cba6 100644 --- a/meilisearch-lib/src/options.rs +++ b/meilisearch-lib/src/options.rs @@ -31,6 +31,9 @@ pub struct IndexerOpts { pub max_indexing_memory: MaxMemory, /// The maximum number of threads the indexer will use. + /// If the number set is higher than the real number of cores available in the machine, + /// it will use the maximum number of available cores. + /// /// It defaults to half of the available threads. #[clap(long, env = "MEILI_MAX_INDEXING_THREADS", default_value_t)] pub max_indexing_threads: MaxThreads,