@elastic/elasticsearch 9.3.1 → 9.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/api/api/async_search.d.ts.map +1 -1
- package/esm/api/api/async_search.js +20 -93
- package/esm/api/api/async_search.js.map +1 -1
- package/esm/api/api/autoscaling.d.ts.map +1 -1
- package/esm/api/api/autoscaling.js +20 -18
- package/esm/api/api/autoscaling.js.map +1 -1
- package/esm/api/api/bulk.js +5 -16
- package/esm/api/api/bulk.js.map +1 -1
- package/esm/api/api/capabilities.js +5 -8
- package/esm/api/api/capabilities.js.map +1 -1
- package/esm/api/api/cat.d.ts.map +1 -1
- package/esm/api/api/cat.js +135 -185
- package/esm/api/api/cat.js.map +1 -1
- package/esm/api/api/ccr.d.ts.map +1 -1
- package/esm/api/api/ccr.js +65 -96
- package/esm/api/api/ccr.js.map +1 -1
- package/esm/api/api/clear_scroll.js +5 -4
- package/esm/api/api/clear_scroll.js.map +1 -1
- package/esm/api/api/close_point_in_time.js +5 -3
- package/esm/api/api/close_point_in_time.js.map +1 -1
- package/esm/api/api/cluster.d.ts.map +1 -1
- package/esm/api/api/cluster.js +80 -112
- package/esm/api/api/cluster.js.map +1 -1
- package/esm/api/api/connector.d.ts.map +1 -1
- package/esm/api/api/connector.js +170 -168
- package/esm/api/api/connector.js.map +1 -1
- package/esm/api/api/count.js +5 -19
- package/esm/api/api/count.js.map +1 -1
- package/esm/api/api/create.js +5 -15
- package/esm/api/api/create.js.map +1 -1
- package/esm/api/api/dangling_indices.d.ts.map +1 -1
- package/esm/api/api/dangling_indices.js +15 -13
- package/esm/api/api/dangling_indices.js.map +1 -1
- package/esm/api/api/delete.js +5 -12
- package/esm/api/api/delete.js.map +1 -1
- package/esm/api/api/delete_by_query.js +5 -36
- package/esm/api/api/delete_by_query.js.map +1 -1
- package/esm/api/api/delete_by_query_rethrottle.js +5 -4
- package/esm/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/esm/api/api/delete_script.js +5 -5
- package/esm/api/api/delete_script.js.map +1 -1
- package/esm/api/api/enrich.d.ts.map +1 -1
- package/esm/api/api/enrich.js +25 -23
- package/esm/api/api/enrich.js.map +1 -1
- package/esm/api/api/eql.d.ts.map +1 -1
- package/esm/api/api/eql.js +20 -41
- package/esm/api/api/eql.js.map +1 -1
- package/esm/api/api/esql.d.ts.map +1 -1
- package/esm/api/api/esql.js +54 -63
- package/esm/api/api/esql.js.map +1 -1
- package/esm/api/api/exists.js +5 -14
- package/esm/api/api/exists.js.map +1 -1
- package/esm/api/api/exists_source.js +5 -13
- package/esm/api/api/exists_source.js.map +1 -1
- package/esm/api/api/explain.js +5 -17
- package/esm/api/api/explain.js.map +1 -1
- package/esm/api/api/features.d.ts.map +1 -1
- package/esm/api/api/features.js +10 -6
- package/esm/api/api/features.js.map +1 -1
- package/esm/api/api/field_caps.js +5 -15
- package/esm/api/api/field_caps.js.map +1 -1
- package/esm/api/api/fleet.d.ts.map +1 -1
- package/esm/api/api/fleet.js +30 -111
- package/esm/api/api/fleet.js.map +1 -1
- package/esm/api/api/get.js +5 -16
- package/esm/api/api/get.js.map +1 -1
- package/esm/api/api/get_script.js +5 -4
- package/esm/api/api/get_script.js.map +1 -1
- package/esm/api/api/get_script_context.js +5 -1
- package/esm/api/api/get_script_context.js.map +1 -1
- package/esm/api/api/get_script_languages.js +5 -1
- package/esm/api/api/get_script_languages.js.map +1 -1
- package/esm/api/api/get_source.js +5 -13
- package/esm/api/api/get_source.js.map +1 -1
- package/esm/api/api/graph.d.ts.map +1 -1
- package/esm/api/api/graph.js +5 -9
- package/esm/api/api/graph.js.map +1 -1
- package/esm/api/api/health_report.js +5 -6
- package/esm/api/api/health_report.js.map +1 -1
- package/esm/api/api/ilm.d.ts.map +1 -1
- package/esm/api/api/ilm.js +55 -48
- package/esm/api/api/ilm.js.map +1 -1
- package/esm/api/api/index.js +5 -18
- package/esm/api/api/index.js.map +1 -1
- package/esm/api/api/indices.d.ts +1 -1
- package/esm/api/api/indices.d.ts.map +1 -1
- package/esm/api/api/indices.js +385 -583
- package/esm/api/api/indices.js.map +1 -1
- package/esm/api/api/inference.d.ts +1 -1
- package/esm/api/api/inference.d.ts.map +1 -1
- package/esm/api/api/inference.js +184 -280
- package/esm/api/api/inference.js.map +1 -1
- package/esm/api/api/info.js +5 -1
- package/esm/api/api/info.js.map +1 -1
- package/esm/api/api/ingest.d.ts.map +1 -1
- package/esm/api/api/ingest.js +60 -60
- package/esm/api/api/ingest.js.map +1 -1
- package/esm/api/api/knn_search.js +5 -10
- package/esm/api/api/knn_search.js.map +1 -1
- package/esm/api/api/license.d.ts.map +1 -1
- package/esm/api/api/license.js +35 -27
- package/esm/api/api/license.js.map +1 -1
- package/esm/api/api/logstash.d.ts.map +1 -1
- package/esm/api/api/logstash.js +15 -10
- package/esm/api/api/logstash.js.map +1 -1
- package/esm/api/api/mget.js +5 -14
- package/esm/api/api/mget.js.map +1 -1
- package/esm/api/api/migration.d.ts +1 -1
- package/esm/api/api/migration.d.ts.map +1 -1
- package/esm/api/api/migration.js +15 -5
- package/esm/api/api/migration.js.map +1 -1
- package/esm/api/api/ml.d.ts.map +1 -1
- package/esm/api/api/ml.js +365 -574
- package/esm/api/api/ml.js.map +1 -1
- package/esm/api/api/monitoring.d.ts.map +1 -1
- package/esm/api/api/monitoring.js +5 -6
- package/esm/api/api/monitoring.js.map +1 -1
- package/esm/api/api/msearch.js +5 -19
- package/esm/api/api/msearch.js.map +1 -1
- package/esm/api/api/msearch_template.js +5 -10
- package/esm/api/api/msearch_template.js.map +1 -1
- package/esm/api/api/mtermvectors.js +5 -17
- package/esm/api/api/mtermvectors.js.map +1 -1
- package/esm/api/api/nodes.d.ts.map +1 -1
- package/esm/api/api/nodes.js +35 -47
- package/esm/api/api/nodes.js.map +1 -1
- package/esm/api/api/open_point_in_time.js +5 -12
- package/esm/api/api/open_point_in_time.js.map +1 -1
- package/esm/api/api/ping.js +5 -1
- package/esm/api/api/ping.js.map +1 -1
- package/esm/api/api/profiling.d.ts.map +1 -1
- package/esm/api/api/profiling.js +20 -14
- package/esm/api/api/profiling.js.map +1 -1
- package/esm/api/api/project.d.ts.map +1 -1
- package/esm/api/api/project.js +5 -3
- package/esm/api/api/project.js.map +1 -1
- package/esm/api/api/put_script.js +5 -8
- package/esm/api/api/put_script.js.map +1 -1
- package/esm/api/api/query_rules.d.ts.map +1 -1
- package/esm/api/api/query_rules.js +40 -34
- package/esm/api/api/query_rules.js.map +1 -1
- package/esm/api/api/rank_eval.js +5 -9
- package/esm/api/api/rank_eval.js.map +1 -1
- package/esm/api/api/reindex.js +5 -16
- package/esm/api/api/reindex.js.map +1 -1
- package/esm/api/api/reindex_rethrottle.js +5 -4
- package/esm/api/api/reindex_rethrottle.js.map +1 -1
- package/esm/api/api/render_search_template.js +5 -7
- package/esm/api/api/render_search_template.js.map +1 -1
- package/esm/api/api/rollup.d.ts.map +1 -1
- package/esm/api/api/rollup.js +40 -40
- package/esm/api/api/rollup.js.map +1 -1
- package/esm/api/api/scripts_painless_execute.js +5 -5
- package/esm/api/api/scripts_painless_execute.js.map +1 -1
- package/esm/api/api/scroll.js +5 -8
- package/esm/api/api/scroll.js.map +1 -1
- package/esm/api/api/search.js +5 -84
- package/esm/api/api/search.js.map +1 -1
- package/esm/api/api/search_application.d.ts.map +1 -1
- package/esm/api/api/search_application.js +50 -40
- package/esm/api/api/search_application.js.map +1 -1
- package/esm/api/api/search_mvt.js +5 -30
- package/esm/api/api/search_mvt.js.map +1 -1
- package/esm/api/api/search_shards.js +5 -10
- package/esm/api/api/search_shards.js.map +1 -1
- package/esm/api/api/search_template.js +5 -22
- package/esm/api/api/search_template.js.map +1 -1
- package/esm/api/api/searchable_snapshots.d.ts.map +1 -1
- package/esm/api/api/searchable_snapshots.js +20 -25
- package/esm/api/api/searchable_snapshots.js.map +1 -1
- package/esm/api/api/security.d.ts.map +1 -1
- package/esm/api/api/security.js +325 -339
- package/esm/api/api/security.js.map +1 -1
- package/esm/api/api/shutdown.d.ts.map +1 -1
- package/esm/api/api/shutdown.js +15 -18
- package/esm/api/api/shutdown.js.map +1 -1
- package/esm/api/api/simulate.d.ts.map +1 -1
- package/esm/api/api/simulate.js +5 -10
- package/esm/api/api/simulate.js.map +1 -1
- package/esm/api/api/slm.d.ts.map +1 -1
- package/esm/api/api/slm.js +45 -45
- package/esm/api/api/slm.js.map +1 -1
- package/esm/api/api/snapshot.d.ts.map +1 -1
- package/esm/api/api/snapshot.js +65 -119
- package/esm/api/api/snapshot.js.map +1 -1
- package/esm/api/api/sql.d.ts.map +1 -1
- package/esm/api/api/sql.js +30 -43
- package/esm/api/api/sql.js.map +1 -1
- package/esm/api/api/ssl.d.ts.map +1 -1
- package/esm/api/api/ssl.js +5 -1
- package/esm/api/api/ssl.js.map +1 -1
- package/esm/api/api/streams.d.ts.map +1 -1
- package/esm/api/api/streams.js +15 -11
- package/esm/api/api/streams.js.map +1 -1
- package/esm/api/api/synonyms.d.ts.map +1 -1
- package/esm/api/api/synonyms.js +35 -32
- package/esm/api/api/synonyms.js.map +1 -1
- package/esm/api/api/tasks.d.ts.map +1 -1
- package/esm/api/api/tasks.js +15 -21
- package/esm/api/api/tasks.js.map +1 -1
- package/esm/api/api/terms_enum.js +5 -10
- package/esm/api/api/terms_enum.js.map +1 -1
- package/esm/api/api/termvectors.js +5 -27
- package/esm/api/api/termvectors.js.map +1 -1
- package/esm/api/api/text_structure.d.ts.map +1 -1
- package/esm/api/api/text_structure.js +20 -53
- package/esm/api/api/text_structure.js.map +1 -1
- package/esm/api/api/transform.d.ts.map +1 -1
- package/esm/api/api/transform.js +65 -92
- package/esm/api/api/transform.js.map +1 -1
- package/esm/api/api/update.js +5 -24
- package/esm/api/api/update.js.map +1 -1
- package/esm/api/api/update_by_query.js +5 -39
- package/esm/api/api/update_by_query.js.map +1 -1
- package/esm/api/api/update_by_query_rethrottle.js +5 -4
- package/esm/api/api/update_by_query_rethrottle.js.map +1 -1
- package/esm/api/api/watcher.d.ts.map +1 -1
- package/esm/api/api/watcher.js +65 -69
- package/esm/api/api/watcher.js.map +1 -1
- package/esm/api/api/xpack.d.ts.map +1 -1
- package/esm/api/api/xpack.js +10 -8
- package/esm/api/api/xpack.js.map +1 -1
- package/esm/api/types.d.ts +84 -26
- package/esm/api/types.d.ts.map +1 -1
- package/esm/version.generated.js +2 -2
- package/lib/api/api/async_search.js +20 -93
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.js +20 -18
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.js +5 -16
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.js +5 -8
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.js +135 -185
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.js +65 -96
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.js +5 -4
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.js +5 -3
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.js +80 -112
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.js +170 -168
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.js +5 -19
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.js +5 -15
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.js +15 -13
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.js +5 -12
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.js +5 -36
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +5 -4
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.js +5 -5
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.js +25 -23
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.js +20 -41
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.js +54 -63
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.js +5 -14
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.js +5 -13
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.js +5 -17
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.js +10 -6
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.js +5 -15
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.js +30 -111
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.js +5 -16
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.js +5 -4
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.js +5 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.js +5 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.js +5 -13
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.js +5 -9
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.js +5 -6
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.js +55 -48
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.js +5 -18
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +1 -1
- package/lib/api/api/indices.js +385 -583
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +1 -1
- package/lib/api/api/inference.js +184 -280
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.js +5 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.js +60 -60
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.js +5 -10
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.js +35 -27
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.js +15 -10
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.js +5 -14
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +1 -1
- package/lib/api/api/migration.js +15 -5
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.js +365 -574
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.js +5 -6
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.js +5 -19
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.js +5 -10
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.js +5 -17
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.js +35 -47
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.js +5 -12
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.js +5 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.js +20 -14
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/project.js +5 -3
- package/lib/api/api/project.js.map +1 -1
- package/lib/api/api/put_script.js +5 -8
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.js +40 -34
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.js +5 -9
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.js +5 -16
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.js +5 -4
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.js +5 -7
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.js +40 -40
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.js +5 -5
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.js +5 -8
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.js +5 -84
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.js +50 -40
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.js +5 -30
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.js +5 -10
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.js +5 -22
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.js +20 -25
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.js +325 -339
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.js +15 -18
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.js +5 -10
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.js +45 -45
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.js +65 -119
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.js +30 -43
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.js +5 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/streams.js +15 -11
- package/lib/api/api/streams.js.map +1 -1
- package/lib/api/api/synonyms.js +35 -32
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.js +15 -21
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.js +5 -10
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.js +5 -27
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.js +20 -53
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.js +65 -92
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.js +5 -24
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.js +5 -39
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +5 -4
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.js +65 -69
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.js +10 -8
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/types.d.ts +84 -26
- package/lib/version.generated.js +2 -2
- package/package.json +2 -2
package/lib/api/types.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ export interface BulkOperationBase {
|
|
|
26
26
|
_id?: Id;
|
|
27
27
|
/** The name of the index or index alias to perform the action on. */
|
|
28
28
|
_index?: IndexName;
|
|
29
|
-
/** A custom value used to route operations to a specific shard. */
|
|
30
|
-
routing?:
|
|
29
|
+
/** A custom value used to route operations to a specific shard, or multiple comma separated values. */
|
|
30
|
+
routing?: string;
|
|
31
31
|
if_primary_term?: long;
|
|
32
32
|
if_seq_no?: SequenceNumber;
|
|
33
33
|
version?: VersionNumber;
|
|
@@ -2426,7 +2426,7 @@ export interface ReindexDestination {
|
|
|
2426
2426
|
* If it is `keep`, the routing on the bulk request sent for each match is set to the routing on the match.
|
|
2427
2427
|
* If it is `discard`, the routing on the bulk request sent for each match is set to `null`.
|
|
2428
2428
|
* If it is `=value`, the routing on the bulk request sent for each match is set to all value specified after the equals sign (`=`). */
|
|
2429
|
-
routing?:
|
|
2429
|
+
routing?: string;
|
|
2430
2430
|
/** The versioning to use for the indexing operation. */
|
|
2431
2431
|
version_type?: VersionType;
|
|
2432
2432
|
}
|
|
@@ -3253,7 +3253,7 @@ export interface SearchCompletionSuggestOption<TDocument = unknown> {
|
|
|
3253
3253
|
fields?: Record<string, any>;
|
|
3254
3254
|
_id?: string;
|
|
3255
3255
|
_index?: IndexName;
|
|
3256
|
-
_routing?:
|
|
3256
|
+
_routing?: string;
|
|
3257
3257
|
_score?: double;
|
|
3258
3258
|
_source?: TDocument;
|
|
3259
3259
|
text: string;
|
|
@@ -7128,13 +7128,20 @@ export interface AggregationsMultiBucketAggregateBase<TBucket = unknown> extends
|
|
|
7128
7128
|
export interface AggregationsMultiBucketBase {
|
|
7129
7129
|
doc_count: long;
|
|
7130
7130
|
}
|
|
7131
|
-
|
|
7132
|
-
/** A fields from which to retrieve terms. */
|
|
7133
|
-
field: Field;
|
|
7131
|
+
interface AggregationsMultiTermLookupCommonProps {
|
|
7134
7132
|
/** The value to apply to documents that do not have a value.
|
|
7135
7133
|
* By default, documents without a value are ignored. */
|
|
7136
7134
|
missing?: AggregationsMissing;
|
|
7137
7135
|
}
|
|
7136
|
+
interface AggregationsMultiTermLookupExclusiveProps {
|
|
7137
|
+
/** A field from which to retrieve terms.
|
|
7138
|
+
* It is required if `script` is not provided. */
|
|
7139
|
+
field?: Field;
|
|
7140
|
+
/** A script to calculate terms to aggregate on.
|
|
7141
|
+
* It is required if `field` is not provided. */
|
|
7142
|
+
script?: Script | ScriptSource;
|
|
7143
|
+
}
|
|
7144
|
+
export type AggregationsMultiTermLookup = AggregationsMultiTermLookupCommonProps & ExactlyOne<AggregationsMultiTermLookupExclusiveProps>;
|
|
7138
7145
|
export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
|
|
7139
7146
|
}
|
|
7140
7147
|
export interface AggregationsMultiTermsAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -9570,7 +9577,7 @@ export interface QueryDslFieldLookup {
|
|
|
9570
9577
|
/** Name of the field. */
|
|
9571
9578
|
path?: Field;
|
|
9572
9579
|
/** Custom routing value. */
|
|
9573
|
-
routing?:
|
|
9580
|
+
routing?: string;
|
|
9574
9581
|
}
|
|
9575
9582
|
export type QueryDslFieldValueFactorModifier = 'none' | 'log' | 'log1p' | 'log2p' | 'ln' | 'ln1p' | 'ln2p' | 'square' | 'sqrt' | 'reciprocal';
|
|
9576
9583
|
export interface QueryDslFieldValueFactorScoreFunction {
|
|
@@ -10016,7 +10023,7 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
|
|
|
10016
10023
|
min_term_freq?: integer;
|
|
10017
10024
|
/** The minimum word length below which the terms are ignored. */
|
|
10018
10025
|
min_word_length?: integer;
|
|
10019
|
-
routing?:
|
|
10026
|
+
routing?: string;
|
|
10020
10027
|
/** An array of stop words.
|
|
10021
10028
|
* Any word in this set is ignored. */
|
|
10022
10029
|
stop_words?: AnalysisStopWords;
|
|
@@ -10107,7 +10114,7 @@ export interface QueryDslPercolateQuery extends QueryDslQueryBase {
|
|
|
10107
10114
|
/** Preference used to fetch document to percolate. */
|
|
10108
10115
|
preference?: string;
|
|
10109
10116
|
/** Routing used to fetch document to percolate. */
|
|
10110
|
-
routing?:
|
|
10117
|
+
routing?: string;
|
|
10111
10118
|
/** The expected version of a stored document to percolate. */
|
|
10112
10119
|
version?: VersionNumber;
|
|
10113
10120
|
}
|
|
@@ -10603,7 +10610,7 @@ export interface QueryDslTermsLookup {
|
|
|
10603
10610
|
index: IndexName;
|
|
10604
10611
|
id: Id;
|
|
10605
10612
|
path: Field;
|
|
10606
|
-
routing?:
|
|
10613
|
+
routing?: string;
|
|
10607
10614
|
}
|
|
10608
10615
|
export interface QueryDslTermsQueryKeys extends QueryDslQueryBase {
|
|
10609
10616
|
}
|
|
@@ -20271,6 +20278,15 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
20271
20278
|
/** Indicates whether the query and its results are stored in the cluster.
|
|
20272
20279
|
* If false, the query and its results are stored in the cluster only if the request does not complete during the period set by the `wait_for_completion_timeout` parameter. */
|
|
20273
20280
|
keep_on_completion?: boolean;
|
|
20281
|
+
/** Specifies a subset of projects to target using project
|
|
20282
|
+
* metadata tags in a subset of Lucene query syntax.
|
|
20283
|
+
* Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
|
|
20284
|
+
* Examples:
|
|
20285
|
+
* _alias:my-project
|
|
20286
|
+
* _alias:_origin
|
|
20287
|
+
* _alias:*pr*
|
|
20288
|
+
* Supported in serverless only. */
|
|
20289
|
+
project_routing?: ProjectRouting;
|
|
20274
20290
|
/** All values in `body` will be added to the request body. */
|
|
20275
20291
|
body?: string | ({
|
|
20276
20292
|
[key: string]: any;
|
|
@@ -20291,6 +20307,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
20291
20307
|
wait_for_completion_timeout?: never;
|
|
20292
20308
|
keep_alive?: never;
|
|
20293
20309
|
keep_on_completion?: never;
|
|
20310
|
+
project_routing?: never;
|
|
20294
20311
|
});
|
|
20295
20312
|
/** All values in `querystring` will be added to the request querystring. */
|
|
20296
20313
|
querystring?: {
|
|
@@ -20312,6 +20329,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
20312
20329
|
wait_for_completion_timeout?: never;
|
|
20313
20330
|
keep_alive?: never;
|
|
20314
20331
|
keep_on_completion?: never;
|
|
20332
|
+
project_routing?: never;
|
|
20315
20333
|
};
|
|
20316
20334
|
}
|
|
20317
20335
|
export type EsqlAsyncQueryResponse = EsqlAsyncEsqlResult;
|
|
@@ -20541,6 +20559,15 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
20541
20559
|
* count.
|
|
20542
20560
|
* This is similar to `include_ccs_metadata`, but it also returns metadata when the query is not CCS/CPS */
|
|
20543
20561
|
include_execution_metadata?: boolean;
|
|
20562
|
+
/** Specifies a subset of projects to target using project
|
|
20563
|
+
* metadata tags in a subset of Lucene query syntax.
|
|
20564
|
+
* Allowed Lucene queries: the _alias tag and a single value (possibly wildcarded).
|
|
20565
|
+
* Examples:
|
|
20566
|
+
* _alias:my-project
|
|
20567
|
+
* _alias:_origin
|
|
20568
|
+
* _alias:*pr*
|
|
20569
|
+
* Supported in serverless only. */
|
|
20570
|
+
project_routing?: ProjectRouting;
|
|
20544
20571
|
/** All values in `body` will be added to the request body. */
|
|
20545
20572
|
body?: string | ({
|
|
20546
20573
|
[key: string]: any;
|
|
@@ -20558,6 +20585,7 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
20558
20585
|
tables?: never;
|
|
20559
20586
|
include_ccs_metadata?: never;
|
|
20560
20587
|
include_execution_metadata?: never;
|
|
20588
|
+
project_routing?: never;
|
|
20561
20589
|
});
|
|
20562
20590
|
/** All values in `querystring` will be added to the request querystring. */
|
|
20563
20591
|
querystring?: {
|
|
@@ -20576,6 +20604,7 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
20576
20604
|
tables?: never;
|
|
20577
20605
|
include_ccs_metadata?: never;
|
|
20578
20606
|
include_execution_metadata?: never;
|
|
20607
|
+
project_routing?: never;
|
|
20579
20608
|
};
|
|
20580
20609
|
}
|
|
20581
20610
|
export type EsqlQueryResponse = EsqlEsqlResult;
|
|
@@ -21598,17 +21627,17 @@ export interface IndicesAlias {
|
|
|
21598
21627
|
filter?: QueryDslQueryContainer;
|
|
21599
21628
|
/** Value used to route indexing operations to a specific shard.
|
|
21600
21629
|
* If specified, this overwrites the `routing` value for indexing operations. */
|
|
21601
|
-
index_routing?:
|
|
21630
|
+
index_routing?: string;
|
|
21602
21631
|
/** If `true`, the alias is hidden.
|
|
21603
21632
|
* All indices for the alias must have the same `is_hidden` value. */
|
|
21604
21633
|
is_hidden?: boolean;
|
|
21605
21634
|
/** If `true`, the index is the write index for the alias. */
|
|
21606
21635
|
is_write_index?: boolean;
|
|
21607
21636
|
/** Value used to route indexing and search operations to a specific shard. */
|
|
21608
|
-
routing?:
|
|
21637
|
+
routing?: string;
|
|
21609
21638
|
/** Value used to route search operations to a specific shard.
|
|
21610
21639
|
* If specified, this overwrites the `routing` value for search operations. */
|
|
21611
|
-
search_routing?:
|
|
21640
|
+
search_routing?: string;
|
|
21612
21641
|
}
|
|
21613
21642
|
export interface IndicesAliasDefinition {
|
|
21614
21643
|
/** Query used to limit documents the alias can access. */
|
|
@@ -24321,7 +24350,7 @@ export interface IndicesPutAliasRequest extends RequestBase {
|
|
|
24321
24350
|
/** Value used to route indexing operations to a specific shard.
|
|
24322
24351
|
* If specified, this overwrites the `routing` value for indexing operations.
|
|
24323
24352
|
* Data stream aliases don’t support this parameter. */
|
|
24324
|
-
index_routing?:
|
|
24353
|
+
index_routing?: string;
|
|
24325
24354
|
/** If `true`, sets the write index or data stream for the alias.
|
|
24326
24355
|
* If an alias points to multiple indices or data streams and `is_write_index` isn’t set, the alias rejects write requests.
|
|
24327
24356
|
* If an index alias points to one index and `is_write_index` isn’t set, the index automatically acts as the write index.
|
|
@@ -24329,11 +24358,11 @@ export interface IndicesPutAliasRequest extends RequestBase {
|
|
|
24329
24358
|
is_write_index?: boolean;
|
|
24330
24359
|
/** Value used to route indexing and search operations to a specific shard.
|
|
24331
24360
|
* Data stream aliases don’t support this parameter. */
|
|
24332
|
-
routing?:
|
|
24361
|
+
routing?: string;
|
|
24333
24362
|
/** Value used to route search operations to a specific shard.
|
|
24334
24363
|
* If specified, this overwrites the `routing` value for search operations.
|
|
24335
24364
|
* Data stream aliases don’t support this parameter. */
|
|
24336
|
-
search_routing?:
|
|
24365
|
+
search_routing?: string;
|
|
24337
24366
|
/** All values in `body` will be added to the request body. */
|
|
24338
24367
|
body?: string | ({
|
|
24339
24368
|
[key: string]: any;
|
|
@@ -26055,18 +26084,18 @@ export interface IndicesUpdateAliasesAddAction {
|
|
|
26055
26084
|
/** Value used to route indexing operations to a specific shard.
|
|
26056
26085
|
* If specified, this overwrites the `routing` value for indexing operations.
|
|
26057
26086
|
* Data stream aliases don’t support this parameter. */
|
|
26058
|
-
index_routing?:
|
|
26087
|
+
index_routing?: string;
|
|
26059
26088
|
/** If `true`, the alias is hidden. */
|
|
26060
26089
|
is_hidden?: boolean;
|
|
26061
26090
|
/** If `true`, sets the write index or data stream for the alias. */
|
|
26062
26091
|
is_write_index?: boolean;
|
|
26063
26092
|
/** Value used to route indexing and search operations to a specific shard.
|
|
26064
26093
|
* Data stream aliases don’t support this parameter. */
|
|
26065
|
-
routing?:
|
|
26094
|
+
routing?: string;
|
|
26066
26095
|
/** Value used to route search operations to a specific shard.
|
|
26067
26096
|
* If specified, this overwrites the `routing` value for search operations.
|
|
26068
26097
|
* Data stream aliases don’t support this parameter. */
|
|
26069
|
-
search_routing?:
|
|
26098
|
+
search_routing?: string;
|
|
26070
26099
|
/** If `true`, the alias must exist to perform the action. */
|
|
26071
26100
|
must_exist?: boolean;
|
|
26072
26101
|
}
|
|
@@ -26126,7 +26155,8 @@ export type IndicesUpdateAliasesResponse = AcknowledgedResponseBase;
|
|
|
26126
26155
|
export interface IndicesValidateQueryIndicesValidationExplanation {
|
|
26127
26156
|
error?: string;
|
|
26128
26157
|
explanation?: string;
|
|
26129
|
-
index
|
|
26158
|
+
index?: IndexName;
|
|
26159
|
+
shard?: integer;
|
|
26130
26160
|
valid: boolean;
|
|
26131
26161
|
}
|
|
26132
26162
|
export interface IndicesValidateQueryRequest extends RequestBase {
|
|
@@ -27760,7 +27790,7 @@ export interface InferenceWatsonxServiceSettings {
|
|
|
27760
27790
|
url: string;
|
|
27761
27791
|
}
|
|
27762
27792
|
export type InferenceWatsonxServiceType = 'watsonxai';
|
|
27763
|
-
export type InferenceWatsonxTaskType = 'text_embedding' | 'chat_completion' | 'completion';
|
|
27793
|
+
export type InferenceWatsonxTaskType = 'text_embedding' | 'rerank' | 'chat_completion' | 'completion';
|
|
27764
27794
|
export interface InferenceChatCompletionUnifiedRequest extends RequestBase {
|
|
27765
27795
|
/** The inference Id */
|
|
27766
27796
|
inference_id: Id;
|
|
@@ -27845,9 +27875,10 @@ export interface InferenceDeleteRequest extends RequestBase {
|
|
|
27845
27875
|
}
|
|
27846
27876
|
export type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult;
|
|
27847
27877
|
export interface InferenceGetRequest extends RequestBase {
|
|
27848
|
-
/** The task type */
|
|
27878
|
+
/** The task type of the endpoint to return */
|
|
27849
27879
|
task_type?: InferenceTaskType;
|
|
27850
|
-
/** The inference Id
|
|
27880
|
+
/** The inference Id of the endpoint to return. Using `_all` or `*` will return all endpoints with the specified
|
|
27881
|
+
* `task_type` if one is specified, or all endpoints for all task types if no `task_type` is specified */
|
|
27851
27882
|
inference_id?: Id;
|
|
27852
27883
|
/** All values in `body` will be added to the request body. */
|
|
27853
27884
|
body?: string | ({
|
|
@@ -28960,7 +28991,7 @@ export interface InferencePutWatsonxRequest extends RequestBase {
|
|
|
28960
28991
|
timeout?: Duration;
|
|
28961
28992
|
/** The chunking configuration object.
|
|
28962
28993
|
* Applies only to the `text_embedding` task type.
|
|
28963
|
-
* Not applicable to the `completion` or `chat_completion` task types. */
|
|
28994
|
+
* Not applicable to the `rerank`, `completion` or `chat_completion` task types. */
|
|
28964
28995
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
28965
28996
|
/** The type of service supported for the specified task type. In this case, `watsonxai`. */
|
|
28966
28997
|
service: InferenceWatsonxServiceType;
|
|
@@ -37569,9 +37600,14 @@ export interface NodesStatsResponseBase extends NodesNodesResponseBase {
|
|
|
37569
37600
|
nodes: Record<string, NodesStats>;
|
|
37570
37601
|
}
|
|
37571
37602
|
export interface NodesUsageNodeUsage {
|
|
37603
|
+
/** The total number of times each REST endpoint has been called on this node since the last restart.
|
|
37604
|
+
* Note that the REST endpoint names are not considered stable. */
|
|
37572
37605
|
rest_actions: Record<string, integer>;
|
|
37606
|
+
/** The timestamp for when the collection of these statistics started. */
|
|
37573
37607
|
since: EpochTime<UnitMillis>;
|
|
37608
|
+
/** The timestamp for when these statistics were collected. */
|
|
37574
37609
|
timestamp: EpochTime<UnitMillis>;
|
|
37610
|
+
/** The total number of times search aggregations have been called on this node since the last restart. */
|
|
37575
37611
|
aggregations: Record<string, any>;
|
|
37576
37612
|
}
|
|
37577
37613
|
export type NodesUsageNodesUsageMetric = '_all' | 'rest_actions' | 'aggregations';
|
|
@@ -42856,7 +42892,7 @@ export interface SnapshotGetRequest extends RequestBase {
|
|
|
42856
42892
|
/** Numeric offset to start pagination from based on the snapshots matching this request. Using a non-zero value for this parameter is mutually exclusive with using the after parameter. Defaults to 0. */
|
|
42857
42893
|
offset?: integer;
|
|
42858
42894
|
/** The maximum number of snapshots to return.
|
|
42859
|
-
* The default is
|
|
42895
|
+
* The default is -1, which means to return all that match the request without limit. */
|
|
42860
42896
|
size?: integer;
|
|
42861
42897
|
/** Filter snapshots by a comma-separated list of snapshot lifecycle management (SLM) policy names that snapshots belong to.
|
|
42862
42898
|
*
|
|
@@ -46427,6 +46463,8 @@ export interface XpackInfoFeatures {
|
|
|
46427
46463
|
/** @remarks This property is not supported on Elastic Cloud Serverless. */
|
|
46428
46464
|
esql: XpackInfoFeature;
|
|
46429
46465
|
graph: XpackInfoFeature;
|
|
46466
|
+
/** @remarks This property is not supported on Elastic Cloud Serverless. */
|
|
46467
|
+
gpu_vector_indexing: XpackInfoFeature;
|
|
46430
46468
|
ilm: XpackInfoFeature;
|
|
46431
46469
|
logstash: XpackInfoFeature;
|
|
46432
46470
|
logsdb: XpackInfoFeature;
|
|
@@ -46594,6 +46632,24 @@ export interface XpackUsageFeatureToggle {
|
|
|
46594
46632
|
export interface XpackUsageFlattened extends XpackUsageBase {
|
|
46595
46633
|
field_count: integer;
|
|
46596
46634
|
}
|
|
46635
|
+
export interface XpackUsageGpuNodeStats {
|
|
46636
|
+
/** GPU device type (e.g., "NVIDIA L4", "NVIDIA A100"). */
|
|
46637
|
+
type: string;
|
|
46638
|
+
/** GPU memory in bytes. */
|
|
46639
|
+
memory_in_bytes: long;
|
|
46640
|
+
/** Whether GPU vector indexing is enabled on this node. */
|
|
46641
|
+
enabled: boolean;
|
|
46642
|
+
/** Number of GPU index builds performed on this node. */
|
|
46643
|
+
index_build_count: long;
|
|
46644
|
+
}
|
|
46645
|
+
export interface XpackUsageGpuVectorIndexing extends XpackUsageBase {
|
|
46646
|
+
/** Total GPU index builds across the cluster. */
|
|
46647
|
+
index_build_count: long;
|
|
46648
|
+
/** Count of data nodes with GPU support. */
|
|
46649
|
+
nodes_with_gpu: integer;
|
|
46650
|
+
/** Per-node GPU details including type, memory, enabled status, and build count. */
|
|
46651
|
+
nodes: XpackUsageGpuNodeStats[];
|
|
46652
|
+
}
|
|
46597
46653
|
export interface XpackUsageHealthStatistics extends XpackUsageBase {
|
|
46598
46654
|
invocations: XpackUsageInvocations;
|
|
46599
46655
|
}
|
|
@@ -46759,6 +46815,8 @@ export interface XpackUsageResponse {
|
|
|
46759
46815
|
eql: XpackUsageEql;
|
|
46760
46816
|
flattened?: XpackUsageFlattened;
|
|
46761
46817
|
graph: XpackUsageBase;
|
|
46818
|
+
/** @remarks This property is not supported on Elastic Cloud Serverless. */
|
|
46819
|
+
gpu_vector_indexing?: XpackUsageGpuVectorIndexing;
|
|
46762
46820
|
health_api?: XpackUsageHealthStatistics;
|
|
46763
46821
|
ilm: XpackUsageIlm;
|
|
46764
46822
|
logstash: XpackUsageBase;
|
package/lib/version.generated.js
CHANGED
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
*/
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.transportVersion = exports.clientVersion = void 0;
|
|
10
|
-
exports.clientVersion = '9.3.
|
|
11
|
-
exports.transportVersion = '9.3.
|
|
10
|
+
exports.clientVersion = '9.3.3';
|
|
11
|
+
exports.transportVersion = '9.3.5';
|
|
12
12
|
//# sourceMappingURL=version.generated.js.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/elasticsearch",
|
|
3
|
-
"version": "9.3.
|
|
4
|
-
"versionCanary": "9.3.
|
|
3
|
+
"version": "9.3.3",
|
|
4
|
+
"versionCanary": "9.3.3-canary.0",
|
|
5
5
|
"description": "The official Elasticsearch client for Node.js",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"main": "./index.js",
|