Reputation: 3900
The Algolia Wordpress plugin (https://community.algolia.com/wordpress/) replaces the standard Wordpress search.
I've selected the Use Algolia in the backend setting instead of Use Algolia with Instantsearch.js, because I need complete control over the UI.
This option states that it does not support filtering and displaying instant search results. However, I'm assuming this is referring to Instantsearch.js and there is still a way to filter the API query manually.
I need to either:
Thanks in advance.
Upvotes: 0
Views: 713
Reputation: 798
There is a filter hook that can be used to adjust the parameters used for the call to Algolia: algolia_search_params
.
This filter is called right before doing the search operation: https://github.com/algolia/algoliasearch-wordpress/blob/master/includes/class-algolia-search.php#L59
By using that filter you can provide any valid Algolia search parameter.
Upvotes: 1