mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Enhance enum documentation
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
parent
c9bb111ef3
commit
651a22b1ed
@ -62,9 +62,9 @@ pub struct SearchQuery {
|
||||
#[derive(Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub enum MatchingStrategy {
|
||||
// remove last word first
|
||||
/// Remove query words from last to first
|
||||
Last,
|
||||
// all words are mandatory
|
||||
/// All query words are mandatory
|
||||
All,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user