Topic on Help talk:CirrusSearch

php updateSearchIndexConfig.php is giving error

5
PushpendraJadaun12 (talkcontribs)

While installing CirrusSearch Extension after updating mediawiki from 1.28 to 1.32 version when I run command(following README):

php updateSearchIndexConfig.php

I get this error : Elastica\Exception\Connection\HttpException from line 187 of $MW_INSTALL_PATH\extensions\Elastica\vendor\ruflin\elastica\lib\Elastica\Transport\Http.php: Couldn't resolve host

I tried searching but couldn't find luck.Please let me know what I need to do to resolve it ?


Note : Versions of CirrusSearch,Elastica and mediawiki is same 1.32.


EBernhardson (WMF) (talkcontribs)

Couldn't resolve host suggests that whatever hostname it's finding for the elasticsearch cluster isn't able to be resolved. Are you using $wgCirrusSearchServers? Or one of the more complex configuration options? What format are you using to specify $wgCirrusSearchServers?

PushpendraJadaun12 (talkcontribs)

Problem is solved.Actually elastic server was not running properly it was getting closed after some time which was causing this error.

Bruceillest (talkcontribs)

Can you please elaborate on how you fixed it. I'm having the same issue and I'm not familiar with elastic or CirrusSearch. File locations will also be helpful.


Thanks

118.148.199.239 (talkcontribs)

me too Bruceillest


Reply to "php updateSearchIndexConfig.php is giving error"