Hard to say off the top of my head why the database would be getting queried as well here, unless you potentially have local queries still being made with the search input, on top of InstantSearch. Is the site in question public where we could check on some things and see how it’s behaving?
The InstantSearch library itself should all be contained on the frontend and if you’re familiar with your browser’s devtools, you can check the XHR requests and observe those as you type.
If you’re using the “Algolia and Native Search Template” option, which I’m assuming isn’t the case, that would still be making database queries since that setting uses Algolia to return the post IDs it determines are the most relevant and then WordPress itself does a query for just those IDs with standard WP_Query and post__in
Thread Starter
Nick
(@midtcnick)
The setting is “Use Algolia With Instant Search.JS”
I am not seeing XHR requests to the database, I am seeing them go to autocomplete.js;
I can supply the site if there’s a way to contact someone directly but I would prefer to not have it in a public forum.
XHR requests aren’t going to be database requests, they’re the AJAX style requests that’d be getting made.
You can contact us privately through https://pluginize.com/contact/ and please provide this link with the submission so we know what forum request it relates to:
https://wordpress.org/support/topic/instantsearch-is-generating-high-rds-db-usage/
Thread Starter
Nick
(@midtcnick)
Thank you @tw2113 , I have sent a contact request in using that form.