Preparing for system design interviews?  Try bugzed.com →

Elasticsearch Query DSL Builder

JSON →
library 4.1.0 ·javascript
verified Jun 17, 2026

Elastic-builder is a JavaScript library designed to construct Elasticsearch Query DSL (Domain Specific Language) bodies using a fluent builder pattern, making complex queries easier to write and maintain. Currently in stable version 4.1.0, the package sees a consistent release cadence, with updates typically occurring every 1-2 months to introduce new features and maintain compatibility with modern Node.js versions. Its key differentiators include comprehensive TypeScript definitions for an enhanced development experience, compatibility with the official Elasticsearch JavaScript client, and a focus on replicating Elasticsearch 5.x DSL (while largely usable with newer versions). It provides both class-based and functional builder utilities (e.g., `new esb.MatchQuery()` vs. `esb.matchQuery()`) and recently removed `lodash` as a dependency in v4.1.0, reducing its footprint.

total hits 14
actors 5 distinct systems
last hit 15d ago ChatGPT-User
GPTBot
4
Amazonbot
4
Script
1
ChatGPT-User
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany