I'm assuming this error is related to my host setting in my nginx config that also needs appending to the input in my search form (as per this thread).
As my Elasticsearch host is on the same server as my site I have 3 possibilities for a host URL:
http://localhost:9200, http://my-site-ip-address:9200 or http://my-site-url:9200
I've tried all of these with no luck though I notice the code mentioned in the link above referring to elasticpress-autosuggest.js is slightly different to the current version e.g.
var esHost = window.location.protocol + "//" + esServer + '/es-search/';
I'm assuming this error is related to my host setting in my nginx config that also needs appending to the input in my search form (as per this thread).
As my Elasticsearch host is on the same server as my site I have 3 possibilities for a host URL:
http://localhost:9200
,http://my-site-ip-address:9200
orhttp://my-site-url:9200
I've tried all of these with no luck though I notice the code mentioned in the link above referring to
elasticpress-autosuggest.js
is slightly different to the current version e.g.var esHost = window.location.protocol + "//" + esServer + '/es-search/';
Does not exist in the current .js file