The message indicates that it cannot find the elasticsearch server you specified in the plugin setup. Do you have an Elasticsearch server running somewhere that you can use (See https://www.elastic.co/)?
General developer forum
Writing Moodle's Global Search
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.