I believe what you’re looking for is more along the lines of the information at https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/query-suggestions/js/
that link provided looks like it’s not quite what’s being intended here.
It looks like we have suggestions to a certain level with the latest version of the plugin, and the autocomplete.php template file. What version are you presently running for the plugin?
Hi Michael,
Thanks for getting back to me!
Yes that’s what I’m trying to implement, but it requires adding in an extra “query_suggestions” index once it’s generated in Algolia, hence my question about how to go about making that work. The documentation’s example is fairly ambiguous about how to add into the autocomplete.php file.
I’m running version 2.1, and can’t see any reference to query suggestions, nor see them when typing queries in?
Thanks,
Mik
If I’m reading right at https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/query-suggestions/js/#implementing-query-suggestions they say you can prepare the index via your Algolia account’s dashboard, or the REST API.
Then they mention https://www.algolia.com/doc/ui-libraries/autocomplete/guides/adding-suggested-searches/ which Autocomplete would already be installed, however, overall that tutorial is looking more like React based rather than amending what we ship with in our bundled plugin.
Has me wondering if there’s a tutorial out in the wild about this that someone graciously typed up, but I’m not completely sure.