Closed amrutadotorg closed 1 year ago
Based on the example below, sourced from https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/ you'd want to do something like this.
$settings['attributesForFaceting'][] = 'filterOnly(taxonomies)';
$settings['attributesForFaceting'][] = 'filterOnly(wpml.native_name)';
Example from the link:
'attributesForFaceting' => [
'attribute1',
'filterOnly(attribute2)',
'searchable(attribute3)',
'afterDistinct(attribute4)',
'afterDistinct(searchable(attribute5))'
]
Thank you
Hi, I would like to set
filterOnly
fortaxonomies
andwpml.native.name
when declaring your attributesForFacetinghow to do it?
thank you