mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 03:47:02 +02:00
rename ranking_distinct to distinct_attribute; fix #474
This commit is contained in:
parent
a067a1b16b
commit
2eb6f81c58
5 changed files with 25 additions and 25 deletions
|
@ -58,12 +58,12 @@ pub fn apply_settings_update(
|
|||
UpdateState::Nothing => (),
|
||||
}
|
||||
|
||||
match settings.ranking_distinct {
|
||||
match settings.distinct_attribute {
|
||||
UpdateState::Update(v) => {
|
||||
index.main.put_ranking_distinct(writer, &v)?;
|
||||
index.main.put_distinct_attribute(writer, &v)?;
|
||||
},
|
||||
UpdateState::Clear => {
|
||||
index.main.delete_ranking_distinct(writer)?;
|
||||
index.main.delete_distinct_attribute(writer)?;
|
||||
},
|
||||
UpdateState::Nothing => (),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue