elasticsearch
Elasticsearch came back

On the twenty-ninth of August, Elastic added the GNU Affero General Public License v3 as an option for the source of Elasticsearch and Kibana, alongside the existing SSPL and Elastic License 2.0. AGPL is an OSI-approved licence, so Elasticsearch is officially open source again, three and a half years after it stopped being.
Every other licence story I've written about in the last year went the other way.
What happened before
In 2021 Elastic moved Elasticsearch and Kibana off Apache 2.0 onto a dual SSPL and Elastic License arrangement, aimed at cloud providers offering the software as a managed service without contributing back. AWS forked the last Apache-licensed release, and OpenSearch exists because of it.
That fork is a mature, separately-governed project by now, with its own users, and it doesn't un-happen because the upstream licence changed back. Elasticsearch became open source again in August, but OpenSearch is still there as an alternative.
Three licences to choose from
Nothing was replaced. Users can now choose AGPL, SSPL or ELv2 for the free part of the source, and existing users on either of the previous two are unaffected. Binary distributions don't change.
AGPL is the notable choice because of what it does to the case Elastic was arguing about in the first place. A permissive licence lets a cloud provider run the software as a service and keep their modifications. AGPL closes that one gap. If you provide the software to users over a network, the source of your version has to be available to them. So its a copyleft answer to the same problem SSPL was written to solve, except that AGPL is a recognised open-source licence with decades of history and SSPL never was.
So the company gets most of what it wanted in 2021, and gets to be open source while doing it. I think that's available now and wasn't then mostly because the argument moved on - the cloud providers built their forks, the competition settled, and what the original licence was defending had already happened.
Lucene was never in play
What I care about in all this is Lucene, and Lucene is why the licence changes never worried me much.
I wrote a while ago about every string search I did not have to write, meaning the analysers, the tokenisers, the chain that makes chemical names searchable. All of that is Apache Lucene. Lucene has been Apache 2.0 throughout, it's governed by the Apache Software Foundation, and it was unaffected by anything Elastic or AWS decided.
Elasticsearch and OpenSearch are both distributed systems wrapped around Lucene, and the licence fights were about the wrapper. The searching itself (the inverted index, the analysis chain, the scoring) was never part of the fight. That's why a fork was viable at all, and why the the two projects remain as similar as they are.
After watching three of these in a year, asking whether a dependency's licence could change doesn't seem like enough to me. I want to know where the irreplaceable part sits, and whether that part is governed by someone with a reason to change its terms. A project owned by a company that needs to make money from it is in a different position from one held by a foundation, and knowing which is which tells you more than reading either licence.
What I would do about it
If you're on OpenSearch, nothing. It works, it is Apache 2.0, and switching back for licence reasons alone would be a migration you pay for and get nothing functional back.
If you avoided Elasticsearch since 2021 on licence grounds, that objection is gone and I'd re-evaluate it on the merits. That now means comparing two diverged projects, not one project and its recent copy. Three and a half years is long enough for the feature sets, the operational behaviour and the managed-service options to differ in ways that matter more than the licence ever did.
And if you're starting something new, the choice is back to being a technical one. The licence stops being a factor and you get to decide on the software.


