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
Let's say I am on an ecommerce website searching in products and categories at the same time but want a different matching strategy. For example searching "i7 computer", I'd like suggested categories to include "Computers" but products to only include the ones with "i7" and "Computer" in its title or description.
Description
Right now creating a client with custom params is done like this :
Let's say I am on an ecommerce website searching in products and categories at the same time but want a different matching strategy. For example searching "i7 computer", I'd like suggested categories to include "Computers" but products to only include the ones with "i7" and "Computer" in its title or description.
To achieve such behavior I could then do :
I can make a PR if you agree. We need to update the types and handle it here (and for every param):
meilisearch-js-plugins/packages/instant-meilisearch/src/adapter/search-request-adapter/search-params-adapter.ts
Lines 212 to 217 in 8df981a
like so :
The text was updated successfully, but these errors were encountered: