change facetedAttributes to attributesForFaceting

This commit is contained in:
mpostma 2021-03-15 13:53:50 +01:00
parent fcf1d4e922
commit 55fadd7f87
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
4 changed files with 8 additions and 7 deletions

View file

@ -19,7 +19,8 @@ async fn get_settings() {
assert_eq!(settings.keys().len(), 4);
assert_eq!(settings["displayedAttributes"], json!(["*"]));
assert_eq!(settings["searchableAttributes"], json!(["*"]));
assert_eq!(settings["facetedAttributes"], json!({}));
println!("{:?}", settings);
assert_eq!(settings["attributesForFaceting"], json!({}));
assert_eq!(settings["rankingRules"], json!(["typo", "words", "proximity", "attribute", "wordsPosition", "exactness"]));
}