Recommended filtering for boolean value (facet or numeric)?

I have some boolean fields that I do display as facets to the user, but some which are not intended to be used for faceted navigation, should I store the latter as numeric values and use numeric filters or is it recommended to define facets for true/false values?



Hi James,

Thanks for reaching out to Algolia.

This is really dependent on your use case and how you want to direct your users’ search experience. Both solutions are good depending on the context, so you can pick whichever you feel works best for your use case.

Could you maybe share a bit more on your use case and we could see together if there is a clearly better implementation?