Filter on nested object field and nested array of objects field. #225
Replies: 3 comments 1 reply
-
This feature will be amazing one 👀 |
Beta Was this translation helpful? Give feedback.
-
YES! This would be great. I just added a similar comment here - meilisearch/meilisearch#2211 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hey 👋 Guess what? It's now a reality! ✨ You can now use the dot-notation e.g. Our goal was to remove the hassle you encountered by being forced to flatten the nested fields at the root of your document on your end to get the full power of Meilisearch. Don't hesitate to let us know what can be improved by creating a new discussion. Thank you for being part of the Meilisearch community. |
Beta Was this translation helpful? Give feedback.
-
As we do not support filtering on nested objects fields, it forces users to denormalize the data.
e.g.
needs to be transformed to
It would be interesting to express a filter on a nested field.
We could go further and also allow to filter on a field of objects contained in an array.
e.g. Having books containing multiple co-authors.
e.g. A filter may be expressed this way
Beta Was this translation helpful? Give feedback.
All reactions