diff --git a/docs/reference-main-index.asciidoc b/docs/reference-main-index.asciidoc index 2d7939a68..e80f1c96f 100644 --- a/docs/reference-main-index.asciidoc +++ b/docs/reference-main-index.asciidoc @@ -529,86 +529,86 @@ include::reference-watcher-stop.asciidoc[] include::reference-watcher-update_settings.asciidoc[] include::reference-xpack-info.asciidoc[] include::reference-xpack-usage.asciidoc[] -include::reference-shared-types-knn_search.asciidoc[] -include::reference-shared-types-search.asciidoc[] -include::reference-shared-types-search_mvt.asciidoc[] -include::reference-shared-types-async_search.asciidoc[] -include::reference-shared-types-autoscaling.asciidoc[] -include::reference-shared-types-cat.asciidoc[] -include::reference-shared-types-ccr.asciidoc[] -include::reference-shared-types-cluster.asciidoc[] -include::reference-shared-types-connector.asciidoc[] -include::reference-shared-types-enrich.asciidoc[] -include::reference-shared-types-eql.asciidoc[] -include::reference-shared-types-esql.asciidoc[] -include::reference-shared-types-features.asciidoc[] -include::reference-shared-types-fleet.asciidoc[] -include::reference-shared-types-graph.asciidoc[] -include::reference-shared-types-ilm.asciidoc[] -include::reference-shared-types-indices.asciidoc[] -include::reference-shared-types-indices.asciidoc[] -include::reference-shared-types-inference.asciidoc[] -include::reference-shared-types-ingest.asciidoc[] -include::reference-shared-types-license.asciidoc[] -include::reference-shared-types-logstash.asciidoc[] -include::reference-shared-types-ml.asciidoc[] -include::reference-shared-types-nodes.asciidoc[] -include::reference-shared-types-query_rules.asciidoc[] -include::reference-shared-types-rollup.asciidoc[] -include::reference-shared-types-search_application.asciidoc[] -include::reference-shared-types-searchable_snapshots.asciidoc[] -include::reference-shared-types-security.asciidoc[] -include::reference-shared-types-shutdown.asciidoc[] -include::reference-shared-types-slm.asciidoc[] -include::reference-shared-types-snapshot.asciidoc[] -include::reference-shared-types-synonyms.asciidoc[] -include::reference-shared-types-tasks.asciidoc[] -include::reference-shared-types-transform.asciidoc[] -include::reference-shared-types-watcher.asciidoc[] -include::reference-shared-types-bulk.asciidoc[] -include::reference-shared-types-clear_scroll.asciidoc[] -include::reference-shared-types-close_point_in_time.asciidoc[] -include::reference-shared-types-count.asciidoc[] -include::reference-shared-types-create.asciidoc[] -include::reference-shared-types-delete.asciidoc[] -include::reference-shared-types-delete_by_query.asciidoc[] -include::reference-shared-types-delete_by_query_rethrottle.asciidoc[] -include::reference-shared-types-delete_script.asciidoc[] -include::reference-shared-types-exists.asciidoc[] -include::reference-shared-types-exists_source.asciidoc[] -include::reference-shared-types-explain.asciidoc[] -include::reference-shared-types-field_caps.asciidoc[] -include::reference-shared-types-get.asciidoc[] -include::reference-shared-types-get_script.asciidoc[] -include::reference-shared-types-get_script_context.asciidoc[] -include::reference-shared-types-get_script_languages.asciidoc[] -include::reference-shared-types-get_source.asciidoc[] -include::reference-shared-types-health_report.asciidoc[] -include::reference-shared-types-index.asciidoc[] -include::reference-shared-types-info.asciidoc[] -include::reference-shared-types-knn_search.asciidoc[] -include::reference-shared-types-mget.asciidoc[] -include::reference-shared-types-msearch.asciidoc[] -include::reference-shared-types-msearch_template.asciidoc[] -include::reference-shared-types-mtermvectors.asciidoc[] -include::reference-shared-types-open_point_in_time.asciidoc[] -include::reference-shared-types-ping.asciidoc[] -include::reference-shared-types-put_script.asciidoc[] -include::reference-shared-types-rank_eval.asciidoc[] -include::reference-shared-types-reindex.asciidoc[] -include::reference-shared-types-reindex_rethrottle.asciidoc[] -include::reference-shared-types-render_search_template.asciidoc[] -include::reference-shared-types-scripts_painless_execute.asciidoc[] -include::reference-shared-types-scroll.asciidoc[] -include::reference-shared-types-search.asciidoc[] -include::reference-shared-types-search_mvt.asciidoc[] -include::reference-shared-types-search_shards.asciidoc[] -include::reference-shared-types-search_template.asciidoc[] -include::reference-shared-types-terms_enum.asciidoc[] -include::reference-shared-types-termvectors.asciidoc[] -include::reference-shared-types-update.asciidoc[] -include::reference-shared-types-update_by_query.asciidoc[] -include::reference-shared-types-update_by_query_rethrottle.asciidoc[] +include::reference-shared-types--global-knn-search-types.asciidoc[] +include::reference-shared-types--global-search-types.asciidoc[] +include::reference-shared-types--global-search-mvt-types.asciidoc[] +include::reference-shared-types-async-search-types.asciidoc[] +include::reference-shared-types-autoscaling-types.asciidoc[] +include::reference-shared-types-cat-types.asciidoc[] +include::reference-shared-types-ccr-types.asciidoc[] +include::reference-shared-types-cluster-types.asciidoc[] +include::reference-shared-types-connector-types.asciidoc[] +include::reference-shared-types-enrich-types.asciidoc[] +include::reference-shared-types-eql-types.asciidoc[] +include::reference-shared-types-esql-types.asciidoc[] +include::reference-shared-types-features-types.asciidoc[] +include::reference-shared-types-fleet-types.asciidoc[] +include::reference-shared-types-graph-types.asciidoc[] +include::reference-shared-types-ilm-types.asciidoc[] +include::reference-shared-types-indices-types.asciidoc[] +include::reference-shared-types-indices-forcemerge-types.asciidoc[] +include::reference-shared-types-inference-types.asciidoc[] +include::reference-shared-types-ingest-types.asciidoc[] +include::reference-shared-types-license-types.asciidoc[] +include::reference-shared-types-logstash-types.asciidoc[] +include::reference-shared-types-ml-types.asciidoc[] +include::reference-shared-types-nodes-types.asciidoc[] +include::reference-shared-types-query-rules-types.asciidoc[] +include::reference-shared-types-rollup-types.asciidoc[] +include::reference-shared-types-search-application-types.asciidoc[] +include::reference-shared-types-searchable-snapshots-types.asciidoc[] +include::reference-shared-types-security-types.asciidoc[] +include::reference-shared-types-shutdown-types.asciidoc[] +include::reference-shared-types-slm-types.asciidoc[] +include::reference-shared-types-snapshot-types.asciidoc[] +include::reference-shared-types-synonyms-types.asciidoc[] +include::reference-shared-types-tasks-types.asciidoc[] +include::reference-shared-types-transform-types.asciidoc[] +include::reference-shared-types-watcher-types.asciidoc[] +include::reference-shared-types--global-bulk.asciidoc[] +include::reference-shared-types--global-clear-scroll.asciidoc[] +include::reference-shared-types--global-close-point-in-time.asciidoc[] +include::reference-shared-types--global-count.asciidoc[] +include::reference-shared-types--global-create.asciidoc[] +include::reference-shared-types--global-delete.asciidoc[] +include::reference-shared-types--global-delete-by-query.asciidoc[] +include::reference-shared-types--global-delete-by-query-rethrottle.asciidoc[] +include::reference-shared-types--global-delete-script.asciidoc[] +include::reference-shared-types--global-exists.asciidoc[] +include::reference-shared-types--global-exists-source.asciidoc[] +include::reference-shared-types--global-explain.asciidoc[] +include::reference-shared-types--global-field-caps.asciidoc[] +include::reference-shared-types--global-get.asciidoc[] +include::reference-shared-types--global-get-script.asciidoc[] +include::reference-shared-types--global-get-script-context.asciidoc[] +include::reference-shared-types--global-get-script-languages.asciidoc[] +include::reference-shared-types--global-get-source.asciidoc[] +include::reference-shared-types--global-health-report.asciidoc[] +include::reference-shared-types--global-index.asciidoc[] +include::reference-shared-types--global-info.asciidoc[] +include::reference-shared-types--global-knn-search.asciidoc[] +include::reference-shared-types--global-mget.asciidoc[] +include::reference-shared-types--global-msearch.asciidoc[] +include::reference-shared-types--global-msearch-template.asciidoc[] +include::reference-shared-types--global-mtermvectors.asciidoc[] +include::reference-shared-types--global-open-point-in-time.asciidoc[] +include::reference-shared-types--global-ping.asciidoc[] +include::reference-shared-types--global-put-script.asciidoc[] +include::reference-shared-types--global-rank-eval.asciidoc[] +include::reference-shared-types--global-reindex.asciidoc[] +include::reference-shared-types--global-reindex-rethrottle.asciidoc[] +include::reference-shared-types--global-render-search-template.asciidoc[] +include::reference-shared-types--global-scripts-painless-execute.asciidoc[] +include::reference-shared-types--global-scroll.asciidoc[] +include::reference-shared-types--global-search.asciidoc[] +include::reference-shared-types--global-search-mvt.asciidoc[] +include::reference-shared-types--global-search-shards.asciidoc[] +include::reference-shared-types--global-search-template.asciidoc[] +include::reference-shared-types--global-terms-enum.asciidoc[] +include::reference-shared-types--global-termvectors.asciidoc[] +include::reference-shared-types--global-update.asciidoc[] +include::reference-shared-types--global-update-by-query.asciidoc[] +include::reference-shared-types--global-update-by-query-rethrottle.asciidoc[] * <> diff --git a/docs/reference-shared-types-bulk.asciidoc b/docs/reference-shared-types--global-bulk.asciidoc similarity index 100% rename from docs/reference-shared-types-bulk.asciidoc rename to docs/reference-shared-types--global-bulk.asciidoc diff --git a/docs/reference-shared-types-clear_scroll.asciidoc b/docs/reference-shared-types--global-clear-scroll.asciidoc similarity index 100% rename from docs/reference-shared-types-clear_scroll.asciidoc rename to docs/reference-shared-types--global-clear-scroll.asciidoc diff --git a/docs/reference-shared-types-close_point_in_time.asciidoc b/docs/reference-shared-types--global-close-point-in-time.asciidoc similarity index 100% rename from docs/reference-shared-types-close_point_in_time.asciidoc rename to docs/reference-shared-types--global-close-point-in-time.asciidoc diff --git a/docs/reference-shared-types-count.asciidoc b/docs/reference-shared-types--global-count.asciidoc similarity index 100% rename from docs/reference-shared-types-count.asciidoc rename to docs/reference-shared-types--global-count.asciidoc diff --git a/docs/reference-shared-types-create.asciidoc b/docs/reference-shared-types--global-create.asciidoc similarity index 100% rename from docs/reference-shared-types-create.asciidoc rename to docs/reference-shared-types--global-create.asciidoc diff --git a/docs/reference-shared-types-delete_by_query_rethrottle.asciidoc b/docs/reference-shared-types--global-delete-by-query-rethrottle.asciidoc similarity index 100% rename from docs/reference-shared-types-delete_by_query_rethrottle.asciidoc rename to docs/reference-shared-types--global-delete-by-query-rethrottle.asciidoc diff --git a/docs/reference-shared-types-delete_by_query.asciidoc b/docs/reference-shared-types--global-delete-by-query.asciidoc similarity index 100% rename from docs/reference-shared-types-delete_by_query.asciidoc rename to docs/reference-shared-types--global-delete-by-query.asciidoc diff --git a/docs/reference-shared-types-delete_script.asciidoc b/docs/reference-shared-types--global-delete-script.asciidoc similarity index 100% rename from docs/reference-shared-types-delete_script.asciidoc rename to docs/reference-shared-types--global-delete-script.asciidoc diff --git a/docs/reference-shared-types-delete.asciidoc b/docs/reference-shared-types--global-delete.asciidoc similarity index 100% rename from docs/reference-shared-types-delete.asciidoc rename to docs/reference-shared-types--global-delete.asciidoc diff --git a/docs/reference-shared-types-exists_source.asciidoc b/docs/reference-shared-types--global-exists-source.asciidoc similarity index 100% rename from docs/reference-shared-types-exists_source.asciidoc rename to docs/reference-shared-types--global-exists-source.asciidoc diff --git a/docs/reference-shared-types-exists.asciidoc b/docs/reference-shared-types--global-exists.asciidoc similarity index 100% rename from docs/reference-shared-types-exists.asciidoc rename to docs/reference-shared-types--global-exists.asciidoc diff --git a/docs/reference-shared-types-explain.asciidoc b/docs/reference-shared-types--global-explain.asciidoc similarity index 100% rename from docs/reference-shared-types-explain.asciidoc rename to docs/reference-shared-types--global-explain.asciidoc diff --git a/docs/reference-shared-types-field_caps.asciidoc b/docs/reference-shared-types--global-field-caps.asciidoc similarity index 100% rename from docs/reference-shared-types-field_caps.asciidoc rename to docs/reference-shared-types--global-field-caps.asciidoc diff --git a/docs/reference-shared-types-get_script_context.asciidoc b/docs/reference-shared-types--global-get-script-context.asciidoc similarity index 100% rename from docs/reference-shared-types-get_script_context.asciidoc rename to docs/reference-shared-types--global-get-script-context.asciidoc diff --git a/docs/reference-shared-types-get_script_languages.asciidoc b/docs/reference-shared-types--global-get-script-languages.asciidoc similarity index 100% rename from docs/reference-shared-types-get_script_languages.asciidoc rename to docs/reference-shared-types--global-get-script-languages.asciidoc diff --git a/docs/reference-shared-types-get_script.asciidoc b/docs/reference-shared-types--global-get-script.asciidoc similarity index 100% rename from docs/reference-shared-types-get_script.asciidoc rename to docs/reference-shared-types--global-get-script.asciidoc diff --git a/docs/reference-shared-types-get_source.asciidoc b/docs/reference-shared-types--global-get-source.asciidoc similarity index 100% rename from docs/reference-shared-types-get_source.asciidoc rename to docs/reference-shared-types--global-get-source.asciidoc diff --git a/docs/reference-shared-types-get.asciidoc b/docs/reference-shared-types--global-get.asciidoc similarity index 100% rename from docs/reference-shared-types-get.asciidoc rename to docs/reference-shared-types--global-get.asciidoc diff --git a/docs/reference-shared-types-health_report.asciidoc b/docs/reference-shared-types--global-health-report.asciidoc similarity index 100% rename from docs/reference-shared-types-health_report.asciidoc rename to docs/reference-shared-types--global-health-report.asciidoc diff --git a/docs/reference-shared-types-index.asciidoc b/docs/reference-shared-types--global-index.asciidoc similarity index 100% rename from docs/reference-shared-types-index.asciidoc rename to docs/reference-shared-types--global-index.asciidoc diff --git a/docs/reference-shared-types-info.asciidoc b/docs/reference-shared-types--global-info.asciidoc similarity index 100% rename from docs/reference-shared-types-info.asciidoc rename to docs/reference-shared-types--global-info.asciidoc diff --git a/docs/reference-shared-types--global-knn-search-types.asciidoc b/docs/reference-shared-types--global-knn-search-types.asciidoc new file mode 100644 index 000000000..3d247d183 --- /dev/null +++ b/docs/reference-shared-types--global-knn-search-types.asciidoc @@ -0,0 +1,54 @@ +[[reference-shared-types-knn_search]] + +//////// +=========================================================================================================================== +|| || +|| || +|| || +|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || +|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || +|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || +|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || +|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || +|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || +|| || +|| || +|| This file is autogenerated, DO NOT send pull requests that changes this file directly. || +|| You should update the script that does the generation, which can be found in: || +|| https://github.com/elastic/elastic-client-generator-js || +|| || +|| You can run the script with the following command: || +|| npm run elasticsearch -- --version || +|| || +|| || +|| || +=========================================================================================================================== +//////// + + + +== Shared KnnSearch types + + +[discrete] +[[KnnSearchQuery]] +=== KnnSearchQuery + +[pass] +++++ +
+++++
+interface KnnSearchQuery {
+  pass:[/**] @property field The name of the vector field to search against */
+  field: <>
+  pass:[/**] @property query_vector The query vector */
+  query_vector: <>
+  pass:[/**] @property k The final number of nearest neighbors to return as top hits */
+  k: <>
+  pass:[/**] @property num_candidates The number of nearest neighbor candidates to consider per shard */
+  num_candidates: <>
+}
+[pass]
+++++
+
+++++ diff --git a/docs/reference-shared-types-knn_search.asciidoc b/docs/reference-shared-types--global-knn-search.asciidoc similarity index 100% rename from docs/reference-shared-types-knn_search.asciidoc rename to docs/reference-shared-types--global-knn-search.asciidoc diff --git a/docs/reference-shared-types-mget.asciidoc b/docs/reference-shared-types--global-mget.asciidoc similarity index 100% rename from docs/reference-shared-types-mget.asciidoc rename to docs/reference-shared-types--global-mget.asciidoc diff --git a/docs/reference-shared-types-msearch_template.asciidoc b/docs/reference-shared-types--global-msearch-template.asciidoc similarity index 100% rename from docs/reference-shared-types-msearch_template.asciidoc rename to docs/reference-shared-types--global-msearch-template.asciidoc diff --git a/docs/reference-shared-types-msearch.asciidoc b/docs/reference-shared-types--global-msearch.asciidoc similarity index 100% rename from docs/reference-shared-types-msearch.asciidoc rename to docs/reference-shared-types--global-msearch.asciidoc diff --git a/docs/reference-shared-types-mtermvectors.asciidoc b/docs/reference-shared-types--global-mtermvectors.asciidoc similarity index 100% rename from docs/reference-shared-types-mtermvectors.asciidoc rename to docs/reference-shared-types--global-mtermvectors.asciidoc diff --git a/docs/reference-shared-types-open_point_in_time.asciidoc b/docs/reference-shared-types--global-open-point-in-time.asciidoc similarity index 100% rename from docs/reference-shared-types-open_point_in_time.asciidoc rename to docs/reference-shared-types--global-open-point-in-time.asciidoc diff --git a/docs/reference-shared-types-ping.asciidoc b/docs/reference-shared-types--global-ping.asciidoc similarity index 100% rename from docs/reference-shared-types-ping.asciidoc rename to docs/reference-shared-types--global-ping.asciidoc diff --git a/docs/reference-shared-types-put_script.asciidoc b/docs/reference-shared-types--global-put-script.asciidoc similarity index 100% rename from docs/reference-shared-types-put_script.asciidoc rename to docs/reference-shared-types--global-put-script.asciidoc diff --git a/docs/reference-shared-types-rank_eval.asciidoc b/docs/reference-shared-types--global-rank-eval.asciidoc similarity index 100% rename from docs/reference-shared-types-rank_eval.asciidoc rename to docs/reference-shared-types--global-rank-eval.asciidoc diff --git a/docs/reference-shared-types-reindex_rethrottle.asciidoc b/docs/reference-shared-types--global-reindex-rethrottle.asciidoc similarity index 100% rename from docs/reference-shared-types-reindex_rethrottle.asciidoc rename to docs/reference-shared-types--global-reindex-rethrottle.asciidoc diff --git a/docs/reference-shared-types-reindex.asciidoc b/docs/reference-shared-types--global-reindex.asciidoc similarity index 100% rename from docs/reference-shared-types-reindex.asciidoc rename to docs/reference-shared-types--global-reindex.asciidoc diff --git a/docs/reference-shared-types-render_search_template.asciidoc b/docs/reference-shared-types--global-render-search-template.asciidoc similarity index 100% rename from docs/reference-shared-types-render_search_template.asciidoc rename to docs/reference-shared-types--global-render-search-template.asciidoc diff --git a/docs/reference-shared-types-scripts_painless_execute.asciidoc b/docs/reference-shared-types--global-scripts-painless-execute.asciidoc similarity index 100% rename from docs/reference-shared-types-scripts_painless_execute.asciidoc rename to docs/reference-shared-types--global-scripts-painless-execute.asciidoc diff --git a/docs/reference-shared-types-scroll.asciidoc b/docs/reference-shared-types--global-scroll.asciidoc similarity index 100% rename from docs/reference-shared-types-scroll.asciidoc rename to docs/reference-shared-types--global-scroll.asciidoc diff --git a/docs/reference-shared-types--global-search-mvt-types.asciidoc b/docs/reference-shared-types--global-search-mvt-types.asciidoc new file mode 100644 index 000000000..e8c12ec90 --- /dev/null +++ b/docs/reference-shared-types--global-search-mvt-types.asciidoc @@ -0,0 +1,87 @@ +[[reference-shared-types-search_mvt]] + +//////// +=========================================================================================================================== +|| || +|| || +|| || +|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || +|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || +|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || +|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || +|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || +|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || +|| || +|| || +|| This file is autogenerated, DO NOT send pull requests that changes this file directly. || +|| You should update the script that does the generation, which can be found in: || +|| https://github.com/elastic/elastic-client-generator-js || +|| || +|| You can run the script with the following command: || +|| npm run elasticsearch -- --version || +|| || +|| || +|| || +=========================================================================================================================== +//////// + + + +== Shared SearchMvt types + + +[discrete] +[[SearchMvtCoordinate]] +=== SearchMvtCoordinate + +[pass] +++++ +
+++++
+type SearchMvtCoordinate = <>
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchMvtGridAggregationType]] +=== SearchMvtGridAggregationType + +[pass] +++++ +
+++++
+type SearchMvtGridAggregationType = 'geotile' | 'geohex'
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchMvtGridType]] +=== SearchMvtGridType + +[pass] +++++ +
+++++
+type SearchMvtGridType = 'grid' | 'point' | 'centroid'
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchMvtZoomLevel]] +=== SearchMvtZoomLevel + +[pass] +++++ +
+++++
+type SearchMvtZoomLevel = <>
+[pass]
+++++
+
+++++ diff --git a/docs/reference-shared-types-search_mvt.asciidoc b/docs/reference-shared-types--global-search-mvt.asciidoc similarity index 100% rename from docs/reference-shared-types-search_mvt.asciidoc rename to docs/reference-shared-types--global-search-mvt.asciidoc diff --git a/docs/reference-shared-types-search_shards.asciidoc b/docs/reference-shared-types--global-search-shards.asciidoc similarity index 100% rename from docs/reference-shared-types-search_shards.asciidoc rename to docs/reference-shared-types--global-search-shards.asciidoc diff --git a/docs/reference-shared-types-search_template.asciidoc b/docs/reference-shared-types--global-search-template.asciidoc similarity index 100% rename from docs/reference-shared-types-search_template.asciidoc rename to docs/reference-shared-types--global-search-template.asciidoc diff --git a/docs/reference-shared-types-search.asciidoc b/docs/reference-shared-types--global-search-types.asciidoc similarity index 92% rename from docs/reference-shared-types-search.asciidoc rename to docs/reference-shared-types--global-search-types.asciidoc index 1ff457c21..edf293f12 100644 --- a/docs/reference-shared-types-search.asciidoc +++ b/docs/reference-shared-types--global-search-types.asciidoc @@ -31,82 +31,47 @@ [discrete] -[[SearchRequest]] -=== SearchRequest +[[SearchAggregationBreakdown]] +=== SearchAggregationBreakdown [pass] ++++
 ++++
-interface SearchRequest extends <> {
-  index?: <>
-  allow_no_indices?: boolean
-  allow_partial_search_results?: boolean
-  analyzer?: string
-  analyze_wildcard?: boolean
-  batched_reduce_size?: <>
-  ccs_minimize_roundtrips?: boolean
-  default_operator?: <>
-  df?: string
-  expand_wildcards?: <>
-  ignore_throttled?: boolean
-  ignore_unavailable?: boolean
-  include_named_queries_score?: boolean
-  lenient?: boolean
-  max_concurrent_shard_requests?: <>
-  min_compatible_shard_node?: <>
-  preference?: string
-  pre_filter_shard_size?: <>
-  request_cache?: boolean
-  routing?: <>
-  scroll?: <>
-  search_type?: <>
-  suggest_field?: <>
-  suggest_mode?: <>
-  suggest_size?: <>
-  suggest_text?: string
-  typed_keys?: boolean
-  rest_total_hits_as_int?: boolean
-  _source_excludes?: <>
-  _source_includes?: <>
-  q?: string
-  force_synthetic_source?: boolean
-  aggregations?: Record>>
-  pass:[/**] @alias aggregations */
-  aggs?: Record>>
-  collapse?: <>
-  explain?: boolean
-  ext?: Record
-  from?: <>
-  highlight?: <>
-  track_total_hits?: <>
-  indices_boost?: Record<<>, <>>[]
-  docvalue_fields?: (<> | <>)[]
-  knn?: <> | <>[]
-  rank?: <>
-  min_score?: <>
-  post_filter?: <>
-  profile?: boolean
-  query?: <>
-  rescore?: <> | <>[]
-  retriever?: <>
-  script_fields?: Record>>
-  search_after?: <>
-  size?: <>
-  slice?: <>
-  sort?: <>
-  _source?: <>
-  fields?: (<> | <>)[]
-  suggest?: <>
-  terminate_after?: <>
-  timeout?: string
-  track_scores?: boolean
-  version?: boolean
-  seq_no_primary_term?: boolean
-  stored_fields?: <>
-  pit?: <>
-  runtime_mappings?: <>
-  stats?: string[]
+interface SearchAggregationBreakdown {
+  build_aggregation: <>
+  build_aggregation_count: <>
+  build_leaf_collector: <>
+  build_leaf_collector_count: <>
+  collect: <>
+  collect_count: <>
+  initialize: <>
+  initialize_count: <>
+  post_collection?: <>
+  post_collection_count?: <>
+  reduce: <>
+  reduce_count: <>
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchAggregationProfile]] +=== SearchAggregationProfile + +[pass] +++++ +
+++++
+interface SearchAggregationProfile {
+  breakdown: <>
+  description: string
+  time_in_nanos: <><<>>
+  type: string
+  debug?: <>
+  children?: <>[]
 }
 [pass]
 ++++
@@ -114,48 +79,115 @@ interface SearchRequest extends <> {
 ++++
 
 [discrete]
-[[SearchResponse]]
-=== SearchResponse
+[[SearchAggregationProfileDebug]]
+=== SearchAggregationProfileDebug
 
 [pass]
 ++++
 
 ++++
-type SearchResponse>, <>>> = <>
+interface SearchAggregationProfileDebug {
+  segments_with_multi_valued_ords?: <>
+  collection_strategy?: string
+  segments_with_single_valued_ords?: <>
+  total_buckets?: <>
+  built_buckets?: <>
+  result_strategy?: string
+  has_filter?: boolean
+  delegate?: string
+  delegate_debug?: <>
+  chars_fetched?: <>
+  extract_count?: <>
+  extract_ns?: <>
+  values_fetched?: <>
+  collect_analyzed_ns?: <>
+  collect_analyzed_count?: <>
+  surviving_buckets?: <>
+  ordinals_collectors_used?: <>
+  ordinals_collectors_overhead_too_high?: <>
+  string_hashing_collectors_used?: <>
+  numeric_collectors_used?: <>
+  empty_collectors_used?: <>
+  deferred_aggregators?: string[]
+  segments_with_doc_count_field?: <>
+  segments_with_deleted_docs?: <>
+  filters?: <>[]
+  segments_counted?: <>
+  segments_collected?: <>
+  map_reducer?: string
+  brute_force_used?: <>
+  dynamic_pruning_attempted?: <>
+  dynamic_pruning_used?: <>
+  skipped_due_to_no_data?: <>
+}
 [pass]
 ++++
 
++++ [discrete] -[[SearchResponseBody]] -=== SearchResponseBody +[[SearchAggregationProfileDelegateDebugFilter]] +=== SearchAggregationProfileDelegateDebugFilter [pass] ++++
 ++++
-interface SearchResponseBody>, <>>> {
-  took: <>
-  timed_out: boolean
-  _shards: <>
-  hits: <>
-  aggregations?: TAggregations
-  _clusters?: <>
-  fields?: Record
-  max_score?: <>
-  num_reduce_phases?: <>
-  profile?: <>
-  pit_id?: <>
-  _scroll_id?: <>
-  suggest?: Record<<>, <>[]>
-  terminated_early?: boolean
+interface SearchAggregationProfileDelegateDebugFilter {
+  results_from_metadata?: <>
+  query?: string
+  specialized_for?: string
+  segments_counted_in_constant_time?: <>
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchBoundaryScanner]] +=== SearchBoundaryScanner + +[pass] +++++ +
+++++
+type SearchBoundaryScanner = 'chars' | 'sentence' | 'word'
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchCollector]] +=== SearchCollector + +[pass] +++++ +
+++++
+interface SearchCollector {
+  name: string
+  reason: string
+  time_in_nanos: <><<>>
+  children?: <>[]
 }
 [pass]
 ++++
 
++++ - <> + +[discrete] +[[SearchCompletionContext]] +=== SearchCompletionContext + +[pass] +++++ +
+++++
+interface SearchCompletionContext {
+  pass:[/**] @property boost The factor by which the score of the suggestion should be boosted. The score is computed by multiplying the boost with the suggestion weight. */
+  boost?: <>
   pass:[/**] @property context The value of the category to filter/boost on. */
   context: <>
   pass:[/**] @property neighbours An array of precision values at which neighboring geohashes should be taken into account. Precision value can be a distance value (`5m`, `10km`, etc.) or a raw geohash precision (`1`..`12`). Defaults to generating neighbors for index time precision level. */
diff --git a/docs/reference-shared-types--global-search.asciidoc b/docs/reference-shared-types--global-search.asciidoc
new file mode 100644
index 000000000..c637fe533
--- /dev/null
+++ b/docs/reference-shared-types--global-search.asciidoc
@@ -0,0 +1,157 @@
+[[reference-shared-types-search]]
+
+////////
+===========================================================================================================================
+||                                                                                                                       ||
+||                                                                                                                       ||
+||                                                                                                                       ||
+||        ██████╗ ███████╗ █████╗ ██████╗ ███╗   ███╗███████╗                                                            ||
+||        ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝                                                            ||
+||        ██████╔╝█████╗  ███████║██║  ██║██╔████╔██║█████╗                                                              ||
+||        ██╔══██╗██╔══╝  ██╔══██║██║  ██║██║╚██╔╝██║██╔══╝                                                              ||
+||        ██║  ██║███████╗██║  ██║██████╔╝██║ ╚═╝ ██║███████╗                                                            ||
+||        ╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝╚═════╝ ╚═╝     ╚═╝╚══════╝                                                            ||
+||                                                                                                                       ||
+||                                                                                                                       ||
+||    This file is autogenerated, DO NOT send pull requests that changes this file directly.                             ||
+||    You should update the script that does the generation, which can be found in:                                      ||
+||    https://github.com/elastic/elastic-client-generator-js                                                             ||
+||                                                                                                                       ||
+||    You can run the script with the following command:                                                                 ||
+||       npm run elasticsearch -- --version                                                                     ||
+||                                                                                                                       ||
+||                                                                                                                       ||
+||                                                                                                                       ||
+===========================================================================================================================
+////////
+
+
+
+== Shared Search types
+
+
+[discrete]
+[[SearchRequest]]
+=== SearchRequest
+
+[pass]
+++++
+
+++++
+interface SearchRequest extends <> {
+  index?: <>
+  allow_no_indices?: boolean
+  allow_partial_search_results?: boolean
+  analyzer?: string
+  analyze_wildcard?: boolean
+  batched_reduce_size?: <>
+  ccs_minimize_roundtrips?: boolean
+  default_operator?: <>
+  df?: string
+  expand_wildcards?: <>
+  ignore_throttled?: boolean
+  ignore_unavailable?: boolean
+  include_named_queries_score?: boolean
+  lenient?: boolean
+  max_concurrent_shard_requests?: <>
+  min_compatible_shard_node?: <>
+  preference?: string
+  pre_filter_shard_size?: <>
+  request_cache?: boolean
+  routing?: <>
+  scroll?: <>
+  search_type?: <>
+  suggest_field?: <>
+  suggest_mode?: <>
+  suggest_size?: <>
+  suggest_text?: string
+  typed_keys?: boolean
+  rest_total_hits_as_int?: boolean
+  _source_excludes?: <>
+  _source_includes?: <>
+  q?: string
+  force_synthetic_source?: boolean
+  aggregations?: Record>>
+  pass:[/**] @alias aggregations */
+  aggs?: Record>>
+  collapse?: <>
+  explain?: boolean
+  ext?: Record
+  from?: <>
+  highlight?: <>
+  track_total_hits?: <>
+  indices_boost?: Record<<>, <>>[]
+  docvalue_fields?: (<> | <>)[]
+  knn?: <> | <>[]
+  rank?: <>
+  min_score?: <>
+  post_filter?: <>
+  profile?: boolean
+  query?: <>
+  rescore?: <> | <>[]
+  retriever?: <>
+  script_fields?: Record>>
+  search_after?: <>
+  size?: <>
+  slice?: <>
+  sort?: <>
+  _source?: <>
+  fields?: (<> | <>)[]
+  suggest?: <>
+  terminate_after?: <>
+  timeout?: string
+  track_scores?: boolean
+  version?: boolean
+  seq_no_primary_term?: boolean
+  stored_fields?: <>
+  pit?: <>
+  runtime_mappings?: <>
+  stats?: string[]
+}
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchResponse]] +=== SearchResponse + +[pass] +++++ +
+++++
+type SearchResponse>, <>>> = <>
+[pass]
+++++
+
+++++ + +[discrete] +[[SearchResponseBody]] +=== SearchResponseBody + +[pass] +++++ +
+++++
+interface SearchResponseBody>, <>>> {
+  took: <>
+  timed_out: boolean
+  _shards: <>
+  hits: <>
+  aggregations?: TAggregations
+  _clusters?: <>
+  fields?: Record
+  max_score?: <>
+  num_reduce_phases?: <>
+  profile?: <>
+  pit_id?: <>
+  _scroll_id?: <>
+  suggest?: Record<<>, <>[]>
+  terminated_early?: boolean
+}
+[pass]
+++++
+
+++++ diff --git a/docs/reference-shared-types-terms_enum.asciidoc b/docs/reference-shared-types--global-terms-enum.asciidoc similarity index 100% rename from docs/reference-shared-types-terms_enum.asciidoc rename to docs/reference-shared-types--global-terms-enum.asciidoc diff --git a/docs/reference-shared-types-termvectors.asciidoc b/docs/reference-shared-types--global-termvectors.asciidoc similarity index 100% rename from docs/reference-shared-types-termvectors.asciidoc rename to docs/reference-shared-types--global-termvectors.asciidoc diff --git a/docs/reference-shared-types-update_by_query_rethrottle.asciidoc b/docs/reference-shared-types--global-update-by-query-rethrottle.asciidoc similarity index 100% rename from docs/reference-shared-types-update_by_query_rethrottle.asciidoc rename to docs/reference-shared-types--global-update-by-query-rethrottle.asciidoc diff --git a/docs/reference-shared-types-update_by_query.asciidoc b/docs/reference-shared-types--global-update-by-query.asciidoc similarity index 100% rename from docs/reference-shared-types-update_by_query.asciidoc rename to docs/reference-shared-types--global-update-by-query.asciidoc diff --git a/docs/reference-shared-types-update.asciidoc b/docs/reference-shared-types--global-update.asciidoc similarity index 100% rename from docs/reference-shared-types-update.asciidoc rename to docs/reference-shared-types--global-update.asciidoc diff --git a/docs/reference-shared-types-async_search.asciidoc b/docs/reference-shared-types-async-search-types.asciidoc similarity index 100% rename from docs/reference-shared-types-async_search.asciidoc rename to docs/reference-shared-types-async-search-types.asciidoc diff --git a/docs/reference-shared-types-autoscaling.asciidoc b/docs/reference-shared-types-autoscaling-types.asciidoc similarity index 100% rename from docs/reference-shared-types-autoscaling.asciidoc rename to docs/reference-shared-types-autoscaling-types.asciidoc diff --git a/docs/reference-shared-types-cat.asciidoc b/docs/reference-shared-types-cat-types.asciidoc similarity index 100% rename from docs/reference-shared-types-cat.asciidoc rename to docs/reference-shared-types-cat-types.asciidoc diff --git a/docs/reference-shared-types-ccr.asciidoc b/docs/reference-shared-types-ccr-types.asciidoc similarity index 100% rename from docs/reference-shared-types-ccr.asciidoc rename to docs/reference-shared-types-ccr-types.asciidoc diff --git a/docs/reference-shared-types-cluster.asciidoc b/docs/reference-shared-types-cluster-types.asciidoc similarity index 100% rename from docs/reference-shared-types-cluster.asciidoc rename to docs/reference-shared-types-cluster-types.asciidoc diff --git a/docs/reference-shared-types-connector.asciidoc b/docs/reference-shared-types-connector-types.asciidoc similarity index 100% rename from docs/reference-shared-types-connector.asciidoc rename to docs/reference-shared-types-connector-types.asciidoc diff --git a/docs/reference-shared-types-enrich.asciidoc b/docs/reference-shared-types-enrich-types.asciidoc similarity index 100% rename from docs/reference-shared-types-enrich.asciidoc rename to docs/reference-shared-types-enrich-types.asciidoc diff --git a/docs/reference-shared-types-eql.asciidoc b/docs/reference-shared-types-eql-types.asciidoc similarity index 100% rename from docs/reference-shared-types-eql.asciidoc rename to docs/reference-shared-types-eql-types.asciidoc diff --git a/docs/reference-shared-types-esql.asciidoc b/docs/reference-shared-types-esql-types.asciidoc similarity index 100% rename from docs/reference-shared-types-esql.asciidoc rename to docs/reference-shared-types-esql-types.asciidoc diff --git a/docs/reference-shared-types-features.asciidoc b/docs/reference-shared-types-features-types.asciidoc similarity index 100% rename from docs/reference-shared-types-features.asciidoc rename to docs/reference-shared-types-features-types.asciidoc diff --git a/docs/reference-shared-types-fleet.asciidoc b/docs/reference-shared-types-fleet-types.asciidoc similarity index 100% rename from docs/reference-shared-types-fleet.asciidoc rename to docs/reference-shared-types-fleet-types.asciidoc diff --git a/docs/reference-shared-types-graph.asciidoc b/docs/reference-shared-types-graph-types.asciidoc similarity index 100% rename from docs/reference-shared-types-graph.asciidoc rename to docs/reference-shared-types-graph-types.asciidoc diff --git a/docs/reference-shared-types-ilm.asciidoc b/docs/reference-shared-types-ilm-types.asciidoc similarity index 100% rename from docs/reference-shared-types-ilm.asciidoc rename to docs/reference-shared-types-ilm-types.asciidoc diff --git a/docs/reference-shared-types-indices-forcemerge-types.asciidoc b/docs/reference-shared-types-indices-forcemerge-types.asciidoc new file mode 100644 index 000000000..285d809d9 --- /dev/null +++ b/docs/reference-shared-types-indices-forcemerge-types.asciidoc @@ -0,0 +1,48 @@ +[[reference-shared-types-indices]] + +//////// +=========================================================================================================================== +|| || +|| || +|| || +|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || +|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || +|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || +|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || +|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || +|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || +|| || +|| || +|| This file is autogenerated, DO NOT send pull requests that changes this file directly. || +|| You should update the script that does the generation, which can be found in: || +|| https://github.com/elastic/elastic-client-generator-js || +|| || +|| You can run the script with the following command: || +|| npm run elasticsearch -- --version || +|| || +|| || +|| || +=========================================================================================================================== +//////// + + + +== Shared Indices types + + +[discrete] +[[IndicesForceMergeResponseBody]] +=== IndicesForceMergeResponseBody + +[pass] +++++ +
+++++
+interface IndicesForcemergeForceMergeResponseBody extends <> {
+  pass:[/**] @property task task contains a task id returned when wait_for_completion=false, you can use the task_id to get the status of the task at _tasks/ */
+  task?: string
+}
+[pass]
+++++
+
+++++ diff --git a/docs/reference-shared-types-indices.asciidoc b/docs/reference-shared-types-indices-types.asciidoc similarity index 99% rename from docs/reference-shared-types-indices.asciidoc rename to docs/reference-shared-types-indices-types.asciidoc index dc7442caf..11b7e8ef2 100644 --- a/docs/reference-shared-types-indices.asciidoc +++ b/docs/reference-shared-types-indices-types.asciidoc @@ -31,22 +31,18 @@ [discrete] -[[IndicesForceMergeResponseBody]] -=== IndicesForceMergeResponseBody +[[IndicesAlias]] +=== IndicesAlias [pass] ++++
 ++++
-interface IndicesForcemergeForceMergeResponseBody extends <> {
-  pass:[/**] @property task task contains a task id returned when wait_for_completion=false, you can use the task_id to get the status of the task at _tasks/ */
-  task?: string
-}
-[pass]
-++++
-
-++++ -uting?: <> +interface IndicesAlias { + pass:[/**] @property filter <> used to limit documents the alias can access. */ + filter?: <> + pass:[/**] @property index_routing Value used to route indexing operations to a specific shard. If specified, this overwrites the `routing` value for indexing operations. */ + index_routing?: <> pass:[/**] @property is_hidden If `true`, the alias is hidden. All indices for the alias must have the same `is_hidden` value. */ is_hidden?: boolean pass:[/**] @property is_write_index If `true`, the index is the write index for the alias. */ diff --git a/docs/reference-shared-types-inference.asciidoc b/docs/reference-shared-types-inference-types.asciidoc similarity index 100% rename from docs/reference-shared-types-inference.asciidoc rename to docs/reference-shared-types-inference-types.asciidoc diff --git a/docs/reference-shared-types-ingest.asciidoc b/docs/reference-shared-types-ingest-types.asciidoc similarity index 100% rename from docs/reference-shared-types-ingest.asciidoc rename to docs/reference-shared-types-ingest-types.asciidoc diff --git a/docs/reference-shared-types-license.asciidoc b/docs/reference-shared-types-license-types.asciidoc similarity index 100% rename from docs/reference-shared-types-license.asciidoc rename to docs/reference-shared-types-license-types.asciidoc diff --git a/docs/reference-shared-types-logstash.asciidoc b/docs/reference-shared-types-logstash-types.asciidoc similarity index 100% rename from docs/reference-shared-types-logstash.asciidoc rename to docs/reference-shared-types-logstash-types.asciidoc diff --git a/docs/reference-shared-types-ml.asciidoc b/docs/reference-shared-types-ml-types.asciidoc similarity index 100% rename from docs/reference-shared-types-ml.asciidoc rename to docs/reference-shared-types-ml-types.asciidoc diff --git a/docs/reference-shared-types-nodes.asciidoc b/docs/reference-shared-types-nodes-types.asciidoc similarity index 100% rename from docs/reference-shared-types-nodes.asciidoc rename to docs/reference-shared-types-nodes-types.asciidoc diff --git a/docs/reference-shared-types-query_rules.asciidoc b/docs/reference-shared-types-query-rules-types.asciidoc similarity index 100% rename from docs/reference-shared-types-query_rules.asciidoc rename to docs/reference-shared-types-query-rules-types.asciidoc diff --git a/docs/reference-shared-types-rollup.asciidoc b/docs/reference-shared-types-rollup-types.asciidoc similarity index 100% rename from docs/reference-shared-types-rollup.asciidoc rename to docs/reference-shared-types-rollup-types.asciidoc diff --git a/docs/reference-shared-types-search_application.asciidoc b/docs/reference-shared-types-search-application-types.asciidoc similarity index 100% rename from docs/reference-shared-types-search_application.asciidoc rename to docs/reference-shared-types-search-application-types.asciidoc diff --git a/docs/reference-shared-types-searchable_snapshots.asciidoc b/docs/reference-shared-types-searchable-snapshots-types.asciidoc similarity index 100% rename from docs/reference-shared-types-searchable_snapshots.asciidoc rename to docs/reference-shared-types-searchable-snapshots-types.asciidoc diff --git a/docs/reference-shared-types-security.asciidoc b/docs/reference-shared-types-security-types.asciidoc similarity index 100% rename from docs/reference-shared-types-security.asciidoc rename to docs/reference-shared-types-security-types.asciidoc diff --git a/docs/reference-shared-types-shutdown.asciidoc b/docs/reference-shared-types-shutdown-types.asciidoc similarity index 100% rename from docs/reference-shared-types-shutdown.asciidoc rename to docs/reference-shared-types-shutdown-types.asciidoc diff --git a/docs/reference-shared-types-slm.asciidoc b/docs/reference-shared-types-slm-types.asciidoc similarity index 100% rename from docs/reference-shared-types-slm.asciidoc rename to docs/reference-shared-types-slm-types.asciidoc diff --git a/docs/reference-shared-types-snapshot.asciidoc b/docs/reference-shared-types-snapshot-types.asciidoc similarity index 100% rename from docs/reference-shared-types-snapshot.asciidoc rename to docs/reference-shared-types-snapshot-types.asciidoc diff --git a/docs/reference-shared-types-synonyms.asciidoc b/docs/reference-shared-types-synonyms-types.asciidoc similarity index 100% rename from docs/reference-shared-types-synonyms.asciidoc rename to docs/reference-shared-types-synonyms-types.asciidoc diff --git a/docs/reference-shared-types-tasks.asciidoc b/docs/reference-shared-types-tasks-types.asciidoc similarity index 100% rename from docs/reference-shared-types-tasks.asciidoc rename to docs/reference-shared-types-tasks-types.asciidoc diff --git a/docs/reference-shared-types-transform.asciidoc b/docs/reference-shared-types-transform-types.asciidoc similarity index 100% rename from docs/reference-shared-types-transform.asciidoc rename to docs/reference-shared-types-transform-types.asciidoc diff --git a/docs/reference-shared-types-watcher.asciidoc b/docs/reference-shared-types-watcher-types.asciidoc similarity index 100% rename from docs/reference-shared-types-watcher.asciidoc rename to docs/reference-shared-types-watcher-types.asciidoc