Jump to content

Topic on Extension talk:Elastica

Unexpected Elasticsearch failure?

5
AmazingTrans (talkcontribs)

I had just get Elastica from extension:elastica site, and cirrussearch from Extension:CirrusSearch.

I'm assuming i have ElasticSearch since the following is stated in my version:

Therefore, i set the following from

$wgCirrusSearchServers = array( 'elasticsearch0', 'elasticsearch1', 'elasticsearch2', 'elasticsearch3' );

to

$wgCirrusSearchServers = "localhost''

There are other $wgCirrusSearch variables that you might want to change from their defaults.

Now run this script to generate your elasticsearch index:

 php $MW_INSTALL_PATH/extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php

 Once i run the updateSearchIndexConfig script, the following error shows:

content index...
Fetching Elasticsearch version...
Unexpected Elasticsearch failure.
Http error communicating with Elasticsearch: Couldn't connect to host, Elastic search down?

ANy idea what would cause this or how do i enable elasticsearch?

AmazingTrans (talkcontribs)

installed elasticsearch and works.

204.63.44.143 (talkcontribs)

Hey how did you solve the problem -

Http error communicating with Elasticsearch: Couldn't connect to host, Elastic search down?

AmazingTrans (talkcontribs)

I think i got electricsearch working, but cirrus didn't work and i quit pursuing it.

Anybody has any luck? would be great if someone can post about it.

Senouis (talkcontribs)

What version of Elasticsearch do you use? It seems CirrusSearch is currently working ONLY in ElasticSearch <= 7.10.x -> Check Extension talk:CirrusSearch

Reply to "Unexpected Elasticsearch failure?"