diff --git a/meilisearch-http/src/option.rs b/meilisearch-http/src/option.rs index 9fdf86179..f8277e85f 100644 --- a/meilisearch-http/src/option.rs +++ b/meilisearch-http/src/option.rs @@ -444,7 +444,7 @@ impl Opt { #[derive(Debug, Clone, Parser, Deserialize, Serialize)] pub struct IndexerOpts { - /// The amount of documents to skip before printing + /// Sets the amount of documents to skip before printing /// a log regarding the indexing advancement. #[serde(skip_serializing, default = "default_log_every_n")] #[clap(long, default_value_t = default_log_every_n(), hide = true)] // 100k @@ -455,20 +455,15 @@ pub struct IndexerOpts { #[clap(long, hide = true)] pub max_nb_chunks: Option, - /// The maximum amount of memory the indexer will use. - /// - /// In case the engine is unable to retrieve the available memory the engine will - /// try to use the memory it needs but without real limit, this can lead to - /// Out-Of-Memory issues and it is recommended to specify the amount of memory to use. + /// Sets the maximum amount of RAM Meilisearch can use when indexing. By default, Meilisearch + /// uses no more than two thirds of available memory. #[clap(long, env = MEILI_MAX_INDEXING_MEMORY, default_value_t)] #[serde(default)] 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. + /// Sets the maximum number of threads Meilisearch can use during indexation. By default, the + /// indexer avoids using more than half of a machine's total processing units. This ensures + /// Meilisearch is always ready to perform searches, even while you are updating an index. #[clap(long, env = MEILI_MAX_INDEXING_THREADS, default_value_t)] #[serde(default)] pub max_indexing_threads: MaxThreads, @@ -499,8 +494,7 @@ impl IndexerOpts { #[derive(Debug, Clone, Parser, Default, Deserialize, Serialize)] #[serde(rename_all = "snake_case", deny_unknown_fields)] pub struct SchedulerConfig { - /// The engine will disable task auto-batching, - /// and will sequencialy compute each task one by one. + /// Deactivates auto-batching when provided. #[clap(long, env = DISABLE_AUTO_BATCHING)] #[serde(default)] pub disable_auto_batching: bool,