Elasticsearch DSL
Introduction to Elasticsearch DSL
We provide ready-to-use Elasticsearch DSL (Domain Specific Language) schemas that simplify how clients interact with the provided data. Instead of building complex queries from scratch, you can leverage our curated DSL structures to search, filter, and analyze your data with speed and precision.
JSON-based schemas are optimized for common use cases and data models, enabling you to implement powerful full-text search, filtering, and aggregations without requiring in-depth knowledge of Elasticsearch internals. Nevertheless, Elasticsearch schema allows you to use more sophisticated queries like fuzzy and wildcard queries.
For all specific Elasticsearch DSL information, please refer to their official documentation.
When sending Elasticsearch DSL search requests, the result set includes only record IDs. The endpoint does not return complete record data, regardless of the query's complexity. To obtain full record details, a collect request must be sent.
Having trouble writing Elasticsearch queries on your own?
Explore AI query builder feature available in Self-service playground. Write a prompt, and AI assistant will automatically convert it into a query.
Discover products
Find all APIs Elasticsearch DSL schemas, request samples and additional information.
Possible input values
Several fields have a predefined list of possible input values. Find these lists below.
Sorting options
There are several sorting options to help you read your request results. All queries can be sorted by two options: sort by id or _score. If you omit the sorting part entirely, results will be listed by last_updated in descending order.
Sorting by _score enables you to view search results in order of relevance, with the most relevant items appearing first.
Sorting by ID arranges the list of IDs in ascending order, starting from the smallest value and progressing to the largest.
Several entities offer additional sorting options, which you can find in Elasticsearch DSL related topics.
Limitations
We do not own the functions and syntax that this endpoint operates in. For all specific Elasticsearch DSL information, please refer to their official documentation.
The endpoint accepts the query object of a standard Elasticsearch request.
No matter the content of the query, the search only returns record IDs (like all other Search endpoints).
Queries in this endpoint are limited to 15,000 characters.
The maximum number of clauses a BooleanQuery can contain (number of boolean operators within the query) is 1024.
More information on Elasticsearch DSL
Last updated
Was this helpful?