Elasticsearch DSL
summary
Elasticsearch DSL is a Python query builder that constructs real Elasticsearch JSON, delegates transport to elasticsearch-py, and returns attribute-accessible results instead of nested dicts. Demo runs against a Stack Overflow dataset (~500,000 docs) show a sample query returning 48 hits and a max score of 134. It auto-composes queries/filters, builds aggregations (buckets + metrics), supports nested and parent-child relations, and already runs in production at Mozilla.
AI-written summary · about
chapters (21)
- 0:00Introduction
- 0:47About Elasticsearch
- 3:00Example
- 4:34Queries
- 6:00Query Types
- 9:35Query
- 11:50DjangoCon
- 12:10Elastic Search
- 13:35Elastic Search Py
- 16:15Elasticsearch DSL
- 17:45Design Decisions
- 18:25Automatic Composition
- 19:10We are not sequel
- 20:20Match query
- 26:45Response object
- 29:05Search object
- 30:10Migration demo
- 33:35Query demo
- 38:10How to use it
- 39:50What is next
- 41:05Thank you
related talks
36mElasticsearch: Accelerating the Django Admin
54mAdvanced Aspects of the Django Ecosystem: Haystack, Celery & Fabric
19mSwiss Army Django: Small Footprint ETL
35mBeyond the ORM: from Postgres to OpenSearch with Andrew Mshar
25mBeyond Filters: Modern Search with Vectors in Django with Kumar Shivendu
25mHunting for Treasure in Django
26mI Didn't Know Querysets Could do That
27mDjango - Customise your SQL
