mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
chore: Set config field pub
This commit is contained in:
parent
d5119db165
commit
482f750231
@ -10,10 +10,10 @@ pub enum RankingOrdering {
|
|||||||
|
|
||||||
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
|
||||||
pub struct Config {
|
pub struct Config {
|
||||||
stop_words: Option<HashSet<String>>,
|
pub stop_words: Option<HashSet<String>>,
|
||||||
ranking_order: Option<Vec<String>>,
|
pub ranking_order: Option<Vec<String>>,
|
||||||
distinct_field: Option<String>,
|
pub distinct_field: Option<String>,
|
||||||
ranking_rules: Option<HashMap<String, RankingOrdering>>,
|
pub ranking_rules: Option<HashMap<String, RankingOrdering>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user