mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-12-26 06:30:05 +01: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…
x
Reference in New Issue
Block a user