mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
Enhance enum documentation
Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user