No, Algolia doesn't filter by these values, but there are workarounds.
Workaround 1
You can leverage the tags attribute and use tags filtering. Please note that this will require a change to your dataset.
-
No record count: Tag filtering is used for filtering only. You will not get a count of records that match the filters. In this way, it is the same as using filterOnly() in the attributesForFaceting.
Workaround 2
You can update your data to include an additional boolean attribute (e.g. hasAuthor
) and then then filter on this attribute with filters = hasAuthor:true
or filters = hasAuthor:false