Steps to replicate the issue (include links if applicable):
- Set up ElasticSearch 7.10 with the Wikimedia extra plugin (7.10.2-wmf12).
- Install CirrusSearch from the master or REL1_45 branch.
- Enable the regex capabilities via wgCirrusSearchWikimediaExtraPlugin (probably not needed but unable to check at the moment).
- Initialise search indices using the UpdateSearchIndexConfig maintenance script.
What happens?:
An error occurs due to the trigram_anchored analyser requiring the add_regex_start_end_anchors char filter.
What should have happened instead?:
The indices are created.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
MediaWiki 1.45 / master, ElasticSearch 7.10.
Other information (browser name/version, screenshots, etc.):
The ES/OS version check in UpdateOneSearchIndexConfig still passes with ElasticSearch 7.10, but Ibe8b0d9962ff1d70bba1000e5b8f1152c271d017 broke compatibility by unconditionally adding a dependency on the current OpenSearch plugin.