mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Update meilisearch/src/option.rs
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
3085092e04
commit
4b4a6c7863
@ -365,7 +365,7 @@ pub struct Opt {
|
|||||||
|
|
||||||
/// Experimental drop search after. For more information, see: <https://github.com/orgs/meilisearch/discussions/783>
|
/// Experimental drop search after. For more information, see: <https://github.com/orgs/meilisearch/discussions/783>
|
||||||
///
|
///
|
||||||
/// Let you customize after how many seconds Meilisearch should consider a search as irrelevant and drop it.
|
/// Let you customize after how many seconds Meilisearch should consider a search request irrelevant and drop it.
|
||||||
/// The default value is 60.
|
/// The default value is 60.
|
||||||
#[clap(long, env = MEILI_EXPERIMENTAL_DROP_SEARCH_AFTER, default_value_t = default_drop_search_after())]
|
#[clap(long, env = MEILI_EXPERIMENTAL_DROP_SEARCH_AFTER, default_value_t = default_drop_search_after())]
|
||||||
#[serde(default = "default_drop_search_after")]
|
#[serde(default = "default_drop_search_after")]
|
||||||
|
Loading…
Reference in New Issue
Block a user