From 240db13ce034fe0246cd47ba8a77a60a8f7728d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20U=2E=20-=20curqui?= Date: Wed, 20 Sep 2023 09:35:54 +0200 Subject: [PATCH] Fix filterable attribute example in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9f9166493..a20029645 100644 --- a/README.md +++ b/README.md @@ -232,7 +232,7 @@ await index.search( To enable filtering, you must first add your attributes to the [`filterableAttributes` index setting](https://www.meilisearch.com/docs/reference/api/settings#filterable-attributes). ```js -await index.updateAttributesForFaceting([ +await index.updateFilterableAttributes([ 'id', 'genres' ])