Sponsor of the Day:
Jerkmate
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.
query elasticsearch referencespan
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 :
query elasticsearch referencespanterm
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...
query elasticsearch referencematchbooleanprefix
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-span-not-query
Span not query | Elasticsearch Reference
Removes matches which overlap with another span query or which are within x tokens before (controlled by the parameter pre) or y tokens after (controlled...
query elasticsearch referencespan
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-multi-match-query
Multi-match query | Elasticsearch Reference
The multi_match query builds on the match query to allow multi-field queries: Fields can be specified with wildcards, eg: Individual fields can be boosted...
query elasticsearch referencemulti match
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...
query elasticsearch referenceprefix
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...
query elasticsearch referencegeodistance
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...
query elasticsearch referencematchphrase
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...
query elasticsearch referencescriptscore
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,...
query elasticsearch referenceregexp
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...
query elasticsearch referencematch
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...
query elasticsearch referencesparsevector
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-bool-query
Boolean query | Elasticsearch Reference
A query that matches documents matching boolean combinations of other queries. The bool query maps to Lucene BooleanQuery. It is built using one or more...
query elasticsearch referenceboolean
https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-has-child-query
Has child query | Elasticsearch Reference
Returns parent documents whose joined child documents match a provided query. You can create parent-child relationships between documents in the same...
query elasticsearch referencechild
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:...
using elasticsearchquery dslfilteringreference
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...
elasticsearch referencesearchingqueryrules
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 stringelasticsearch referencesimple
https://www.elastic.co/docs/reference/query-languages/querydsl
Query DSL | Elasticsearch Reference
Elasticsearch provides a full Query DSL (Domain Specific Language) based on JSON to define queries. Think of the Query DSL as an AST (Abstract Syntax...
query dslelasticsearch reference
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,...
query apikey informationexamples elasticsearchreference
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 languageselasticsearch reference
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 dslelasticsearch referencefilters