documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Specify that it's not possible to filter documents by null fields

Open CaroFG opened this issue 3 years ago • 1 comments

I have modified the movie 'Shazam' in the movies dataset, I've set the genres to null. It's currently impossible to make this kind of filtered search:

curl 'http://localhost:7700/indexes/movies/search' \
--data '{ "q": "Shaz", "filters": "NOT genres = \"null\"" }'

The first result returned it's still 'Shazam'.

CaroFG avatar Mar 08 '21 09:03 CaroFG

Confirmed in https://github.com/meilisearch/MeiliSearch/issues/972

dichotommy avatar Jun 02 '21 08:06 dichotommy