https://www.elastic.co/docs/reference/query-languages/sql/sql-rest-filtering
Filtering using Elasticsearch Query DSL | Elasticsearch Reference
You can filter the results that SQL will run on using a standard Elasticsearch Query DSL by specifying the query in the filter parameter. Which returns:...
elasticsearch queryfilteringusingdslreference
https://www.azul.com/technologies/elasticsearch/
Improve Elasticsearch Query Performance with Less Cost | Azul
elasticsearch queryless costimproveperformanceazul
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-simple-query-string-query
Simple query string query | Elasticsearch Reference
Returns documents based on a provided query string, using a parser with a limited but fault-tolerant syntax. This query uses a simple syntax to parse...
query stringsimpleelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-terms-set-query
Terms set query | Elasticsearch Reference
Returns documents that contain a minimum number of exact terms in a provided field. The terms_set query is the same as the terms query, except you can...
termssetqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query
Match query | Elasticsearch Reference
Returns documents that match a provided text, number, date or boolean value. The provided text is analyzed before matching. The match query is the standard...
matchqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/esql/esql-cross-serverless-projects
Query across Serverless projects with ES|QL | Elasticsearch Reference
Learn how to use the ES|QL language in Elasticsearch to query across multiple Serverless projects. Learn about index resolution, project routing, and accessing...
queryacrossserverlessprojectsql
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-script-score-query
Script score query | Elasticsearch Reference
Uses a script to provide a custom score for returned documents. The script_score query is useful if, for example, a scoring function is expensive and...
scriptscorequeryelasticsearchreference
https://elasticsearch-py.readthedocs.io/en/stable/esql.html
ES|QL Query Builder — Python Elasticsearch client 9.3.0 documentation
query builderelasticsearch clientesqlpython
https://www.elastic.co/docs/reference/elasticsearch/rest-apis/searching-with-query-rules
Searching with query rules | Elasticsearch Reference
Query rules allow customization of search results for queries that match specified criteria metadata. This allows for more control over results, for...
searchingqueryruleselasticsearchreference
https://www.elastic.co/elasticsearch/piped-query-language
Elasticsearch Piped Query Language (ES|QL) | Elastic
Elasticsearch Piped Query Language (ES|QL) helps teams simplify observability and security workflows by executing faster queries and enhancing detection...
query languageelasticsearchpipedesql
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-regexp-query
Regexp query | Elasticsearch Reference
Returns documents that contain terms matching a regular expression. A regular expression is a way to match patterns in data using placeholder characters,...
regexpqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages
Query languages | Elasticsearch Reference
This section contains reference information for Elastic query languages, including: Query DSL, ES|QL, SQL, EQL, KQL. For more information about each...
query languageselasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-nested-query
Nested query | Elasticsearch Reference
Wraps another query to search nested fields. The nested query searches nested field objects as if they were indexed as separate documents. If an object...
nestedqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-geo-shape-query
Geoshape query | Elasticsearch Reference
Filter documents indexed using either the geo_shape or the geo_point type. The geo_shape query uses the same index as the geo_shape or geo_point mapping...
queryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-range-query
Range query | Elasticsearch Reference
Returns documents that contain terms within a provided range. The following search returns documents where the age field contains a term between 10 and...
rangequeryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-geo-polygon-query
Geo-polygon query | Elasticsearch Reference
A query returning hits that only fall within a polygon of points. Here is an example: Format as [lon, lat] Note: the order of lon/lat here must conform...
geopolygonqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-filter-context
Query and filter context | Elasticsearch Reference
By default, Elasticsearch sorts matching search results by relevance score, which measures how well each document matches a query. The relevance score...
queryfiltercontextelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/full-text-filter-tutorial
Get started with Query DSL search and filters | Elasticsearch Reference
This is a hands-on introduction to the basics of full-text search with Elasticsearch, also known as lexical search, using the _search API and Query DSL...
get startedquery dslsearch
https://www.elastic.co/docs/reference/elasticsearch/rest-apis/query-api-keys
Query API key information examples | Elasticsearch Reference
The Query API key information API retrieves API key metadata in a paginated fashion. This page shows examples to demonstrate how to retrieve, filter,...
api keyqueryinformationexampleselasticsearch
https://bonsai.io/blog/elasticsearch-opensearch-query-sampling-relevancy/
Bonsai Blog | Fully Managed Elasticsearch & OpenSearch • Query Sampling for Relevancy Testing
When testing for relevancy, is it best to test against the most frequently asked queries, or to choose a subset of queries that may not include those that are...
bonsai blogfully managedelasticsearchopensearchquery
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-bool-prefix-query
Match boolean prefix query | Elasticsearch Reference
A match_bool_prefix query analyzes its input and constructs a bool query from the terms. Each term except the last is used in a term query. The last term...
matchbooleanprefixqueryelasticsearch
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-prefix-query
Prefix query | Elasticsearch Reference
Returns documents that contain a specific prefix in a provided field. The following search returns documents where the user.id field contains a term that...
prefixqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-sparse-vector-query
Sparse vector query | Elasticsearch Reference
The sparse vector query executes a query consisting of sparse vectors, such as built by a learned sparse retrieval model. This can be achieved with one...
sparsevectorqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/esql/commands/directives
ES|QL query directives | Elasticsearch Reference
An ES|QL directive is an instruction that defines query settings and general behavior. Directives are specified at the beginning of an ES|QL query, before...
esqlqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-span-term-query
Span term query | Elasticsearch Reference
Matches spans containing a term. Here is an example: A boost can also be associated with the query: Or :
term queryspanelasticsearchreference
https://www.elastic.co/docs/reference/elasticsearch/configuration-reference/node-query-cache-settings
Node query cache settings | Elasticsearch Reference
The results of queries used in the filter context are cached in the node query cache for fast lookup. There is one query cache per node that is shared...
nodequerycachesettingselasticsearch
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-geo-distance-query
Geo-distance query | Elasticsearch Reference
Matches geo_point and geo_shape values within a given distance of a geopoint. Assume the following documents are indexed: Use a geo_distance filter to...
geodistancequeryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-exists-query
Exists query | Elasticsearch Reference
Returns documents that contain an indexed value for a field. An indexed value may not exist for a document’s field due to a variety of reasons: The field...
existsqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-match-query-phrase
Match phrase query | Elasticsearch Reference
The match_phrase query analyzes the text and creates a phrase query out of the analyzed text. For example: A phrase query matches terms up to a configurable...
matchphrasequeryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-span-query
Span or query | Elasticsearch Reference
Matches the union of its span clauses. Here is an example: The clauses element is a list of one or more other span type queries.
spanqueryelasticsearchreference
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-query-string-query
Query string query | Elasticsearch Reference
Returns documents based on a provided query string, using a parser with a strict syntax. This query uses a syntax to parse and split the provided query...
query stringelasticsearchreference