Search return empty Facets

Hello there. I’m really starting to explore Algolia and have been trying to follow the examples.

I’m using the following example:

When I run this, the facets array comes empty.

On the “_rawResults[0]” I have all the facets.

This is the setting I’m currently using:

var helper = algoliasearchHelper(algolia, 'products', {
    facets: '*',
    hitsPerPage: 24
});

And this is the returned result:

Imgur

1 Like

Hello Ricardo,

Algolia JS Helper lib does not support yet the * operator for the facets parameter. What if you replace * with an array containing all your facets ['category', 'categories', 'features']?