{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"}],"enrichment":{"capability":"Provides Django REST framework views, serializers, and filter backends to expose Elasticsearch documents as REST APIs with search, filtering, ordering, pagination, and aggregation support.","skillfed_tags":["elasticsearch-integration","rest-api-framework","search-backend"],"use_cases":["Build a full-text search API endpoint that accepts query strings and returns ranked results with highlighting.","Create a product catalog API with faceted filtering by category, price range, and geo-spatial distance.","Expose Elasticsearch aggregations as REST endpoints for analytics dashboards or reporting.","Implement auto-complete or suggestion endpoints using Elasticsearch suggesters.","Add complex filtering (range, prefix, wildcard, exists) to a Django REST API without custom query logic."],"what_it_does":"django-elasticsearch-dsl-drf bridges Elasticsearch DSL and Django REST framework, letting you expose Elasticsearch documents as REST API endpoints without writing boilerplate views or serializers. It provides pre-built filter backends for search, ordering, filtering, geo-spatial queries, faceting, and highlighting, plus pagination and aggregation support. You define your Elasticsearch documents using django-elasticsearch-dsl, then use this package's viewsets and serializers to turn them into queryable REST endpoints.\n\nThe package handles the integration layer between two mature ecosystems: it takes your Elasticsearch document definitions and automatically generates REST-compatible serializers, then provides filter backends that translate query parameters into Elasticsearch DSL queries. This is useful when you want full-text search, complex filtering, or faceted navigation in a Django REST API without manually translating HTTP requests into Elasticsearch queries.","worth_installing":"Yes, with conditions. The package is stable and well-documented for integrating Elasticsearch with Django REST framework, with no known vulnerabilities. However, maintenance is dormant (last release 2022-07-03), so it is best suited for projects on Django 2.2, 3.1, or 3.2 and Elasticsearch 6.x or 7.x that do not require active support. If you need compatibility with newer versions, verify compatibility first or consider alternatives."},"id":"django-elasticsearch-dsl-drf","links":{"html":"https://skillfed.io/packages/django-elasticsearch-dsl-drf","md":"https://skillfed.io/packages/django-elasticsearch-dsl-drf.md","pypi":"https://pypi.org/project/django-elasticsearch-dsl-drf/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2022-07-03","license_spdx":null,"license_treatment":"copyleft","name":"django-elasticsearch-dsl-drf","python_support":"supports_current","summary":"Integrate Elasticsearch DSL with Django REST framework."},"popularity":{"monthly_downloads":138983,"position":11313,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.22.5"}
