Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update filter expression page to include filtering by array #3084

Open
bendangelo opened this issue Dec 19, 2024 · 2 comments
Open

Update filter expression page to include filtering by array #3084

bendangelo opened this issue Dec 19, 2024 · 2 comments

Comments

@bendangelo
Copy link

I didn't know you could index an array and then filter by multiple tags like so:

currencyTags = EUR AND countryTags = BANGLADESH

I think this should be added to this page: https://www.meilisearch.com/docs/learn/filtering_and_sorting/filter_expression_reference

@guimachiavelli
Copy link
Member

Hello and thanks for opening an issue in this repo, @bendangelo, it's much appreciated.

I'm not sure I completely understand what you mean. Were you surprised by the fact the = operator matches values inside an array, such as e.g. currencyTags = EUR returning a document with currencyTags = [ "EUR"]?

@bendangelo
Copy link
Author

Yes exactly. I didn't know it was possible to use on array values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants