mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-25 14:24:26 +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)]
|
#[derive(Deserialize, Debug, Clone, PartialEq, Eq)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub enum MatchingStrategy {
|
pub enum MatchingStrategy {
|
||||||
// remove last word first
|
/// Remove query words from last to first
|
||||||
Last,
|
Last,
|
||||||
// all words are mandatory
|
/// All query words are mandatory
|
||||||
All,
|
All,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user