Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions specification/_doc_ids/table.csv
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ connector-update-scheduling,https://www.elastic.co/docs/api/doc/elasticsearch/op
connector-update-service-type,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-service-type,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/update-connector-service-type-api.html,
connector-update-status,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-status,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/update-connector-status-api.html,
convert-processor,https://www.elastic.co/docs/reference/enrich-processor/convert-processor,,
create_index_from_source_index,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/create-index-from-source,,
cron-expressions,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/api-conventions#api-cron-expressions,,
csv-processor,https://www.elastic.co/docs/reference/enrich-processor/csv-processor,,
dangling-index-delete,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-dangling-indices-delete-dangling-index,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/dangling-index-delete.html,
Expand Down Expand Up @@ -234,14 +235,17 @@ esql-get-view,https://www.elastic.co/docs/api/doc/elasticsearch#TODO,,
esql-put-view,https://www.elastic.co/docs/api/doc/elasticsearch#TODO,,
esql-delete-view,https://www.elastic.co/docs/api/doc/elasticsearch#TODO,,
evaluate-dfanalytics,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-evaluate-data-frame,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/evaluate-dfanalytics.html,
evaluate-ranked-search-results,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/search-rank-eval,,
execute-enrich-policy-api,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-enrich-execute-policy,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/execute-enrich-policy-api.html,
execute-watch,https://www.elastic.co/docs/explore-analyze/alerts-cases/watcher/execute-watch,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/watcher-api-execute-watch.html,
expected-reciprocal,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rank-eval#_expected_reciprocal_rank_err,,
explain-dfanalytics,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ml-explain-data-frame-analytics,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/explain-dfanalytics.html,
explain-lifecycle-state,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/explain-lifecycle,,
fail-processor,https://www.elastic.co/docs/reference/enrich-processor/fail-processor,,
features-reset,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-features-reset-features,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/reset-features-api.html,
field-and-document-access-control,https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level,,
field-usage-stats,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-indices-field-usage-stats,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/field-usage-stats.html,
filter-search-results,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/filter-search-results,,
find-field-structure,https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-text_structure,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/text-structure-apis.html,
find-message-structure,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-text-structure-find-message-structure,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/find-message-structure.html,
find-structure,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-text-structure-find-structure,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/find-structure.html,
Expand Down Expand Up @@ -634,10 +638,12 @@ delete-query-ruleset-from-ui,https://www.elastic.co/docs/solutions/search/query-
random_sample,https://www.elastic.co/docs/api/doc/elasticsearch/group/ingest-random-sampling,,
realtime,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-get,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/docs-get.html,
redact-processor,https://www.elastic.co/docs/reference/enrich-processor/redact-processor,,
refresh_an_index,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/refresh-parameter,,
regexp-syntax,https://www.elastic.co/docs/reference/query-languages/query-dsl/regexp-syntax,,
register-repository,https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/self-managed,,
registered-domain-processor,https://www.elastic.co/docs/reference/enrich-processor/registered-domain-processor,,
reindex-indices,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/reindex-indices,,
reindex_legacy_backing_indices,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/reindex-data-stream,,
relevance-scores,https://www.elastic.co/docs/explore-analyze/query-filter/languages/querydsl#relevance-scores,,
remove-processor,https://www.elastic.co/docs/reference/enrich-processor/remove-processor,,
remote-clusters-api-key,https://www.elastic.co/docs/deploy-manage/remote-clusters/remote-clusters-api-key,,
Expand All @@ -655,6 +661,7 @@ repository-shared-fs,https://www.elastic.co/docs/deploy-manage/tools/snapshot-an
repository-source-only,https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/source-only-repository,,
reroute-processor,https://www.elastic.co/docs/reference/enrich-processor/reroute-processor,,
render-search-template-api,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-render-search-template,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/render-search-template-api.html,
rescore-search-results,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/rescore-search-results,,
reset-transform,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-transform-reset-transform,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/reset-transform.html,
restore-snapshot,https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/restore-snapshot,,
retrieve-stored-fields,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/retrieve-stored-fields,
Expand All @@ -671,6 +678,7 @@ rollup-search-limitations,https://www.elastic.co/docs/manage-data/lifecycle/roll
rollup-start-job,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-start-job,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-start-job.html,
rollup-stop-job,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rollup-stop-job,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/rollup-stop-job.html,
routing,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-get#get-routing,,
rrf,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/reciprocal-rank-fusion,,
run-as-privilege,https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/submitting-requests-on-behalf-of-other-users,,
runtime-search-request,https://www.elastic.co/docs/manage-data/data-store/mapping/define-runtime-fields-in-search-request,,
schedule-now-transform,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-transform-schedule-now-transform,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/schedule-now-transform.html,
Expand Down Expand Up @@ -781,9 +789,12 @@ search-highlight,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/h
search-knn,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-knn-search,,
search-multi-search,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-msearch,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-multi-search.html,
search-multi-search-template,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-msearch-template,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/multi-search-template.html,
search-multiple-indices,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/search-multiple-data-streams-indices,,
search-profile,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/search-profile,,
search-rank-eval,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-rank-eval,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-rank-eval.html,
search-search,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-search.html,
search-shards,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-shards,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-shards.html,
search-shard-routing,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/search-shard-routing,,
search-template,https://www.elastic.co/docs/solutions/search/search-templates,,
search-template-api,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-template,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-template-api.html,
search-terms-enum,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-terms-enum,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/search-terms-enum.html,
Expand Down Expand Up @@ -942,6 +953,7 @@ synonym-set-delete,https://www.elastic.co/docs/api/doc/elasticsearch/operation/o
synonym-set-get,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-synonyms-get-synonym,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-synonyms-set.html,
synonym-set-list,https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-synonyms-get-synonym,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/get-synonyms-set.html,
synonym-solr,https://www.elastic.co/docs/reference/text-analysis/analysis-synonym-graph-tokenfilter#_solr_format_2,,
suggester,https://www.elastic.co/docs/reference/elasticsearch/rest-apis/search-suggesters,,
supported-flags,https://www.elastic.co/docs/reference/query-languages/query-dsl/query-dsl-simple-query-string-query#supported-flags,,
tasks,https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks,https://www.elastic.co/guide/en/elasticsearch/reference/8.18/tasks.html,
templating-role-query,https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level#templating-role-query,,
Expand Down
1 change: 1 addition & 0 deletions specification/_global/bulk/BulkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export interface Request<TDocument, TPartialDocument> extends RequestBase {
refresh?: Refresh
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_global/count/CountRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams and indices, omit this parameter or use `*` or `_all`.
* @ext_doc_id search-multiple-indices
*/
index?: Indices
}
Expand Down
1 change: 1 addition & 0 deletions specification/_global/create/CreateRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ export interface Request<TDocument> extends RequestBase {
require_data_stream?: boolean
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down
2 changes: 2 additions & 0 deletions specification/_global/delete_by_query/DeleteByQueryRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams or indices, omit this parameter or use `*` or `_all`.
* @ext_doc_id search-multiple-indices
*/
index: Indices
}
Expand Down Expand Up @@ -219,6 +220,7 @@ export interface Request extends RequestBase {
/**
* If `true`, the request cache is used for this request.
* Defaults to the index-level setting.
* @ext_doc_id shard-request-cache
*/
request_cache?: boolean
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_global/exists/DocumentExistsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ export interface Request extends RequestBase {
* A comma-separated list of stored fields to return as part of a hit.
* If no fields are specified, no stored fields are included in the response.
* If this field is specified, the `_source` parameter defaults to `false`.
* @ext_doc_id retrieve-stored-fields
*/
stored_fields?: Fields
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_global/index/IndexRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@ export interface Request<TDocument> extends RequestBase {
refresh?: Refresh
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams and indices, omit this parameter or use `*`.
* @ext_doc_id search-multiple-indices
*/
index?: Indices
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export interface Request extends RequestBase {
preference?: string
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_global/rank_eval/RankEvalRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { RankEvalMetric, RankEvalRequestItem } from './types'
* @index_privileges read
* @doc_tag search
* @doc_id search-rank-eval
* @ext_doc_id evaluate-ranked-search-results
*/
export interface Request extends RequestBase {
urls: [
Expand Down
8 changes: 8 additions & 0 deletions specification/_global/search/SearchRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams and indices, omit this parameter or use `*` or `_all`.
* @ext_doc_id search-multiple-indices
*/
index?: Indices
}
Expand Down Expand Up @@ -231,6 +232,7 @@ export interface Request extends RequestBase {
request_cache?: boolean
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down Expand Up @@ -469,12 +471,14 @@ export interface Request extends RequestBase {
* Use the `post_filter` parameter to filter search results.
* The search hits are filtered after the aggregations are calculated.
* A post filter has no impact on the aggregation results.
* @ext_doc_id filter-search-results
*/
post_filter?: QueryContainer
/**
* Set to `true` to return detailed timing information about the execution of individual components in a search request.
* NOTE: This is a debugging tool and adds significant overhead to search execution.
* @server_default false
* @ext_doc_id search-profile
*/
profile?: boolean
/**
Expand All @@ -484,6 +488,7 @@ export interface Request extends RequestBase {
query?: QueryContainer
/**
* Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the `query` and `post_filter` phases.
* @ext_doc_id rescore-search-results
*/
rescore?: Rescore | Rescore[]
/**
Expand All @@ -500,6 +505,7 @@ export interface Request extends RequestBase {
script_fields?: Dictionary<string, ScriptField>
/**
* Used to retrieve the next page of hits using a set of sort values from the previous page.
* @ext_doc_id search-after
*/
search_after?: SortResults
/**
Expand All @@ -511,6 +517,7 @@ export interface Request extends RequestBase {
size?: integer
/**
* Split a scrolled search into multiple slices that can be consumed independently.
* @ext_doc_id slice-scroll
*/
slice?: SlicedScroll
/**
Expand All @@ -533,6 +540,7 @@ export interface Request extends RequestBase {
fields?: Array<FieldAndFormat>
/**
* Defines a suggester that provides similar looking terms based on a provided text.
* @ext_doc_id suggester
*/
suggest?: Suggester
/**
Expand Down
6 changes: 6 additions & 0 deletions specification/_global/search/_types/SearchRequestBody.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,14 @@ export class SearchRequestBody {
* Use the `post_filter` parameter to filter search results.
* The search hits are filtered after the aggregations are calculated.
* A post filter has no impact on the aggregation results.
* @ext_doc_id filter-search-results
*/
post_filter?: QueryContainer
/**
* Set to `true` to return detailed timing information about the execution of individual components in a search request.
* NOTE: This is a debugging tool and adds significant overhead to search execution.
* @server_default false
* @ext_doc_id search-profile
*/
profile?: boolean
/**
Expand All @@ -128,6 +130,7 @@ export class SearchRequestBody {
query?: QueryContainer
/**
* Can be used to improve precision by reordering just the top (for example 100 - 500) documents returned by the `query` and `post_filter` phases.
* @ext_doc_id rescore-search-results
*/
rescore?: Rescore | Rescore[]
/**
Expand All @@ -144,6 +147,7 @@ export class SearchRequestBody {
script_fields?: Dictionary<string, ScriptField>
/**
* Used to retrieve the next page of hits using a set of sort values from the previous page.
* @ext_doc_id search-after
*/
search_after?: SortResults
/**
Expand All @@ -155,6 +159,7 @@ export class SearchRequestBody {
size?: integer
/**
* Split a scrolled search into multiple slices that can be consumed independently.
* @ext_doc_id slice-scroll
*/
slice?: SlicedScroll
/**
Expand All @@ -177,6 +182,7 @@ export class SearchRequestBody {
fields?: Array<FieldAndFormat>
/**
* Defines a suggester that provides similar looking terms based on a provided text.
* @ext_doc_id suggester
*/
suggest?: Suggester
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_global/search_shards/SearchShardsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams and indices, omit this parameter or use `*` or `_all`.
* @ext_doc_id search-multiple-indices
*/
index?: Indices
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface Request extends RequestBase {
/**
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* @ext_doc_id search-multiple-indices
*/
index?: Indices
}
Expand Down
2 changes: 2 additions & 0 deletions specification/_global/termvectors/TermVectorsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ export interface Request<TDocument> extends RequestBase {
realtime?: boolean
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down Expand Up @@ -230,6 +231,7 @@ export interface Request<TDocument> extends RequestBase {
term_statistics?: boolean
/**
* A custom value that is used to route operations to a specific shard.
* @ext_doc_id search-shard-routing
*/
routing?: Routing
/**
Expand Down
2 changes: 2 additions & 0 deletions specification/_global/update_by_query/UpdateByQueryRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export interface Request extends RequestBase {
* A comma-separated list of data streams, indices, and aliases to search.
* It supports wildcards (`*`).
* To search all data streams or indices, omit this parameter or use `*` or `_all`.
* @ext_doc_id search-multiple-indices
*/
index: Indices
}
Expand Down Expand Up @@ -243,6 +244,7 @@ export interface Request extends RequestBase {
/**
* If `true`, the request cache is used for this request.
* It defaults to the index-level setting.
* @ext_doc_id shard-request-cache
*/
request_cache?: boolean
/**
Expand Down
1 change: 1 addition & 0 deletions specification/_types/Knn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export interface KnnSearch {
/**
* If defined, each search hit will contain inner hits.
* @doc_id knn-inner-hits
* @ext_doc_id inner-hits
*/
inner_hits?: InnerHits
/**
Expand Down
5 changes: 4 additions & 1 deletion specification/_types/Rank.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ import { long } from '@_types/Numeric'
* @variants container
*/
export class RankContainer {
/** The reciprocal rank fusion parameters */
/**
* The reciprocal rank fusion parameters
* @ext_doc_id rrf
*/
rrf?: RrfRank
}

Expand Down
Loading