django-elasticsearch-dsl-drf
django-elasticsearch-dsl-drf copied to clipboard
Integrate Elasticsearch DSL with Django REST framework.
**Adding the fork below to your requirements.txt file can be a quick solution until this pull request is accepted** > git+https://github.com/abdelslam1997/django-elasticsearch-dsl-drf.git@master
When I updated the django-elasticsearch-dsl version from version 7.2.2 to version 8.0 for my own project, I received an error that the AggsProxy class could not be imported. The error...
Edit the file utils.py and replace the "from elasticsearch_dsl.search import AggsProxy" with the "from elasticsearch_dsl.search_base import AggsProxy" It will be very use full if You just merge it with the...
We store our timestamps as UTC in Elasticsearch. When we use the expressions like `today` or `now-1d` with the date range queries, we can get incorrect results. Looking at the...
**ModuleNotFoundError: No module named 'distutils'** The new release of setuptools -> 77.0.1 has started to cause a problem. ``` File "/Users/laptop/project/venv/lib/python3.12/site-packages/django_elasticsearch_dsl_drf/versions.py", line 6, in from distutils.version import LooseVersion ModuleNotFoundError: No...
See [this comment](https://github.com/barseghyanartur/django-elasticsearch-dsl-drf/pull/316#discussion_r1596499499) by @miguelgrinberg (elasticsearch-dsl team @ Elastic). This PR fixes the import issue in a future-proof way, while still being backward compatible. ``` AggsProxy can't be imported |...