You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For reference, here's how the test are implemented in Meilisearch JS SDK:
// this mixes the old syntax (field name) and new syntax (settings opt-in)constnewFilterableAttributes=["author",{attributePatterns: ["genre"],features: {facetSearch: true,filter: {equality: true,comparison: false},},},];// we update the filterable attributes settingsawaitclient.index(index.uid).updateFilterableAttributes(newFilterableAttributes).waitTask();// the method to retrieve filterable attributes settings can also return mixed syntaxconstresponse=awaitclient.index(index.uid).getFilterableAttributes();expect(response).toEqual(newFilterableAttributes);
The text was updated successfully, but these errors were encountered:
This issue follows the changes related to Meilisearch v1.14.0 mega issue.
Description
Update the settings API to handle the new
filterableAttributes
syntax.For more context, see the related issue in Meilisearch: meilisearch/meilisearch#5163
Tasks
filterableAttributes
syntaxfilterableAttributes
syntax (when Meilisearch returns it)update_filterable_attributes_1
code sample in.code-samples.meilisearch.yaml
For reference, here's how the test are implemented in Meilisearch JS SDK:
The text was updated successfully, but these errors were encountered: