Elasticsearch-js: Any intention for support for a high-level DSL client?

Created on 12 Dec 2018  路  5Comments  路  Source: elastic/elasticsearch-js

The Python client has an officially supported high-level DSL wrapper: https://github.com/elastic/elasticsearch-dsl-py

Unofficial repos like https://github.com/sudo-suhas/elastic-builder are useful, but only in building the body of queries and does not contain wrappers for mappings, analyzers, etc. like the Python DSL has. The current documentation for 6.5 even recommends using packages like these to help construct queries (see https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference-6-5.html#api-search-6-5).

Is there any intention for a similar type of wrapper for Node.js as well?

feature request

Most helpful comment

Hello! At the moment, we are in the process of refactoring the current client, you can see the status of the work in the next branch.
Once it's finished, prototype a high-level DSL wrapper is definitely on the roadmap :)

All 5 comments

Hello! At the moment, we are in the process of refactoring the current client, you can see the status of the work in the next branch.
Once it's finished, prototype a high-level DSL wrapper is definitely on the roadmap :)

Was also looking for a Lucene/ES DSL query builder. Really disappointing this doesn't exist.

However, found https://github.com/sudo-suhas/elastic-builder so I will use that.

I was looking at that too but it's 2 full DSL versions behind, which is very unfortunate.

Honestly I'm a bit unimpressed by the JS tooling for elasticsearch

AFAIK bodybuilder has been kept somewhat up to date.

Hello! We are working on a dsl, we will start asking for feedback soon :)

Was this page helpful?
0 / 5 - 0 ratings