Skip to content

Commit 7a98c64

Browse files
committed
Document /_query locale parameter
1 parent 9771a0b commit 7a98c64

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

specification/_doc_ids/table.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ eql-syntax,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql-
148148
eql,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/eql.html
149149
esql-query,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/esql-rest.html
150150
esql-query-params,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/esql-rest.html#esql-rest-params
151+
esql-returning-localized-results,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/esql-rest.html#esql-locale-param
151152
evaluate-dfanalytics,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/evaluate-dfanalytics.html
152153
execute-enrich-policy-api,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/execute-enrich-policy-api.html
153154
expected-reciprocal,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/search-rank-eval.html#_expected_reciprocal_rank_err

specification/esql/query/QueryRequest.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ export interface Request extends RequestBase {
5757
* Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on.
5858
*/
5959
filter?: QueryContainer
60+
/*
61+
* Returns results (especially dates) formatted per the conventions of the locale.
62+
* @doc_id esql-returning-localized-results
63+
*/
6064
locale?: string
6165
/**
6266
* To avoid any attempts of hacking or code injection, extract the values in a separate list of parameters. Use question mark placeholders (?) in the query string for each of the parameters.

0 commit comments

Comments
 (0)