mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-28 17:21:03 +00:00
Rename the faceted fields into filterable fields
This commit is contained in:
@ -83,7 +83,7 @@ mod test {
|
||||
let mut update = builder.settings(&mut txn, &index);
|
||||
update.set_distinct_attribute(distinct.to_string());
|
||||
if !facets.is_empty() {
|
||||
update.set_faceted_fields(facets)
|
||||
update.set_filterable_fields(facets)
|
||||
}
|
||||
update.execute(|_, _| ()).unwrap();
|
||||
|
||||
|
Reference in New Issue
Block a user