I have been using CirrusSearch from the beginning but I am having major troubles with MW 1.28.0.
Any help would be appreciated ;-) Maybe this is because of php7.0 or maybe because of Elasticsearch 2.4.3?
This happens when I setup a new index:
MediaWiki 1.28.0
PHP 7.0.13-0ubuntu0.16.04.1 (apache2handler)
MySQL 5.7.16-0ubuntu0.16.04.1
Elasticsearch 2.4.3
CirrusSearch Extension : snapshot of version c23ae6a of the CirrusSearch extension for MediaWiki REL1_28
Elastica Extension: snapshot of version 0959e38 of the Elastica extension for MediaWiki REL1_28
php updateSearchIndexConfig.php
content index...
Fetching Elasticsearch version...2.4.3...ok
Scanning available plugins...
head
Inferring index identifier...wiki_mw-test_content_first
Picking analyzer...german
Validating number of shards...ok
Validating replica range...ok
Validating shard allocation settings...done
Validating max shards per node...ok
Validating analyzers...ok
PHP Warning: Illegal string offset 'analyzer' in /var/www/mw-test/extensions/CirrusSearch/includes/Search/TextIndexField.php on line 153
PHP Warning: array_merge(): Argument #2 is not an array in /var/www/mw-test/extensions/CirrusSearch/includes/Search/TextIndexField.php on line 157
Validating mappings...
Validating mapping...different...failed!
Couldn't update existing mappings. You may need to reindex.
Here is elasticsearch's error message: mapper_parsing_exception: illegal field [s], only fields can be specified inside fields