New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Elasticsearch 8 compatiblity #1722
Conversation
cc @allisonsuarez & @dkunitsk |
cd3d56e
to
26b0c10
Compare
d7ee33f
to
088fecd
Compare
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
@mgorsk1 given all the licenses issues of ES, are we continue using ES or should we switch to Opensearch (AWS version of ES)? also has this pr been tested with the existing ES7 ? cc @allisonsuarez @dkunitsk |
I've tested it with both ES 7 (locally) and ES 8 (on our acc environment). Not sure what licensing issues you refer to? The default (always free) license of Elasticsearch makes it possible to use it for use-cases like Amundsen. |
@mgorsk1 @feng-tao |
Ah ok so Python client shared the faith of beats plugins, interesting. Indeed that's a dilemma cause it's a discussion whether we stay in elastic ecosystem or opensearch one and it's not clear to me that switching is something we really need, with time it might be that opensearch and elastic won't be greatly compatible just as @dkunitsk mentioned, so the question is which realm will give us more feature wise. In ING we self host elasticsearch on k8s using official kuberentes operator. Latest news on AWS <> Elastic battle are that both solutions will be available in cloud as SaaS after trademark feud was resolved in favor of Elastic claims: https://www.zdnet.com/article/aws-scrubs-elasticsearch-from-site-to-settle-trademark-dispute-with-elastic/. |
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com> Signed-off-by: Ozan Dogrultan <ozan.dogrultan@deliveryhero.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com> Signed-off-by: Zachary Ruiz <zacharyruiz@Zacharys-MacBook-Pro-2.local>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Signed-off-by: Mariusz Górski <gorskimariusz13@gmail.com>
Summary of Changes
Document types were already deprecated in ES 7 but are completely removed in ES 8. This PR proposes minor refactor which makes our search proxy and databuilder elasticsearch publisher job & task compatible with Elasticsearch 8 and also backwards compatible with Elasticsearch 7.
The change proposes:
_type
meta field (not available in ES 8, deprecated in ES 7)resource_type
keyword field inSearchableResource
resource_type
keyword field in databuilder jobs/tasks relying onelasticsearch_type
propertyresource_type
in search proxy to properly select which resource is being returned from elasticsearchThe proposal builds on best-practice suggestion from Elasticsearch docs: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/removal-of-types.html
Tests
Documentation
CheckList
Make sure you have checked all steps below to ensure a timely review.