Hi there guys,
I currently run a forum with 1.4 million posts indexed by
Elasticsearch on XenForo.
The issue several of us are experiencing is very occasionally (maybe 1
or 2 times per day on my forum with about 1000-2000 searches per day)
a search result will come back with an empty result and generate the
error in the admin log of XenForo of
XenForo_Exception: Elasticsearch server returned no response. Is it
running? - library/XenES/Search/SourceHandler/ElasticSearch.php:721
However, as quickly as the error shows it it disappears, and
everything carries on. Now, I have caught the error once on my board,
and logging into SSH and checking the services showed ES was runing
I thought maybe it could be due to some timeout or idle setting, that
the first search after X ammount of time that it just needs waking up
and that may be the first result, however we tried creating a cron
script to run the curl 127.0.0.1:9200 command as well as one handing
and actual search query to the service to keep it alive and if
anything it caused more errors.
You can see what we have tried here: http://xenforo.com/community/threads/empty-result-sets.28580/
However I believe this is now venturing out of my knowledge and skill
to locate the cause of the problem (as minimal as it is, we would
still like to resolve it!) so would like any suggestions you may have.