Skip to content
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

Add Support Elasticsearch 5.x #131

Open
civovic opened this issue Aug 15, 2018 · 6 comments
Open

Add Support Elasticsearch 5.x #131

civovic opened this issue Aug 15, 2018 · 6 comments

Comments

@civovic
Copy link

civovic commented Aug 15, 2018

I see Pipfile using elasticsearch = "<3.0.0,>=2.0.0"

I have a problem when using elasticsearch 5.x with docker? because elastic 2.4.1 docker isn't avalaible
Is it possible update that elastic python library using elasticsearch>=5.0.0,<6.0.0 ?

thank you in advance

@rhblind
Copy link
Owner

rhblind commented Aug 15, 2018

Have to wait for new release of django-haystack before adding support for ES5. I see they have support in their master branch, but no released version yet.

@piedrahitapablo
Copy link

Haystack now supports elasticsearch 5.x.x, can drf-haystack be used with the new version of haystack? or there any other issues aside from the pipfile? in advance

@Afnarel
Copy link

Afnarel commented May 25, 2022

Now, django-haystack supports ElasticSearch 7.x.x in its versions >=3.2: https://github.com/django-haystack/django-haystack/blob/v3.2.1/setup.py#L61

I saw here that @rhblind is trying to pass it on to someone else (@decibyte ou JazzBand?). What is the exact status? Can we expect a support for django-haystack >=3.2 (and therefore ElasticSearch >=7)?

My problem is I would like to move to drf-haystack but I have django-elasticsearch-dsl and elasticsearch-dsl installed and they require at least elasticsearch >=6, so there is a conflict between the two.

Thanks for the work on this package by the way!

@mka142
Copy link
Contributor

mka142 commented May 25, 2022

I am using ElasticSearch 7.17.0 and i'ts working fine. You just need to install drf-haystack from source pip install -e git+https://github.com/rhblind/drf-haystack.git#egg=drf-haystack. Support for django-haystackk <=3.2 was added by #164, but there was no any new release since then.

@Afnarel
Copy link

Afnarel commented May 25, 2022

Ah yes indeed it is supported on the master branch. Unfortunately I'm not sure I will be able to install it without a specific release since the project I'm working on has a strict policy of fixing versions of packages. Thank you for your help in any case :)

Maybe this issue is not the best place to discuss this, but I checked the documentation and didn't see anything about a release cycle. Do you know if there are specific rules in place for this project, or if a new release is planned anytime soon?

@mka142
Copy link
Contributor

mka142 commented May 26, 2022

Sorry, I don't know. It's rather question for the author.
I think that you can also omit your policy by publishing your own version of drf-haystack from master brach on pypi. Of course it't not the point, but for now I don't see any other possibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants