myarik / django-rest-elasticsearch

Elasticsearch support for Django REST Framework
Other
192 stars 38 forks source link

ES 6.x #19

Closed Beenhakker closed 6 years ago

Beenhakker commented 6 years ago

Hi,

Just curious: when will there be support for ES 6.x? I have already based my latest application on it.

Kind regards,

Bas

dmvass commented 6 years ago

Hi @Beenhakker,

The django-rest-elasticsearch used elasticsearch-dsl-py for Elasticsearch aptitudes integration and this one is supporting 6.x version now. If you are needs in some custom query to Elasticsearch you could overload ElasticSearchFilter.get_es_query for this.

codekiln commented 6 years ago

@kandziu will you please update setup.py to allow for ES 6.x?

Also, since es_inspector uses rest_framework.schemas.AutoSchema which requires djangorestframework>=3.7.0, which has a number of breaking changes, this package should likely also list those constraints.

Also, I just happened to notice that setup.py has a different license than the one in the LICENSE file.

dmvass commented 6 years ago

@codekiln setup.py fixed in the #23 and djangorestframework>=3.7 was closed in the #22