django-es / django-elasticsearch-dsl

This is a package that allows indexing of django models in elasticsearch with elasticsearch-dsl-py.
Other
1.02k stars 264 forks source link

Standpoint on supporting OpenSearch #373

Open nasthagiri opened 3 years ago

nasthagiri commented 3 years ago

Hi there,

I'm wondering if the maintainers of this project will consider supporting OpenSearch in addition to ElasticSearch, moving forward?

Note: My intention is not to spark a philosophical debate. I ask only to gather information for our own open-source project (Open edX) that has gratefully leveraged this project.

Thanks!

safwanrahman commented 3 years ago

I think it is out of our scope to support OpenSearch. Moving forward, the API will not be compitable with Elasticsearch so the packages that elastic maintains, can not be used by OpenSearch. Some people has reached me out personally with the issues of AWS hosted Elasticsearch, the issues seems pretty strange and I was not able to debug and help them. Moreover, it seems like elasticsearch-py raises error if try to connect with AWS hosted OpenSearch.

Considering all above, I think it is better if the OpenSearch community maintains their own set of packages like opensearch-py, opensearch-dsl-py django-opensearch-dsl.

nasthagiri commented 3 years ago

It seems the OpenSearch community has already forked to maintain opensearch-py. They have yet to do so for the DSL libraries. I will reach out to them. Thank you @safwanrahman!

nasthagiri commented 3 years ago

For posterity (in case anyone else has the same question), sharing here that the OpenSearch community does plan to create their own opensearch-dsl-py layer as well. See post.

I will need to follow up on plans for the Django-level abstraction layers.

barseghyanartur commented 2 years ago

I will certainly add support for that in django-elasticsearch-dsl-drf.

barseghyanartur commented 1 year ago

Yet experimental backlink: https://pypi.org/project/django-anysearch-dsl/