Topic on Extension talk:CirrusSearch

MediaWiki 1.39 + Elasticsearch 7.10.2 + php 8

9
Spiros71 (talkcontribs)

Has the above been tested to work without issues?

I read in the page: Note that Elasticsearch versions prior to 6.8 are not compatible with PHP 8.

Utpark (talkcontribs)

MediaWiki 1.40 + Elasticsearch 7.17 + php 8.1 has been working fine since September.

Kghbln (talkcontribs)

7.10 is not a version prior to 6.8 so I would expect it to work from reading this. You never know with Elasticsearch in combination with MediaWiki.

Anyone with actual experience?

DCausse (WMF) (talkcontribs)

CirrusSearch on 1.39 just had a couple patches back-ported from master to work flawlessly on elasticsearch 7.10.2.

Regarding PHP8: overall compatibility has increased a lot and the test suites are passing but since WMF is not running PHP8 it is hard to answer yes to your question. Most of the blockers on the CirrusSearch side have been resolved so please let us know if you encounter issue running this setup.

Spiros71 (talkcontribs)

The point is I have a rather large wiki with MW1.31, Elasticsearch 5.6.13, and php 7.3 so I try to be extra careful.

The idea is to upgrade all software in one go (will MW 1.39 support upgrade in one move form 1.31?) rather than going through all the hassle just to bump to php 7.4. It was quite a ride getting Cirrus to work properly with ICU folding last time: Topic:Upuxq1gl0v9ml4aw

I see many Wikimedia sites face similar issues, still running php 7.2 and php 7.3, is there any special way you deal with EOL php versions secutiry-wise?

DCausse (WMF) (talkcontribs)

I understand why you want to be careful here and sadly there might still be few issues regarding PHP8 in MW 1.39. Regarding your upgrade plan: beware that you won't be able to jump from elasticsearch 5.6 to 7.10 without re-creating all your indices from scratch.

Spiros71 (talkcontribs)

Thanks, yes, I was aware that I need to recreate indices; hope that analysis-icu plugin and the Extra Queries and Filters will be available for that version -:)

DCausse (WMF) (talkcontribs)

Yes all these plugins should be available for elasticsearch 7.10.2. The extra plugin might not get ported to more recent versions as the WMF is unlikely to deploy more recent versions of elasticsearch due to licensing issues.

Spiros71 (talkcontribs)

Yes, I remember you telling me about the possibility of switching to opensearch.

Reply to "MediaWiki 1.39 + Elasticsearch 7.10.2 + php 8"