Once the migration to WikibaseCirrusSearch is done for Wikibase and all dependent extensions (WikibaseLexeme, WikibaseMediaInfo, others?), the hooks and the code that depend on CirrusSearch/ElasticSearch should be removed from Wikibase code base.
This will be done in stages:
- Copy mediawiki-config configurations to WikibaseCirrusSearch settings
- Remove active hooks for Cirrus functionality
- Remove old configs
- Remove code in Wikibase\Repo\Search\Elastic