Missing documents in NOT filtered arrays #325
Replies: 5 comments 2 replies
-
Hi @adrianrudnik, thanks for the feedback! 👋 We are thinking of introducing capabilities like If I understand correctly your feedback, you expect that the expression Thank you! @meilisearch/docs-team That might interest you! |
Beta Was this translation helpful? Give feedback.
-
Hey there, We're migrating from Meilisearch 0.19 to 0.25.2, and we're exactly in this situation. I think this is a kind of regression. We made a dirty (dirty) hack, replacing NULL/empty arrays with a 'empty' string (litteraly the string 'empty'), but this is not acceptable in a long term. I am surprised that this issue is not especially discussed. Is this a bad practice? If that's the case, then I'm curious to hear opinions on how to better index our objects. |
Beta Was this translation helpful? Give feedback.
-
Hello dear community, 👋 We have published a docker image allowing you to test the behavioral improvement regarding the
|
Beta Was this translation helpful? Give feedback.
-
Hello 👋 We have just released v0.29.0rc1, which is a release candidate of v0.29.0 🔥 You can test the just-introduced It also brings the behavior change regarding
Binaries are attached to the release, or you can use the docker image: docker run -it --rm \
-p 7700:7700 \
getmeili/meilisearch:v0.29.0rc1 Let us know about any bugs or feedback! 😄 It would be really helpful. FYI, the official v0.29.0 release will be available on 3rd October. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone 👋 Locking this discussion since the
📚 https://docs.meilisearch.com/learn/advanced/filtering_and_faceted_search.html#using-filters Please open a new discussion if you have any feedback to share 🙇♂️ I've opened a specific discussion for |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Just searched a bit, but did not find any documentation or hint if that is a defect or expected:
Having documents with a property
tags = []
are not found if I do a NOT filter (liketags != "adult"
) on it.Only documents that have 1-n tags are found.
Same behaviour as the other cases where
tags
is missing in the document andtags
isnull
. These seem to be special cases I can expect. The empty array is not a thing I expected.The docs don't go into nulls, missing or empty arrays. According to this meilisearch/meilisearch#1102 it should've been possible with meilisearch/meilisearch#1421. Then there is docs#837, but thats just about missing documentation on nulls.
Also the approach of "NOT (arrayValue = "someValue")" does not seem to work any more.
To Reproduce
1 search result returned.
Expected behavior
2 search results expected.
MeiliSearch version: Docker image getmeili/meilisearch:v0.24.0
Beta Was this translation helpful? Give feedback.
All reactions