Support filtering on unexisting fields #89
Locked
MarinPostma
started this conversation in
Feedback & Feature Proposal
Replies: 3 comments
-
+1 I would also like this feature.... I ended up moving from MeiliSearch because I couldn't do this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey 👋 This may interest you @vmitchell85 #407 (comment)! A prototype adding 2 new operators is available. It adds |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey everyone 👋 I'm locking this discussion in favor of #603 Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I realised that documents that don't have a value for a specific field are discarded. The question arises as how to handle them? Is an empty value the same thing as an unexisting field? I think not, but again this is debatable.
On a semantic level, the empty string is the only way we have to tell that we expect an empty value.
And the fact that we allow unquoted word a a value prevents us from adding a
null
keyword (which I'm against anyway).Now we could have the following
but that implies a consequent change in the syntax.
Beta Was this translation helpful? Give feedback.
All reactions