Filter on impossible to match values (null, empty) #539
Replies: 6 comments 18 replies
-
I think if it can mimic SQL like If you think about it as a UI, when people select "Is empty", there will be no input field also. I have another unrelated questions. Since we on the topic of filtering. I do have more filters in mind like:
All copied from Notion filter. I am not sure if you guys plan on that also? |
Beta Was this translation helpful? Give feedback.
-
This is purely personal taste, I like the idea of being able to do that as in SQL. These are super common filters for someone having already used a SQL database. What you are suggesting @irevoire, is to have @mech Do you need to have both I'm asking that because maybe having Having both brings more versatility but I wonder if it's not introducing some complexity. |
Beta Was this translation helpful? Give feedback.
-
The ability to compare two fields could be a nice addition? Various date and time filters would also be very nice, like being able to select users having birthday today, without having to explicit add a field containing only the day and month. |
Beta Was this translation helpful? Give feedback.
-
I think this is a very important feature, but using the I suggest simply introducing new operators
common query :
common query : |
Beta Was this translation helpful? Give feedback.
-
Hello everyone 👋 We've just released the first RC (release candidate) of Meilisearch containing this new feature! docker run -it --rm -p 7700:7700 -v $(pwd)/meili_data:/meili_data getmeili/meilisearch:v1.2.0-rc.0 You are welcome to leave your feedback in this discussion. If you encounter any bugs, please report them here. 🎉 Official and stable release containing this change will be available on June 5th, 2023 |
Beta Was this translation helpful? Give feedback.
-
Hey folks 👋 v1.2 has been released! 🐻❄️ We've introduced two new filters:
📚 https://www.meilisearch.com/docs/learn/advanced/filtering#is-null |
Beta Was this translation helpful? Give feedback.
-
This discussion comes from this comment on the Meilisearch repository where a user would like to select the fields whose value is equal to
null
: meilisearch/meilisearch#2484 (comment).Currently, all these fields can't be matched by our filters.
@mech, since you're the first one asking for this feature, I would love to know how you would like to select these fields.
I was thinking of introducing a new keyword named
IS
that could be followed byEMPTY
orNULL
but if there is no other values it feels a little bit overkill 🤔Beta Was this translation helpful? Give feedback.
All reactions