Autocomplete Suggestions Performance
- 3 years ago #22841
My list of things that I need to do is much shorter!
However, having a performance issue the suggestions / autocomplete. Basically, it is not as fast as I am used to Algolia being (both in and outside of WP). Testing WP Search for Algolia on the same theme there is a very noticeable difference. It feels like there is a delay setting somewhere as Algolia always been known to have an instant autocomplete (Like seen on WP Search for Algolia).
Any ideas? I tried changing the Ajax delay setting in the Theme add-on to 0 but it doesn’t seem to have done anything.wpsolrKeymaster3 years ago #22857
– WPSOLR’s Algolia search is a backend search, executed by a PHP code called by a standard WP Ajax call. The WP Ajax call can be slow sometimes (it executes the full WP core). You can check in WPSOLR ALgolia’s logs how fast the Algolia’s call is, and compare it to the Ajax call.3 years ago #22860
Just so I am clear here: The WPSolr autocomplete is not using the Instant Search (presumably what WP Search for Algolia is using for their autocomplete)?
If so, can you give some advice on how one would best go about building an Autocomplete that would work with WPsolr (using the instant search offers)?3 years ago #22862
Another thought / feedback on the Autocomplete included with WPsolr.
This only applies when you are displaying multiple content types grouped together in the autocomplete:
In the past and with WP Search with Algolia plugin, instead of relying on just the main index to populate the autocomplete (specifically the attributes/categories/tags/etc.), separate indices are created for each filter that are queried simultaneously.
In the past I have seen this approach taken because there were hundreds of thousands of “tags” and without the autocomplete would take longer to load.
Not saying that this is the reason why the current implementation in WPsolr is slower than ideal but I figured it was useful feedback to help improve the plugin.wpsolrKeymaster3 years ago #22863
The WPSolr autocomplete is not using the Algolia Instant Search?
No, WPSOLR is using a WP compatible autocomplete (wp-ajax) to be able to integrate deep with WP.
Can you give some advice on how one would best go about building an Autocomplete that would work with WPsolr (using the instant search offers)
It would require a full design and development, not a simple advice.
You must be logged in to reply to this topic.