About finding empty/null values in arrays/objects
We're using the placeholder tactic to enable searching for null/empty fields, and this seems all good for now on both strings and integers.
But I wonder if such a technic exist for arrays or objects? How could I find documents with empty arrays or null objects?
a
Alan Martini
02/27/2026, 7:34 PM
Hey Olivier,
While it work well for scalar types, it doesn't extend natively to arrays or objects.
One possibility is adding a boolean has_tags at index time. Updating it whenever you add an item to the array.