Configure attributes for faceting issue
-
Hi
I want to configure attributes for facets via a filter rather than the Algolia dashboard. I am using:
function custom_posts_index_settings( array $settings ) { $settings['attributesForFaceting'][] = 'resource_type, solution_category, wpml.display_name'; return $settings; } add_filter( 'algolia_posts_index_settings', 'custom_posts_index_settings' );
When I push settings from the plugin it gives me a success message “Settings correctly pushed for index: searchable_posts” but doesn’t seem to work, and nothing is reflected on the dashboard or the search page. Any clues you could give me?
Thanks as always.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Configure attributes for faceting issue’ is closed to new replies.