Algolia fascia filter empty / zero

Is there a way to filter calls by property value, which is either empty or empty string?

ie, show me all objects that don't have an author

facetFilters = author: zero

facetFilters = author: ''

Or include it in the list of OR values?

ie, show me all objects with an author installed in Twain or that don't have an author

facetFilters = (author: Twain, author: zero)

facetFilters = (author: Twain, author: '')

+6
source share
1 answer

Unfortunately - to date - Algolia does not support this. One work task may be to add an additional value if it is zero, for example, pressing author: 'unknown' , which you can use to filter.

+11
source

All Articles