Hello CirrusSearch-Team,
fist of all: Thanks for providing a way to connect ElasticSearch to MediaWiki!
Second of all: I would like to provide you with my error messages to help with the development and to get help for myself! :-)
I am running the following software [Special:Version]
MediaWiki:1.26.2
PHP: 5.6.17-0+deb8u1 (apache2handler)
MySQL: 5.5.47-0+deb8u1
Elasticsearch: 1.7.5
CirrusSearch: 0.2 (Hash: c80d8ec6816d01b52033015d4c710035c4f2db4a)
Elastica: 1.3.0.0 (Hash: 2703907a9688c07b45f8d4a7e98a2c1d0047c857)
LocalSettings is configured to $wgDisableSearchUpdate = true;
According to [https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FCirrusSearch.git/HEAD/README README-instructions] I am stuck at the point where I build/update search index.
__________
$ php updateSearchIndexConfig.php
content index...
Fetching Elasticsearch version...1.7.5...ok
Scanning available plugins...none
Infering index identifier...mwiki_CP_1262-mwiki_CP__content_first
Picking analyzer...german
Creating index...
Unexpected Elasticsearch failure.
Elasticsearch failed in an unexpected way. This is always a bug in CirrusSearch.
Error type: Elastica\Exception\ResponseException
Message: InvalidIndexNameException[[mwiki_CP_1262-mwiki_CP__content_first] Invalid index name [mwiki_CP_1262-mwiki_CP__content_first], must be lowercase]
Trace:
#0 /var/www/html/wiki_1262/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Request.php(171): Elastica\Transport\Http->exec(Object(Elastica\Request), Array)
#1 /var/www/html/wiki_1262/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Client.php(621): Elastica\Request->send()
#2 /var/www/html/wiki_1262/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Index.php(494): Elastica\Client->request('mwiki_CP_1262-m...', 'PUT', Array, Array)
#3 /var/www/html/wiki_1262/extensions/Elastica/vendor/ruflin/elastica/lib/Elastica/Index.php(284): Elastica\Index->request('', 'PUT', Array, Array)
#4 /var/www/html/wiki_1262/extensions/CirrusSearch/includes/Maintenance/Validators/IndexValidator.php(124): Elastica\Index->create(Array, false)
#5 /var/www/html/wiki_1262/extensions/CirrusSearch/includes/Maintenance/Validators/IndexValidator.php(94): CirrusSearch\Maintenance\Validators\IndexValidator->createIndex(false)
#6 /var/www/html/wiki_1262/extensions/CirrusSearch/maintenance/updateOneSearchIndexConfig.php(285): CirrusSearch\Maintenance\Validators\IndexValidator->validate()
#7 /var/www/html/wiki_1262/extensions/CirrusSearch/maintenance/updateOneSearchIndexConfig.php(226): CirrusSearch\Maintenance\UpdateOneSearchIndexConfig->validateIndex()
#8 /var/www/html/wiki_1262/extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php(49): CirrusSearch\Maintenance\UpdateOneSearchIndexConfig->execute()
#9 /var/www/html/wiki_1262/maintenance/doMaintenance.php(103): CirrusSearch\Maintenance\UpdateSearchIndexConfig->execute()
#10 /var/www/html/wiki_1262/extensions/CirrusSearch/maintenance/updateSearchIndexConfig.php(56): require_once('/var/www/html/w...')
#11 {main}
__________
Is there a way to help me with the next steps? What can I do?
Timaios.