We're not really talking licenses here. The very definition of "open source", according to OSI, is: "Open source software is software with source code that anyone can inspect, modify, and enhance."
Elasticsearch meets the above definition.
The permissiveness of the modification and enhancement is a different topic.