Page MenuHomePhabricator

Document WikibaseCirrusSearch dependency on wikimedia-extra Elasticsearch plugin
Closed, ResolvedPublic1 Estimated Story Points

Description

The WikibaseCirrusSearch extension requires the wikimedia-extra plugin for Elasticsearch, but this is barely documented anywhere: this code comment is the only place in the extension itself, I think.

		//NOTE: needs the cirrus search wikimedia-extra plugin to be installed to work
		$config = [
			'type' => 'text',
			'index_options' => 'freqs',
			'analyzer' => 'extract_wb_quantity',
			'search_analyzer' => 'keyword',
		];

This is very confusing to users who try to set up CirrusSearch with vanilla Elasticsearch installs.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

We might also want to recommend the wikibase/elasticsearch docker image directly.

Change 739655 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):

[mediawiki/extensions/WikibaseCirrusSearch@master] Docment dependency on search-extra elasticsearch plugin

https://gerrit.wikimedia.org/r/739655

Change 739655 merged by jenkins-bot:

[mediawiki/extensions/WikibaseCirrusSearch@master] Document dependency on search-extra elasticsearch plugin

https://gerrit.wikimedia.org/r/739655