@opensearch-project/opensearch 3.0.0-beta.6 → 3.0.0-beta.8
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/{lib/OpenSearchAPI.d.ts → api/OpenSearchApi.d.ts} +338 -10
- package/api/OpenSearchApi.js +198 -0
- package/api/_core/bulk.d.ts +9 -8
- package/api/_core/bulk.js +5 -4
- package/api/_core/bulkStream.d.ts +52 -0
- package/api/_core/bulkStream.js +61 -0
- package/api/_core/clearScroll.d.ts +8 -7
- package/api/_core/clearScroll.js +6 -5
- package/api/_core/count.d.ts +11 -9
- package/api/_core/count.js +8 -7
- package/api/_core/create.d.ts +7 -6
- package/api/_core/create.js +4 -3
- package/api/_core/createPit.d.ts +8 -7
- package/api/_core/createPit.js +7 -6
- package/api/_core/delete.d.ts +7 -6
- package/api/_core/delete.js +4 -3
- package/api/_core/deleteAllPits.d.ts +6 -5
- package/api/_core/deleteAllPits.js +4 -3
- package/api/_core/deleteByQuery.d.ts +10 -24
- package/api/_core/deleteByQuery.js +12 -11
- package/api/_core/deleteByQueryRethrottle.d.ts +6 -5
- package/api/_core/deleteByQueryRethrottle.js +4 -3
- package/api/_core/deletePit.d.ts +8 -7
- package/api/_core/deletePit.js +4 -3
- package/api/_core/deleteScript.d.ts +6 -5
- package/api/_core/deleteScript.js +5 -4
- package/api/_core/exists.d.ts +9 -8
- package/api/_core/exists.js +6 -5
- package/api/_core/existsSource.d.ts +9 -8
- package/api/_core/existsSource.js +7 -6
- package/api/_core/explain.d.ts +10 -9
- package/api/_core/explain.js +5 -4
- package/api/_core/fieldCaps.d.ts +8 -9
- package/api/_core/fieldCaps.js +10 -9
- package/api/_core/get.d.ts +9 -8
- package/api/_core/get.js +7 -6
- package/api/_core/getAllPits.d.ts +6 -5
- package/api/_core/getAllPits.js +4 -3
- package/api/_core/getScript.d.ts +7 -6
- package/api/_core/getScript.js +4 -3
- package/api/_core/getScriptContext.d.ts +6 -5
- package/api/_core/getScriptContext.js +4 -3
- package/api/_core/getScriptLanguages.d.ts +6 -5
- package/api/_core/getScriptLanguages.js +4 -3
- package/api/_core/getSource.d.ts +9 -8
- package/api/_core/getSource.js +8 -7
- package/api/_core/index.d.ts +7 -6
- package/api/_core/index.js +5 -4
- package/api/_core/info.d.ts +6 -5
- package/api/_core/info.js +4 -3
- package/api/_core/mget.d.ts +11 -10
- package/api/_core/mget.js +7 -6
- package/api/_core/msearch.d.ts +6 -5
- package/api/_core/msearch.js +8 -7
- package/api/_core/msearchTemplate.d.ts +7 -6
- package/api/_core/msearchTemplate.js +6 -5
- package/api/_core/mtermvectors.d.ts +9 -8
- package/api/_core/mtermvectors.js +7 -6
- package/api/_core/ping.d.ts +4 -3
- package/api/_core/ping.js +4 -3
- package/api/_core/putScript.d.ts +7 -6
- package/api/_core/putScript.js +7 -6
- package/api/_core/rankEval.d.ts +9 -8
- package/api/_core/rankEval.js +9 -8
- package/api/_core/reindex.d.ts +9 -23
- package/api/_core/reindex.js +6 -5
- package/api/_core/reindexRethrottle.d.ts +7 -6
- package/api/_core/reindexRethrottle.js +4 -3
- package/api/_core/renderSearchTemplate.d.ts +8 -7
- package/api/_core/renderSearchTemplate.js +6 -5
- package/api/_core/scriptsPainlessExecute.d.ts +9 -8
- package/api/_core/scriptsPainlessExecute.js +4 -3
- package/api/_core/scroll.d.ts +7 -6
- package/api/_core/scroll.js +6 -5
- package/api/_core/search.d.ts +10 -12
- package/api/_core/search.js +13 -12
- package/api/_core/searchShards.d.ts +8 -7
- package/api/_core/searchShards.js +8 -7
- package/api/_core/searchTemplate.d.ts +9 -8
- package/api/_core/searchTemplate.js +10 -9
- package/api/_core/termvectors.d.ts +9 -8
- package/api/_core/termvectors.js +6 -5
- package/api/_core/update.d.ts +9 -8
- package/api/_core/update.js +7 -6
- package/api/_core/updateByQuery.d.ts +10 -24
- package/api/_core/updateByQuery.js +12 -11
- package/api/_core/updateByQueryRethrottle.d.ts +7 -6
- package/api/_core/updateByQueryRethrottle.js +4 -3
- package/api/_types/_common.aggregations.d.ts +198 -195
- package/api/_types/_common.analysis.d.ts +120 -92
- package/api/_types/_common.d.ts +237 -190
- package/api/_types/_common.mapping.d.ts +122 -170
- package/api/_types/_common.query_dsl.d.ts +149 -99
- package/api/_types/_core._common.d.ts +7 -6
- package/api/_types/_core.bulk.d.ts +12 -11
- package/api/_types/_core.explain.d.ts +7 -6
- package/api/_types/_core.field_caps.d.ts +4 -8
- package/api/_types/_core.get.d.ts +4 -3
- package/api/_types/_core.get_script_context.d.ts +6 -5
- package/api/_types/_core.get_script_languages.d.ts +4 -3
- package/api/_types/_core.mget.d.ts +6 -5
- package/api/_types/_core.msearch.d.ts +10 -11
- package/api/_types/_core.msearch_template.d.ts +5 -4
- package/api/_types/_core.mtermvectors.d.ts +5 -4
- package/api/_types/_core.rank_eval.d.ts +16 -15
- package/api/_types/_core.reindex.d.ts +6 -7
- package/api/_types/_core.reindex_rethrottle.d.ts +6 -5
- package/api/_types/_core.scripts_painless_execute.d.ts +4 -3
- package/api/_types/_core.search.d.ts +44 -42
- package/api/_types/_core.search_shards.d.ts +4 -3
- package/api/_types/_core.termvectors.d.ts +8 -7
- package/api/_types/_core.update.d.ts +4 -3
- package/api/_types/_core.update_by_query_rethrottle.d.ts +4 -3
- package/api/_types/_global.d.ts +4 -3
- package/api/_types/asynchronous_search._common.d.ts +85 -0
- package/api/_types/cat._common.d.ts +8 -6
- package/api/_types/cat.aliases.d.ts +4 -3
- package/api/_types/cat.allocation.d.ts +9 -8
- package/api/_types/cat.cluster_manager.d.ts +4 -3
- package/api/_types/cat.count.d.ts +4 -3
- package/api/_types/cat.fielddata.d.ts +4 -3
- package/api/_types/cat.health.d.ts +5 -4
- package/api/_types/cat.indices.d.ts +134 -129
- package/api/_types/cat.master.d.ts +4 -3
- package/api/_types/cat.nodeattrs.d.ts +4 -3
- package/api/_types/cat.nodes.d.ts +18 -10
- package/api/_types/cat.pending_tasks.d.ts +4 -3
- package/api/_types/cat.plugins.d.ts +4 -3
- package/api/_types/cat.recovery.d.ts +9 -8
- package/api/_types/cat.repositories.d.ts +4 -3
- package/api/_types/cat.segments.d.ts +6 -5
- package/api/_types/cat.shards.d.ts +81 -71
- package/api/_types/cat.snapshots.d.ts +4 -3
- package/api/_types/cat.tasks.d.ts +4 -3
- package/api/_types/cat.templates.d.ts +4 -3
- package/api/_types/cat.thread_pool.d.ts +5 -3
- package/api/_types/cluster._common.d.ts +7 -7
- package/api/_types/cluster.allocation_explain.d.ts +23 -19
- package/api/_types/cluster.decommission_awareness.d.ts +21 -0
- package/api/_types/cluster.health.d.ts +20 -6
- package/api/_types/cluster.pending_tasks.d.ts +4 -3
- package/api/_types/cluster.remote_info.d.ts +5 -4
- package/api/_types/cluster.reroute.d.ts +13 -10
- package/api/_types/cluster.state.d.ts +3 -2
- package/api/_types/cluster.stats.d.ts +103 -103
- package/api/_types/{snapshot.get.d.ts → cluster.weighted_routing.d.ts} +13 -7
- package/api/_types/dangling_indices.list_dangling_indices.d.ts +4 -3
- package/api/_types/flow_framework.common.d.ts +195 -0
- package/api/_types/flow_framework.errors.d.ts +116 -0
- package/api/_types/indices._common.d.ts +205 -214
- package/api/_types/indices.add_block.d.ts +4 -3
- package/api/_types/indices.analyze.d.ts +9 -8
- package/api/_types/indices.close.d.ts +5 -4
- package/api/_types/indices.data_streams_stats.d.ts +6 -5
- package/api/_types/indices.get_alias.d.ts +4 -3
- package/api/_types/indices.get_field_mapping.d.ts +4 -3
- package/api/_types/indices.get_index_template.d.ts +5 -4
- package/api/_types/indices.get_mapping.d.ts +4 -3
- package/api/_types/indices.put_index_template.d.ts +5 -5
- package/api/_types/indices.recovery.d.ts +28 -23
- package/api/_types/indices.resolve_index.d.ts +6 -5
- package/api/_types/indices.rollover.d.ts +12 -11
- package/api/_types/indices.segments.d.ts +12 -8
- package/api/_types/indices.shard_stores.d.ts +9 -8
- package/api/_types/indices.simulate_template.d.ts +6 -5
- package/api/_types/indices.stats.d.ts +36 -73
- package/api/_types/indices.update_aliases.d.ts +7 -6
- package/api/_types/indices.validate_query.d.ts +4 -3
- package/api/_types/ingest._common.d.ts +42 -41
- package/api/_types/ingest.simulate.d.ts +7 -6
- package/api/_types/insights._common.d.ts +95 -0
- package/api/_types/ism._common.d.ts +259 -0
- package/api/_types/knn._common.d.ts +3 -2
- package/api/_types/ml._common.d.ts +143 -14
- package/api/_types/nodes._common.d.ts +205 -164
- package/api/_types/nodes.info.d.ts +79 -78
- package/api/_types/nodes.reload_secure_settings.d.ts +5 -4
- package/api/_types/nodes.stats.d.ts +5 -4
- package/api/_types/nodes.usage.d.ts +5 -4
- package/api/_types/notifications._common.d.ts +24 -23
- package/api/_types/observability._common.d.ts +117 -0
- package/api/_types/query._common.d.ts +71 -0
- package/api/_types/remote_store._common.d.ts +5 -4
- package/api/_types/replication._common.d.ts +143 -0
- package/api/_types/rollups._common.d.ts +18 -17
- package/api/_types/search_pipeline._common.d.ts +112 -14
- package/api/_types/security._common.d.ts +124 -101
- package/api/_types/snapshot._common.d.ts +19 -31
- package/api/_types/snapshot.cleanup_repository.d.ts +4 -3
- package/api/_types/snapshot.restore.d.ts +4 -3
- package/api/_types/snapshot.verify_repository.d.ts +4 -3
- package/api/_types/sql._common.d.ts +21 -20
- package/api/_types/tasks._common.d.ts +25 -16
- package/api/_types/transforms._common.d.ts +19 -18
- package/api/_types/wlm._common.d.ts +53 -0
- package/api/asynchronousSearch/_api.js +29 -0
- package/api/asynchronousSearch/delete.d.ts +31 -0
- package/api/asynchronousSearch/delete.js +49 -0
- package/api/asynchronousSearch/get.d.ts +30 -0
- package/api/asynchronousSearch/get.js +49 -0
- package/api/asynchronousSearch/search.d.ts +34 -0
- package/api/asynchronousSearch/search.js +51 -0
- package/api/asynchronousSearch/stats.d.ts +28 -0
- package/api/asynchronousSearch/stats.js +45 -0
- package/api/cat/_api.js +16 -3
- package/api/cat/aliases.d.ts +7 -6
- package/api/cat/aliases.js +8 -7
- package/api/cat/allPitSegments.d.ts +8 -7
- package/api/cat/allPitSegments.js +5 -4
- package/api/cat/allocation.d.ts +8 -7
- package/api/cat/allocation.js +7 -6
- package/api/cat/clusterManager.d.ts +7 -6
- package/api/cat/clusterManager.js +6 -5
- package/api/cat/count.d.ts +7 -6
- package/api/cat/count.js +8 -7
- package/api/cat/fielddata.d.ts +8 -7
- package/api/cat/fielddata.js +6 -5
- package/api/cat/health.d.ts +7 -6
- package/api/cat/health.js +6 -5
- package/api/cat/help.d.ts +4 -3
- package/api/cat/help.js +4 -3
- package/api/cat/indices.d.ts +8 -7
- package/api/cat/indices.js +12 -11
- package/api/cat/master.d.ts +7 -6
- package/api/cat/master.js +6 -5
- package/api/cat/nodeattrs.d.ts +7 -6
- package/api/cat/nodeattrs.js +6 -5
- package/api/cat/nodes.d.ts +8 -7
- package/api/cat/nodes.js +6 -5
- package/api/cat/pendingTasks.d.ts +7 -6
- package/api/cat/pendingTasks.js +6 -5
- package/api/cat/pitSegments.d.ts +9 -8
- package/api/cat/pitSegments.js +5 -4
- package/api/cat/plugins.d.ts +7 -6
- package/api/cat/plugins.js +6 -5
- package/api/cat/recovery.d.ts +8 -7
- package/api/cat/recovery.js +7 -6
- package/api/cat/repositories.d.ts +7 -6
- package/api/cat/repositories.js +6 -5
- package/api/cat/segmentReplication.d.ts +8 -7
- package/api/cat/segmentReplication.js +10 -9
- package/api/cat/segments.d.ts +8 -7
- package/api/cat/segments.js +8 -7
- package/api/cat/shards.d.ts +8 -7
- package/api/cat/shards.js +8 -7
- package/api/cat/snapshots.d.ts +7 -6
- package/api/cat/snapshots.js +7 -6
- package/api/cat/tasks.d.ts +7 -6
- package/api/cat/tasks.js +5 -4
- package/api/cat/templates.d.ts +7 -6
- package/api/cat/templates.js +7 -6
- package/api/cat/threadPool.d.ts +7 -6
- package/api/cat/threadPool.js +8 -7
- package/api/cluster/_api.js +38 -3
- package/api/cluster/allocationExplain.d.ts +9 -8
- package/api/cluster/allocationExplain.js +6 -5
- package/api/cluster/deleteComponentTemplate.d.ts +6 -5
- package/api/cluster/deleteComponentTemplate.js +5 -4
- package/api/cluster/deleteDecommissionAwareness.d.ts +6 -4
- package/api/cluster/deleteDecommissionAwareness.js +4 -3
- package/api/cluster/deleteVotingConfigExclusions.d.ts +5 -4
- package/api/cluster/deleteVotingConfigExclusions.js +5 -4
- package/api/cluster/deleteWeightedRouting.d.ts +10 -5
- package/api/cluster/deleteWeightedRouting.js +7 -4
- package/api/cluster/existsComponentTemplate.d.ts +6 -5
- package/api/cluster/existsComponentTemplate.js +6 -5
- package/api/cluster/getComponentTemplate.d.ts +8 -7
- package/api/cluster/getComponentTemplate.js +7 -6
- package/api/cluster/getDecommissionAwareness.d.ts +7 -5
- package/api/cluster/getDecommissionAwareness.js +4 -3
- package/api/cluster/getSettings.d.ts +10 -9
- package/api/cluster/getSettings.js +5 -4
- package/api/cluster/getWeightedRouting.d.ts +7 -5
- package/api/cluster/getWeightedRouting.js +4 -3
- package/api/cluster/health.d.ts +7 -6
- package/api/cluster/health.js +10 -9
- package/api/cluster/pendingTasks.d.ts +8 -7
- package/api/cluster/pendingTasks.js +6 -5
- package/api/cluster/postVotingConfigExclusions.d.ts +6 -5
- package/api/cluster/postVotingConfigExclusions.js +4 -3
- package/api/cluster/putComponentTemplate.d.ts +7 -6
- package/api/cluster/putComponentTemplate.js +6 -5
- package/api/cluster/putDecommissionAwareness.d.ts +7 -5
- package/api/cluster/putDecommissionAwareness.js +4 -3
- package/api/cluster/putSettings.d.ts +8 -7
- package/api/cluster/putSettings.js +5 -4
- package/api/cluster/putWeightedRouting.d.ts +7 -4
- package/api/cluster/putWeightedRouting.js +5 -3
- package/api/cluster/remoteInfo.d.ts +5 -4
- package/api/cluster/remoteInfo.js +4 -3
- package/api/cluster/reroute.d.ts +10 -9
- package/api/cluster/reroute.js +8 -7
- package/api/cluster/state.d.ts +7 -6
- package/api/cluster/state.js +9 -8
- package/api/cluster/stats.d.ts +9 -6
- package/api/cluster/stats.js +19 -5
- package/api/danglingIndices/_api.js +12 -5
- package/api/danglingIndices/deleteDanglingIndex.d.ts +6 -5
- package/api/danglingIndices/deleteDanglingIndex.js +4 -3
- package/api/danglingIndices/importDanglingIndex.d.ts +6 -5
- package/api/danglingIndices/importDanglingIndex.js +4 -3
- package/api/danglingIndices/listDanglingIndices.d.ts +6 -5
- package/api/danglingIndices/listDanglingIndices.js +5 -4
- package/api/flowFramework/_api.js +41 -0
- package/api/flowFramework/create.d.ts +37 -0
- package/api/flowFramework/create.js +52 -0
- package/api/flowFramework/delete.d.ts +31 -0
- package/api/flowFramework/delete.js +50 -0
- package/api/flowFramework/deprovision.d.ts +31 -0
- package/api/flowFramework/deprovision.js +50 -0
- package/api/flowFramework/get.d.ts +30 -0
- package/api/flowFramework/get.js +49 -0
- package/api/flowFramework/getStatus.d.ts +31 -0
- package/api/flowFramework/getStatus.js +50 -0
- package/api/flowFramework/getSteps.d.ts +30 -0
- package/api/flowFramework/getSteps.js +47 -0
- package/api/flowFramework/provision.d.ts +31 -0
- package/api/flowFramework/provision.js +50 -0
- package/api/flowFramework/search.d.ts +30 -0
- package/api/flowFramework/search.js +47 -0
- package/api/flowFramework/searchState.d.ts +30 -0
- package/api/flowFramework/searchState.js +47 -0
- package/api/flowFramework/update.d.ts +38 -0
- package/api/flowFramework/update.js +55 -0
- package/api/http/_api.js +4 -3
- package/api/http/connect.js +3 -2
- package/api/http/delete.js +3 -2
- package/api/http/get.js +3 -2
- package/api/http/head.js +3 -2
- package/api/http/options.js +3 -2
- package/api/http/patch.js +3 -2
- package/api/http/post.js +3 -2
- package/api/http/put.js +3 -2
- package/api/http/trace.js +3 -2
- package/api/index.d.ts +141 -6
- package/api/indices/_api.js +64 -3
- package/api/indices/addBlock.d.ts +7 -6
- package/api/indices/addBlock.js +8 -7
- package/api/indices/analyze.d.ts +8 -7
- package/api/indices/analyze.js +5 -4
- package/api/indices/clearCache.d.ts +6 -5
- package/api/indices/clearCache.js +9 -8
- package/api/indices/clone.d.ts +8 -7
- package/api/indices/clone.js +5 -4
- package/api/indices/close.d.ts +7 -6
- package/api/indices/close.js +6 -5
- package/api/indices/create.d.ts +9 -8
- package/api/indices/create.js +5 -4
- package/api/indices/createDataStream.d.ts +6 -5
- package/api/indices/createDataStream.js +4 -3
- package/api/indices/dataStreamsStats.d.ts +9 -8
- package/api/indices/dataStreamsStats.js +5 -4
- package/api/indices/delete.d.ts +6 -5
- package/api/indices/delete.js +7 -6
- package/api/indices/deleteAlias.d.ts +6 -5
- package/api/indices/deleteAlias.js +6 -5
- package/api/indices/deleteDataStream.d.ts +6 -5
- package/api/indices/deleteDataStream.js +4 -3
- package/api/indices/deleteIndexTemplate.d.ts +6 -5
- package/api/indices/deleteIndexTemplate.js +5 -4
- package/api/indices/deleteTemplate.d.ts +6 -5
- package/api/indices/deleteTemplate.js +5 -4
- package/api/indices/exists.d.ts +6 -5
- package/api/indices/exists.js +6 -5
- package/api/indices/existsAlias.d.ts +6 -5
- package/api/indices/existsAlias.js +8 -7
- package/api/indices/existsIndexTemplate.d.ts +6 -5
- package/api/indices/existsIndexTemplate.js +5 -4
- package/api/indices/existsTemplate.d.ts +6 -5
- package/api/indices/existsTemplate.js +5 -4
- package/api/indices/flush.d.ts +6 -5
- package/api/indices/flush.js +8 -7
- package/api/indices/forcemerge.d.ts +7 -6
- package/api/indices/forcemerge.js +10 -9
- package/api/indices/get.d.ts +6 -5
- package/api/indices/get.js +12 -11
- package/api/indices/getAlias.d.ts +6 -5
- package/api/indices/getAlias.js +7 -6
- package/api/indices/getDataStream.d.ts +7 -6
- package/api/indices/getDataStream.js +5 -4
- package/api/indices/getFieldMapping.d.ts +6 -5
- package/api/indices/getFieldMapping.js +7 -6
- package/api/indices/getIndexTemplate.d.ts +7 -6
- package/api/indices/getIndexTemplate.js +8 -7
- package/api/indices/getMapping.d.ts +6 -5
- package/api/indices/getMapping.js +9 -8
- package/api/indices/getSettings.d.ts +6 -5
- package/api/indices/getSettings.js +10 -9
- package/api/indices/getTemplate.d.ts +6 -5
- package/api/indices/getTemplate.js +6 -5
- package/api/indices/getUpgrade.d.ts +6 -5
- package/api/indices/getUpgrade.js +9 -8
- package/api/indices/open.d.ts +6 -5
- package/api/indices/open.js +7 -6
- package/api/indices/putAlias.d.ts +7 -6
- package/api/indices/putAlias.js +7 -6
- package/api/indices/putIndexTemplate.d.ts +7 -6
- package/api/indices/putIndexTemplate.js +5 -4
- package/api/indices/putMapping.d.ts +7 -7
- package/api/indices/putMapping.js +7 -6
- package/api/indices/putSettings.d.ts +6 -5
- package/api/indices/putSettings.js +9 -8
- package/api/indices/putTemplate.d.ts +8 -7
- package/api/indices/putTemplate.js +6 -5
- package/api/indices/recovery.d.ts +6 -5
- package/api/indices/recovery.js +6 -5
- package/api/indices/refresh.d.ts +6 -5
- package/api/indices/refresh.js +8 -7
- package/api/indices/resolveIndex.d.ts +7 -6
- package/api/indices/resolveIndex.js +6 -5
- package/api/indices/rollover.d.ts +9 -8
- package/api/indices/rollover.js +6 -5
- package/api/indices/segments.d.ts +7 -6
- package/api/indices/segments.js +7 -6
- package/api/indices/shardStores.d.ts +8 -7
- package/api/indices/shardStores.js +9 -8
- package/api/indices/shrink.d.ts +8 -7
- package/api/indices/shrink.js +5 -4
- package/api/indices/simulateIndexTemplate.d.ts +7 -6
- package/api/indices/simulateIndexTemplate.js +5 -4
- package/api/indices/simulateTemplate.d.ts +7 -6
- package/api/indices/simulateTemplate.js +7 -6
- package/api/indices/split.d.ts +8 -7
- package/api/indices/split.js +5 -4
- package/api/indices/stats.d.ts +9 -8
- package/api/indices/stats.js +9 -8
- package/api/indices/updateAliases.d.ts +7 -6
- package/api/indices/updateAliases.js +5 -4
- package/api/indices/upgrade.d.ts +6 -5
- package/api/indices/upgrade.js +10 -9
- package/api/indices/validateQuery.d.ts +9 -8
- package/api/indices/validateQuery.js +7 -6
- package/api/ingest/_api.js +12 -3
- package/api/ingest/deletePipeline.d.ts +6 -5
- package/api/ingest/deletePipeline.js +5 -4
- package/api/ingest/getPipeline.d.ts +6 -5
- package/api/ingest/getPipeline.js +6 -5
- package/api/ingest/processorGrok.d.ts +5 -4
- package/api/ingest/processorGrok.js +4 -3
- package/api/ingest/putPipeline.d.ts +7 -6
- package/api/ingest/putPipeline.js +5 -4
- package/api/ingest/simulate.d.ts +9 -8
- package/api/ingest/simulate.js +5 -4
- package/api/insights/_api.js +28 -0
- package/api/insights/topQueries.d.ts +30 -0
- package/api/insights/topQueries.js +48 -0
- package/api/ism/_api.js +61 -0
- package/api/ism/addPolicy.d.ts +32 -0
- package/api/ism/addPolicy.js +49 -0
- package/api/ism/changePolicy.d.ts +32 -0
- package/api/ism/changePolicy.js +49 -0
- package/api/ism/deletePolicy.d.ts +30 -0
- package/api/ism/deletePolicy.js +49 -0
- package/api/ism/existsPolicy.d.ts +29 -0
- package/api/ism/existsPolicy.js +49 -0
- package/api/ism/explainPolicy.d.ts +34 -0
- package/api/ism/explainPolicy.js +49 -0
- package/api/ism/getPolicies.d.ts +28 -0
- package/api/ism/getPolicies.js +45 -0
- package/api/ism/getPolicy.d.ts +30 -0
- package/api/ism/getPolicy.js +49 -0
- package/api/ism/putPolicies.d.ts +34 -0
- package/api/ism/putPolicies.js +51 -0
- package/api/ism/putPolicy.d.ts +34 -0
- package/api/ism/putPolicy.js +52 -0
- package/api/ism/refreshSearchAnalyzers.d.ts +31 -0
- package/api/ism/refreshSearchAnalyzers.js +49 -0
- package/api/ism/removePolicy.d.ts +31 -0
- package/api/ism/removePolicy.js +48 -0
- package/api/ism/retryIndex.d.ts +32 -0
- package/api/ism/retryIndex.js +49 -0
- package/api/knn/_api.js +12 -3
- package/api/knn/deleteModel.d.ts +5 -4
- package/api/knn/deleteModel.js +4 -3
- package/api/knn/getModel.d.ts +5 -4
- package/api/knn/getModel.js +4 -3
- package/api/knn/searchModels.d.ts +7 -6
- package/api/knn/searchModels.js +19 -18
- package/api/knn/stats.d.ts +6 -5
- package/api/knn/stats.js +5 -4
- package/api/knn/trainModel.d.ts +13 -7
- package/api/knn/trainModel.js +5 -4
- package/api/knn/warmup.d.ts +5 -4
- package/api/knn/warmup.js +5 -4
- package/api/list/_api.js +28 -0
- package/api/list/help.d.ts +27 -0
- package/api/list/help.js +45 -0
- package/api/list/indices.d.ts +51 -0
- package/api/list/indices.js +65 -0
- package/api/list/shards.d.ts +47 -0
- package/api/list/shards.js +61 -0
- package/api/ml/_api.js +39 -3
- package/api/ml/createConnector.d.ts +32 -0
- package/api/ml/createConnector.js +47 -0
- package/api/ml/deleteAgent.d.ts +30 -0
- package/api/ml/deleteAgent.js +49 -0
- package/api/ml/deleteConnector.d.ts +30 -0
- package/api/ml/deleteConnector.js +49 -0
- package/api/ml/deleteModel.d.ts +7 -6
- package/api/ml/deleteModel.js +4 -3
- package/api/ml/deleteModelGroup.d.ts +7 -6
- package/api/ml/deleteModelGroup.js +4 -3
- package/api/ml/deleteTask.d.ts +30 -0
- package/api/ml/deleteTask.js +49 -0
- package/api/ml/deployModel.d.ts +33 -0
- package/api/ml/deployModel.js +49 -0
- package/api/ml/getModelGroup.d.ts +5 -4
- package/api/ml/getModelGroup.js +4 -3
- package/api/ml/getTask.d.ts +5 -4
- package/api/ml/getTask.js +4 -3
- package/api/ml/registerAgents.d.ts +32 -0
- package/api/ml/registerAgents.js +47 -0
- package/api/ml/registerModel.d.ts +10 -7
- package/api/ml/registerModel.js +4 -3
- package/api/ml/registerModelGroup.d.ts +6 -5
- package/api/ml/registerModelGroup.js +4 -3
- package/api/ml/searchModels.d.ts +5 -4
- package/api/ml/searchModels.js +4 -3
- package/api/ml/undeployModel.d.ts +30 -0
- package/api/ml/undeployModel.js +49 -0
- package/api/nodes/_api.js +8 -3
- package/api/nodes/hotThreads.d.ts +6 -5
- package/api/nodes/hotThreads.js +7 -6
- package/api/nodes/info.d.ts +6 -5
- package/api/nodes/info.js +6 -5
- package/api/nodes/reloadSecureSettings.d.ts +7 -6
- package/api/nodes/reloadSecureSettings.js +5 -4
- package/api/nodes/stats.d.ts +6 -5
- package/api/nodes/stats.js +7 -6
- package/api/nodes/usage.d.ts +6 -5
- package/api/nodes/usage.js +5 -4
- package/api/notifications/_api.js +22 -3
- package/api/notifications/createConfig.d.ts +6 -5
- package/api/notifications/createConfig.js +4 -3
- package/api/notifications/deleteConfig.d.ts +5 -4
- package/api/notifications/deleteConfig.js +4 -3
- package/api/notifications/deleteConfigs.d.ts +5 -4
- package/api/notifications/deleteConfigs.js +4 -3
- package/api/notifications/getConfig.d.ts +5 -4
- package/api/notifications/getConfig.js +4 -3
- package/api/notifications/getConfigs.d.ts +8 -5
- package/api/notifications/getConfigs.js +8 -5
- package/api/notifications/listChannels.d.ts +5 -4
- package/api/notifications/listChannels.js +4 -3
- package/api/notifications/listFeatures.d.ts +5 -4
- package/api/notifications/listFeatures.js +4 -3
- package/api/notifications/sendTest.d.ts +6 -5
- package/api/notifications/sendTest.js +4 -3
- package/api/notifications/updateConfig.d.ts +6 -5
- package/api/notifications/updateConfig.js +4 -3
- package/api/observability/_api.js +46 -0
- package/api/observability/createObject.d.ts +32 -0
- package/api/observability/createObject.js +47 -0
- package/api/observability/deleteObject.d.ts +31 -0
- package/api/observability/deleteObject.js +49 -0
- package/api/observability/deleteObjects.d.ts +32 -0
- package/api/observability/deleteObjects.js +48 -0
- package/api/observability/getLocalstats.d.ts +27 -0
- package/api/observability/getLocalstats.js +45 -0
- package/api/observability/getObject.d.ts +30 -0
- package/api/observability/getObject.js +49 -0
- package/api/observability/listObjects.d.ts +28 -0
- package/api/observability/listObjects.js +45 -0
- package/api/observability/updateObject.d.ts +33 -0
- package/api/observability/updateObject.js +50 -0
- package/api/ppl/_api.js +8 -3
- package/api/ppl/explain.d.ts +5 -4
- package/api/ppl/explain.js +5 -4
- package/api/ppl/getStats.d.ts +5 -4
- package/api/ppl/getStats.js +5 -4
- package/api/ppl/postStats.d.ts +5 -4
- package/api/ppl/postStats.js +5 -4
- package/api/ppl/query.d.ts +5 -4
- package/api/ppl/query.js +5 -4
- package/api/query/_api.js +40 -0
- package/api/query/datasourceDelete.d.ts +29 -0
- package/api/query/datasourceDelete.js +49 -0
- package/api/query/datasourceRetrieve.d.ts +30 -0
- package/api/query/datasourceRetrieve.js +49 -0
- package/api/query/datasourcesCreate.d.ts +30 -0
- package/api/query/datasourcesCreate.js +47 -0
- package/api/query/datasourcesList.d.ts +28 -0
- package/api/query/datasourcesList.js +45 -0
- package/api/query/datasourcesUpdate.d.ts +30 -0
- package/api/query/datasourcesUpdate.js +47 -0
- package/api/remoteStore/_api.js +6 -5
- package/api/remoteStore/restore.d.ts +8 -7
- package/api/remoteStore/restore.js +4 -3
- package/api/replication/_api.js +48 -0
- package/api/replication/autofollowStats.d.ts +28 -0
- package/api/replication/autofollowStats.js +45 -0
- package/api/replication/createReplicationRule.d.ts +31 -0
- package/api/replication/createReplicationRule.js +47 -0
- package/api/replication/deleteReplicationRule.d.ts +31 -0
- package/api/replication/deleteReplicationRule.js +47 -0
- package/api/replication/followerStats.d.ts +28 -0
- package/api/replication/followerStats.js +45 -0
- package/api/replication/leaderStats.d.ts +28 -0
- package/api/replication/leaderStats.js +45 -0
- package/api/replication/pause.d.ts +33 -0
- package/api/replication/pause.js +50 -0
- package/api/replication/resume.d.ts +33 -0
- package/api/replication/resume.js +50 -0
- package/api/replication/start.d.ts +32 -0
- package/api/replication/start.js +50 -0
- package/api/replication/status.d.ts +31 -0
- package/api/replication/status.js +49 -0
- package/api/replication/stop.d.ts +33 -0
- package/api/replication/stop.js +50 -0
- package/api/replication/updateSettings.d.ts +32 -0
- package/api/replication/updateSettings.js +50 -0
- package/api/rollups/_api.js +4 -3
- package/api/rollups/delete.d.ts +6 -5
- package/api/rollups/delete.js +4 -3
- package/api/rollups/explain.d.ts +6 -5
- package/api/rollups/explain.js +4 -3
- package/api/rollups/get.d.ts +6 -5
- package/api/rollups/get.js +4 -3
- package/api/rollups/put.d.ts +6 -5
- package/api/rollups/put.js +4 -3
- package/api/rollups/start.d.ts +6 -5
- package/api/rollups/start.js +4 -3
- package/api/rollups/stop.d.ts +6 -5
- package/api/rollups/stop.js +4 -3
- package/api/searchPipeline/_api.js +6 -5
- package/api/searchPipeline/delete.d.ts +7 -6
- package/api/searchPipeline/delete.js +4 -3
- package/api/searchPipeline/get.d.ts +6 -5
- package/api/searchPipeline/get.js +5 -4
- package/api/searchPipeline/put.d.ts +7 -6
- package/api/searchPipeline/put.js +4 -3
- package/api/security/_api.js +148 -3
- package/api/security/authinfo.d.ts +5 -4
- package/api/security/authinfo.js +4 -3
- package/api/security/authtoken.d.ts +4 -3
- package/api/security/authtoken.js +4 -3
- package/api/security/changePassword.d.ts +5 -4
- package/api/security/changePassword.js +4 -3
- package/api/security/configUpgradeCheck.d.ts +4 -3
- package/api/security/configUpgradeCheck.js +5 -4
- package/api/security/configUpgradePerform.d.ts +5 -4
- package/api/security/configUpgradePerform.js +5 -4
- package/api/security/createActionGroup.d.ts +5 -4
- package/api/security/createActionGroup.js +4 -3
- package/api/security/createAllowlist.d.ts +5 -4
- package/api/security/createAllowlist.js +5 -4
- package/api/security/createRole.d.ts +5 -4
- package/api/security/createRole.js +5 -4
- package/api/security/createRoleMapping.d.ts +5 -4
- package/api/security/createRoleMapping.js +5 -4
- package/api/security/createTenant.d.ts +5 -4
- package/api/security/createTenant.js +5 -4
- package/api/security/createUpdateTenancyConfig.d.ts +6 -7
- package/api/security/createUpdateTenancyConfig.js +5 -4
- package/api/security/createUser.d.ts +5 -4
- package/api/security/createUser.js +5 -4
- package/api/security/createUserLegacy.d.ts +5 -4
- package/api/security/createUserLegacy.js +5 -4
- package/api/security/deleteActionGroup.d.ts +5 -4
- package/api/security/deleteActionGroup.js +5 -4
- package/api/security/deleteDistinguishedName.d.ts +5 -4
- package/api/security/deleteDistinguishedName.js +5 -4
- package/api/security/deleteRole.d.ts +5 -4
- package/api/security/deleteRole.js +5 -4
- package/api/security/deleteRoleMapping.d.ts +5 -4
- package/api/security/deleteRoleMapping.js +5 -4
- package/api/security/deleteTenant.d.ts +5 -4
- package/api/security/deleteTenant.js +5 -4
- package/api/security/deleteUser.d.ts +5 -4
- package/api/security/deleteUser.js +5 -4
- package/api/security/deleteUserLegacy.d.ts +5 -4
- package/api/security/deleteUserLegacy.js +5 -4
- package/api/security/flushCache.d.ts +4 -3
- package/api/security/flushCache.js +4 -3
- package/api/security/generateOboToken.d.ts +5 -4
- package/api/security/generateOboToken.js +4 -3
- package/api/security/generateUserToken.d.ts +5 -4
- package/api/security/generateUserToken.js +5 -4
- package/api/security/generateUserTokenLegacy.d.ts +6 -6
- package/api/security/generateUserTokenLegacy.js +6 -5
- package/api/security/getAccountDetails.d.ts +4 -3
- package/api/security/getAccountDetails.js +4 -3
- package/api/security/getActionGroup.d.ts +5 -4
- package/api/security/getActionGroup.js +5 -4
- package/api/security/getActionGroups.d.ts +4 -3
- package/api/security/getActionGroups.js +4 -3
- package/api/security/getAllCertificates.d.ts +32 -0
- package/api/security/getAllCertificates.js +48 -0
- package/api/security/getAllowlist.d.ts +4 -3
- package/api/security/getAllowlist.js +4 -3
- package/api/security/getAuditConfiguration.d.ts +4 -3
- package/api/security/getAuditConfiguration.js +4 -3
- package/api/security/getCertificates.d.ts +4 -3
- package/api/security/getCertificates.js +4 -3
- package/api/security/getConfiguration.d.ts +5 -4
- package/api/security/getConfiguration.js +4 -3
- package/api/security/getDashboardsInfo.d.ts +4 -3
- package/api/security/getDashboardsInfo.js +4 -3
- package/api/security/getDistinguishedName.d.ts +5 -4
- package/api/security/getDistinguishedName.js +6 -5
- package/api/security/getDistinguishedNames.d.ts +5 -4
- package/api/security/getDistinguishedNames.js +5 -4
- package/api/security/getNodeCertificates.d.ts +33 -0
- package/api/security/getNodeCertificates.js +51 -0
- package/api/security/getPermissionsInfo.d.ts +4 -3
- package/api/security/getPermissionsInfo.js +4 -3
- package/api/security/getRole.d.ts +5 -4
- package/api/security/getRole.js +4 -3
- package/api/security/getRoleMapping.d.ts +5 -4
- package/api/security/getRoleMapping.js +4 -3
- package/api/security/getRoleMappings.d.ts +4 -3
- package/api/security/getRoleMappings.js +4 -3
- package/api/security/getRoles.d.ts +4 -3
- package/api/security/getRoles.js +4 -3
- package/api/security/getSslinfo.d.ts +6 -5
- package/api/security/getSslinfo.js +5 -4
- package/api/security/getTenancyConfig.d.ts +4 -3
- package/api/security/getTenancyConfig.js +4 -3
- package/api/security/getTenant.d.ts +5 -4
- package/api/security/getTenant.js +5 -4
- package/api/security/getTenants.d.ts +4 -3
- package/api/security/getTenants.js +4 -3
- package/api/security/getUser.d.ts +5 -4
- package/api/security/getUser.js +5 -4
- package/api/security/getUserLegacy.d.ts +5 -4
- package/api/security/getUserLegacy.js +5 -4
- package/api/security/getUsers.d.ts +4 -3
- package/api/security/getUsers.js +4 -3
- package/api/security/getUsersLegacy.d.ts +4 -3
- package/api/security/getUsersLegacy.js +4 -3
- package/api/security/health.d.ts +5 -4
- package/api/security/health.js +5 -4
- package/api/security/migrate.d.ts +4 -3
- package/api/security/migrate.js +4 -3
- package/api/security/patchActionGroup.d.ts +5 -4
- package/api/security/patchActionGroup.js +5 -4
- package/api/security/patchActionGroups.d.ts +5 -4
- package/api/security/patchActionGroups.js +4 -3
- package/api/security/patchAllowlist.d.ts +5 -4
- package/api/security/patchAllowlist.js +4 -3
- package/api/security/patchAuditConfiguration.d.ts +5 -4
- package/api/security/patchAuditConfiguration.js +4 -3
- package/api/security/patchConfiguration.d.ts +5 -4
- package/api/security/patchConfiguration.js +4 -3
- package/api/security/patchDistinguishedName.d.ts +5 -4
- package/api/security/patchDistinguishedName.js +5 -4
- package/api/security/patchDistinguishedNames.d.ts +5 -4
- package/api/security/patchDistinguishedNames.js +4 -3
- package/api/security/patchRole.d.ts +5 -4
- package/api/security/patchRole.js +5 -4
- package/api/security/patchRoleMapping.d.ts +5 -4
- package/api/security/patchRoleMapping.js +5 -4
- package/api/security/patchRoleMappings.d.ts +5 -4
- package/api/security/patchRoleMappings.js +4 -3
- package/api/security/patchRoles.d.ts +5 -4
- package/api/security/patchRoles.js +4 -3
- package/api/security/patchTenant.d.ts +5 -4
- package/api/security/patchTenant.js +5 -4
- package/api/security/patchTenants.d.ts +5 -4
- package/api/security/patchTenants.js +4 -3
- package/api/security/patchUser.d.ts +5 -4
- package/api/security/patchUser.js +5 -4
- package/api/security/patchUsers.d.ts +5 -4
- package/api/security/patchUsers.js +4 -3
- package/api/security/postDashboardsInfo.d.ts +5 -6
- package/api/security/postDashboardsInfo.js +5 -6
- package/api/security/reloadHttpCertificates.d.ts +4 -3
- package/api/security/reloadHttpCertificates.js +4 -3
- package/api/security/reloadTransportCertificates.d.ts +4 -3
- package/api/security/reloadTransportCertificates.js +4 -3
- package/api/security/tenantInfo.d.ts +4 -3
- package/api/security/tenantInfo.js +4 -3
- package/api/security/updateAuditConfiguration.d.ts +5 -4
- package/api/security/updateAuditConfiguration.js +4 -3
- package/api/security/updateConfiguration.d.ts +5 -4
- package/api/security/updateConfiguration.js +4 -3
- package/api/security/updateDistinguishedName.d.ts +6 -5
- package/api/security/updateDistinguishedName.js +5 -4
- package/api/security/validate.d.ts +5 -4
- package/api/security/validate.js +5 -4
- package/api/security/whoAmI.d.ts +4 -3
- package/api/security/whoAmI.js +4 -3
- package/api/security/whoAmIProtected.d.ts +4 -3
- package/api/security/whoAmIProtected.js +4 -3
- package/api/snapshot/_api.js +14 -3
- package/api/snapshot/cleanupRepository.d.ts +7 -6
- package/api/snapshot/cleanupRepository.js +5 -4
- package/api/snapshot/clone.d.ts +7 -6
- package/api/snapshot/clone.js +6 -5
- package/api/snapshot/create.d.ts +8 -7
- package/api/snapshot/create.js +5 -4
- package/api/snapshot/createRepository.d.ts +7 -6
- package/api/snapshot/createRepository.js +5 -4
- package/api/snapshot/delete.d.ts +6 -5
- package/api/snapshot/delete.js +5 -4
- package/api/snapshot/deleteRepository.d.ts +6 -5
- package/api/snapshot/deleteRepository.js +5 -4
- package/api/snapshot/get.d.ts +8 -11
- package/api/snapshot/get.js +7 -6
- package/api/snapshot/getRepository.d.ts +6 -5
- package/api/snapshot/getRepository.js +6 -5
- package/api/snapshot/restore.d.ts +10 -8
- package/api/snapshot/restore.js +5 -4
- package/api/snapshot/status.d.ts +7 -6
- package/api/snapshot/status.js +7 -6
- package/api/snapshot/verifyRepository.d.ts +7 -6
- package/api/snapshot/verifyRepository.js +5 -4
- package/api/sql/_api.js +8 -3
- package/api/sql/close.d.ts +6 -5
- package/api/sql/close.js +9 -8
- package/api/sql/explain.d.ts +6 -5
- package/api/sql/explain.js +9 -8
- package/api/sql/getStats.d.ts +5 -4
- package/api/sql/getStats.js +5 -4
- package/api/sql/postStats.d.ts +6 -5
- package/api/sql/postStats.js +9 -8
- package/api/sql/query.d.ts +6 -5
- package/api/sql/query.js +9 -8
- package/api/sql/settings.d.ts +6 -5
- package/api/sql/settings.js +9 -8
- package/api/tasks/_api.js +4 -3
- package/api/tasks/cancel.d.ts +6 -5
- package/api/tasks/cancel.js +5 -4
- package/api/tasks/get.d.ts +8 -7
- package/api/tasks/get.js +4 -3
- package/api/tasks/list.d.ts +6 -5
- package/api/tasks/list.js +4 -3
- package/api/transforms/_api.js +4 -3
- package/api/transforms/delete.d.ts +6 -5
- package/api/transforms/delete.js +4 -3
- package/api/transforms/explain.d.ts +6 -5
- package/api/transforms/explain.js +4 -3
- package/api/transforms/get.d.ts +6 -5
- package/api/transforms/get.js +4 -3
- package/api/transforms/preview.d.ts +11 -4
- package/api/transforms/preview.js +8 -5
- package/api/transforms/put.d.ts +6 -5
- package/api/transforms/put.js +4 -3
- package/api/transforms/search.d.ts +5 -4
- package/api/transforms/search.js +4 -3
- package/api/transforms/start.d.ts +6 -5
- package/api/transforms/start.js +4 -3
- package/api/transforms/stop.d.ts +6 -5
- package/api/transforms/stop.js +4 -3
- package/api/utils.js +8 -7
- package/api/wlm/_api.js +37 -0
- package/api/wlm/createQueryGroup.d.ts +30 -0
- package/api/wlm/createQueryGroup.js +47 -0
- package/api/wlm/deleteQueryGroup.d.ts +31 -0
- package/api/wlm/deleteQueryGroup.js +49 -0
- package/api/wlm/getQueryGroup.d.ts +32 -0
- package/api/wlm/getQueryGroup.js +48 -0
- package/api/wlm/updateQueryGroup.d.ts +31 -0
- package/api/wlm/updateQueryGroup.js +50 -0
- package/index.d.ts +2 -0
- package/index.mjs +2 -0
- package/lib/Client.d.ts +2 -1
- package/lib/Client.js +35 -35
- package/lib/Helpers.d.ts +18 -21
- package/lib/Helpers.js +0 -2
- package/lib/Serializer.js +1 -1
- package/lib/errors.d.ts +13 -13
- package/package.json +12 -7
- package/CHANGELOG.md +0 -295
- package/NOTICE.txt +0 -8
- package/lib/OpenSearchAPI.js +0 -117
|
@@ -5,42 +5,43 @@
|
|
|
5
5
|
* The OpenSearch Contributors require contributions made to
|
|
6
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
7
7
|
* compatible open source license.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
/*
|
|
11
|
-
* This file was generated from OpenSearch API Spec. Do
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
12
13
|
* manually. If you want to make changes, either update the spec or
|
|
13
|
-
* the API generator.
|
|
14
|
+
* modify the API generator.
|
|
14
15
|
*/
|
|
15
16
|
|
|
16
|
-
import * as Common_QueryDsl from './_common.query_dsl'
|
|
17
17
|
import * as Common from './_common'
|
|
18
|
+
import * as Common_QueryDsl from './_common.query_dsl'
|
|
18
19
|
import * as Core_Search from './_core.search'
|
|
19
20
|
|
|
20
21
|
export type AdjacencyMatrixAggregate = MultiBucketAggregateBaseAdjacencyMatrixBucket & Record<string, any>
|
|
21
22
|
|
|
22
|
-
export
|
|
23
|
+
export type AdjacencyMatrixAggregation = BucketAggregationBase & {
|
|
23
24
|
filters?: Record<string, Common_QueryDsl.QueryContainer>;
|
|
24
25
|
}
|
|
25
26
|
|
|
26
|
-
export
|
|
27
|
+
export type AdjacencyMatrixBucket = MultiBucketBase & {
|
|
27
28
|
key: string;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
export type Aggregate = CardinalityAggregate | HdrPercentilesAggregate | HdrPercentileRanksAggregate | TDigestPercentilesAggregate | TDigestPercentileRanksAggregate | PercentilesBucketAggregate | MedianAbsoluteDeviationAggregate | MinAggregate | MaxAggregate | SumAggregate | AvgAggregate | WeightedAvgAggregate | ValueCountAggregate | SimpleValueAggregate | DerivativeAggregate | BucketMetricValueAggregate | StatsAggregate | StatsBucketAggregate | ExtendedStatsAggregate | ExtendedStatsBucketAggregate | GeoBoundsAggregate | GeoCentroidAggregate | HistogramAggregate | DateHistogramAggregate | AutoDateHistogramAggregate | VariableWidthHistogramAggregate | StringTermsAggregate | LongTermsAggregate | DoubleTermsAggregate | UnmappedTermsAggregate | LongRareTermsAggregate | StringRareTermsAggregate | UnmappedRareTermsAggregate | MultiTermsAggregate | MissingAggregate | NestedAggregate | ReverseNestedAggregate | GlobalAggregate | FilterAggregate | ChildrenAggregate | ParentAggregate | SamplerAggregate | UnmappedSamplerAggregate | GeoHashGridAggregate | GeoTileGridAggregate | GeoHexGridAggregate | RangeAggregate | DateRangeAggregate | GeoDistanceAggregate | IpRangeAggregate | IpPrefixAggregate | FiltersAggregate | AdjacencyMatrixAggregate | SignificantLongTermsAggregate | SignificantStringTermsAggregate | UnmappedSignificantTermsAggregate | CompositeAggregate | FrequentItemSetsAggregate | ScriptedMetricAggregate | TopHitsAggregate | InferenceAggregate | StringStatsAggregate | BoxPlotAggregate | TopMetricsAggregate | TTestAggregate | RateAggregate | CumulativeCardinalityAggregate | MatrixStatsAggregate | GeoLineAggregate
|
|
31
32
|
|
|
32
|
-
export
|
|
33
|
+
export type AggregateBase = {
|
|
33
34
|
meta?: Common.Metadata;
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
export type AggregateOrder = Record<string, Common.SortOrder> | Record<string, Common.SortOrder>[]
|
|
37
38
|
|
|
38
|
-
export
|
|
39
|
+
export type Aggregation = {
|
|
39
40
|
meta?: Common.Metadata;
|
|
40
41
|
name?: string;
|
|
41
42
|
}
|
|
42
43
|
|
|
43
|
-
export
|
|
44
|
+
export type AggregationContainer = {
|
|
44
45
|
adjacency_matrix?: AdjacencyMatrixAggregation;
|
|
45
46
|
aggregations?: Record<string, AggregationContainer>;
|
|
46
47
|
auto_date_histogram?: AutoDateHistogramAggregation;
|
|
@@ -121,23 +122,23 @@ export interface AggregationContainer {
|
|
|
121
122
|
weighted_avg?: WeightedAverageAggregation;
|
|
122
123
|
}
|
|
123
124
|
|
|
124
|
-
export
|
|
125
|
+
export type AggregationRange = {
|
|
125
126
|
from?: undefined | number | string;
|
|
126
127
|
key?: string;
|
|
127
128
|
to?: undefined | number | string;
|
|
128
129
|
}
|
|
129
130
|
|
|
130
|
-
export
|
|
131
|
+
export type ArrayPercentilesItem = {
|
|
131
132
|
key: string;
|
|
132
133
|
value: undefined | number | string;
|
|
133
134
|
value_as_string?: string;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
|
-
export
|
|
137
|
+
export type AutoDateHistogramAggregate = MultiBucketAggregateBaseDateHistogramBucket & {
|
|
137
138
|
interval: Common.DurationLarge;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
|
-
export
|
|
141
|
+
export type AutoDateHistogramAggregation = BucketAggregationBase & {
|
|
141
142
|
buckets?: number;
|
|
142
143
|
field?: Common.Field;
|
|
143
144
|
format?: string;
|
|
@@ -155,7 +156,7 @@ export type AverageBucketAggregation = PipelineAggregationBase & Record<string,
|
|
|
155
156
|
|
|
156
157
|
export type AvgAggregate = SingleMetricAggregateBase & Record<string, any>
|
|
157
158
|
|
|
158
|
-
export
|
|
159
|
+
export type BoxPlotAggregate = AggregateBase & {
|
|
159
160
|
lower: number;
|
|
160
161
|
lower_as_string?: string;
|
|
161
162
|
max: number;
|
|
@@ -172,41 +173,41 @@ export interface BoxPlotAggregate extends AggregateBase {
|
|
|
172
173
|
upper_as_string?: string;
|
|
173
174
|
}
|
|
174
175
|
|
|
175
|
-
export
|
|
176
|
+
export type BoxplotAggregation = MetricAggregationBase & {
|
|
176
177
|
compression?: number;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
export type BucketAggregationBase = Aggregation & Record<string, any>
|
|
180
181
|
|
|
181
|
-
export
|
|
182
|
+
export type BucketCorrelationAggregation = BucketPathAggregation & {
|
|
182
183
|
function: BucketCorrelationFunction;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
export
|
|
186
|
+
export type BucketCorrelationFunction = {
|
|
186
187
|
count_correlation: BucketCorrelationFunctionCountCorrelation;
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
export
|
|
190
|
+
export type BucketCorrelationFunctionCountCorrelation = {
|
|
190
191
|
indicator: BucketCorrelationFunctionCountCorrelationIndicator;
|
|
191
192
|
}
|
|
192
193
|
|
|
193
|
-
export
|
|
194
|
+
export type BucketCorrelationFunctionCountCorrelationIndicator = {
|
|
194
195
|
doc_count: number;
|
|
195
196
|
expectations: number[];
|
|
196
197
|
fractions?: number[];
|
|
197
198
|
}
|
|
198
199
|
|
|
199
|
-
export
|
|
200
|
+
export type BucketKsAggregation = BucketPathAggregation & {
|
|
200
201
|
alternative?: string[];
|
|
201
202
|
fractions?: number[];
|
|
202
203
|
sampling_method?: string;
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
export
|
|
206
|
+
export type BucketMetricValueAggregate = SingleMetricAggregateBase & {
|
|
206
207
|
keys: string[];
|
|
207
208
|
}
|
|
208
209
|
|
|
209
|
-
export
|
|
210
|
+
export type BucketPathAggregation = Aggregation & {
|
|
210
211
|
buckets_path?: BucketsPath;
|
|
211
212
|
}
|
|
212
213
|
|
|
@@ -214,7 +215,7 @@ export type BucketsAdjacencyMatrixBucket = Record<string, AdjacencyMatrixBucket>
|
|
|
214
215
|
|
|
215
216
|
export type BucketsCompositeBucket = Record<string, CompositeBucket> | CompositeBucket[]
|
|
216
217
|
|
|
217
|
-
export
|
|
218
|
+
export type BucketScriptAggregation = PipelineAggregationBase & {
|
|
218
219
|
script?: Common.Script;
|
|
219
220
|
}
|
|
220
221
|
|
|
@@ -222,7 +223,7 @@ export type BucketsDateHistogramBucket = Record<string, DateHistogramBucket> | D
|
|
|
222
223
|
|
|
223
224
|
export type BucketsDoubleTermsBucket = Record<string, DoubleTermsBucket> | DoubleTermsBucket[]
|
|
224
225
|
|
|
225
|
-
export
|
|
226
|
+
export type BucketSelectorAggregation = PipelineAggregationBase & {
|
|
226
227
|
script?: Common.Script;
|
|
227
228
|
}
|
|
228
229
|
|
|
@@ -248,7 +249,7 @@ export type BucketsLongTermsBucket = Record<string, LongTermsBucket> | LongTerms
|
|
|
248
249
|
|
|
249
250
|
export type BucketsMultiTermsBucket = Record<string, MultiTermsBucket> | MultiTermsBucket[]
|
|
250
251
|
|
|
251
|
-
export
|
|
252
|
+
export type BucketSortAggregation = Aggregation & {
|
|
252
253
|
from?: number;
|
|
253
254
|
gap_policy?: GapPolicy;
|
|
254
255
|
size?: number;
|
|
@@ -275,11 +276,11 @@ export type BucketsVoid = Record<string, Common.Void> | Common.Void[]
|
|
|
275
276
|
|
|
276
277
|
export type CalendarInterval = 'day' | 'hour' | 'minute' | 'month' | 'quarter' | 'second' | 'week' | 'year'
|
|
277
278
|
|
|
278
|
-
export
|
|
279
|
+
export type CardinalityAggregate = AggregateBase & {
|
|
279
280
|
value: number;
|
|
280
281
|
}
|
|
281
282
|
|
|
282
|
-
export
|
|
283
|
+
export type CardinalityAggregation = MetricAggregationBase & {
|
|
283
284
|
execution_hint?: CardinalityExecutionMode;
|
|
284
285
|
precision_threshold?: number;
|
|
285
286
|
rehash?: boolean;
|
|
@@ -287,7 +288,7 @@ export interface CardinalityAggregation extends MetricAggregationBase {
|
|
|
287
288
|
|
|
288
289
|
export type CardinalityExecutionMode = 'direct' | 'global_ordinals' | 'save_memory_heuristic' | 'save_time_heuristic' | 'segment_ordinals'
|
|
289
290
|
|
|
290
|
-
export
|
|
291
|
+
export type CategorizeTextAggregation = Aggregation & {
|
|
291
292
|
categorization_analyzer?: CategorizeTextAnalyzer;
|
|
292
293
|
categorization_filters?: string[];
|
|
293
294
|
field: Common.Field;
|
|
@@ -304,16 +305,16 @@ export type CategorizeTextAnalyzer = string | CustomCategorizeTextAnalyzer
|
|
|
304
305
|
|
|
305
306
|
export type ChildrenAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
306
307
|
|
|
307
|
-
export
|
|
308
|
+
export type ChildrenAggregation = BucketAggregationBase & {
|
|
308
309
|
type?: Common.RelationName;
|
|
309
310
|
}
|
|
310
311
|
|
|
311
|
-
export
|
|
312
|
+
export type ChiSquareHeuristic = {
|
|
312
313
|
background_is_superset: boolean;
|
|
313
314
|
include_negatives: boolean;
|
|
314
315
|
}
|
|
315
316
|
|
|
316
|
-
export
|
|
317
|
+
export type ClassificationInferenceOptions = {
|
|
317
318
|
num_top_classes?: number;
|
|
318
319
|
num_top_feature_importance_values?: number;
|
|
319
320
|
prediction_field_type?: string;
|
|
@@ -321,19 +322,19 @@ export interface ClassificationInferenceOptions {
|
|
|
321
322
|
top_classes_results_field?: string;
|
|
322
323
|
}
|
|
323
324
|
|
|
324
|
-
export
|
|
325
|
+
export type CompositeAggregate = MultiBucketAggregateBaseCompositeBucket & {
|
|
325
326
|
after_key?: CompositeAggregateKey;
|
|
326
327
|
}
|
|
327
328
|
|
|
328
329
|
export type CompositeAggregateKey = Record<string, Common.FieldValue>
|
|
329
330
|
|
|
330
|
-
export
|
|
331
|
+
export type CompositeAggregation = BucketAggregationBase & {
|
|
331
332
|
after?: CompositeAggregateKey;
|
|
332
333
|
size?: number;
|
|
333
334
|
sources?: Record<string, CompositeAggregationSource>[];
|
|
334
335
|
}
|
|
335
336
|
|
|
336
|
-
export
|
|
337
|
+
export type CompositeAggregationBase = {
|
|
337
338
|
field?: Common.Field;
|
|
338
339
|
missing_bucket?: boolean;
|
|
339
340
|
missing_order?: MissingOrder;
|
|
@@ -342,18 +343,18 @@ export interface CompositeAggregationBase {
|
|
|
342
343
|
value_type?: ValueType;
|
|
343
344
|
}
|
|
344
345
|
|
|
345
|
-
export
|
|
346
|
+
export type CompositeAggregationSource = {
|
|
346
347
|
date_histogram?: CompositeDateHistogramAggregation;
|
|
347
348
|
geotile_grid?: CompositeGeoTileGridAggregation;
|
|
348
349
|
histogram?: CompositeHistogramAggregation;
|
|
349
350
|
terms?: CompositeTermsAggregation;
|
|
350
351
|
}
|
|
351
352
|
|
|
352
|
-
export
|
|
353
|
+
export type CompositeBucket = MultiBucketBase & {
|
|
353
354
|
key: CompositeAggregateKey;
|
|
354
355
|
}
|
|
355
356
|
|
|
356
|
-
export
|
|
357
|
+
export type CompositeDateHistogramAggregation = CompositeAggregationBase & {
|
|
357
358
|
calendar_interval?: Common.DurationLarge;
|
|
358
359
|
fixed_interval?: Common.DurationLarge;
|
|
359
360
|
format?: string;
|
|
@@ -361,18 +362,18 @@ export interface CompositeDateHistogramAggregation extends CompositeAggregationB
|
|
|
361
362
|
time_zone?: Common.TimeZone;
|
|
362
363
|
}
|
|
363
364
|
|
|
364
|
-
export
|
|
365
|
+
export type CompositeGeoTileGridAggregation = CompositeAggregationBase & {
|
|
365
366
|
bounds?: Common.GeoBounds;
|
|
366
367
|
precision?: number;
|
|
367
368
|
}
|
|
368
369
|
|
|
369
|
-
export
|
|
370
|
+
export type CompositeHistogramAggregation = CompositeAggregationBase & {
|
|
370
371
|
interval: number;
|
|
371
372
|
}
|
|
372
373
|
|
|
373
374
|
export type CompositeTermsAggregation = CompositeAggregationBase & Record<string, any>
|
|
374
375
|
|
|
375
|
-
export
|
|
376
|
+
export type CumulativeCardinalityAggregate = AggregateBase & {
|
|
376
377
|
value: number;
|
|
377
378
|
value_as_string?: string;
|
|
378
379
|
}
|
|
@@ -381,7 +382,7 @@ export type CumulativeCardinalityAggregation = PipelineAggregationBase & Record<
|
|
|
381
382
|
|
|
382
383
|
export type CumulativeSumAggregation = PipelineAggregationBase & Record<string, any>
|
|
383
384
|
|
|
384
|
-
export
|
|
385
|
+
export type CustomCategorizeTextAnalyzer = {
|
|
385
386
|
char_filter?: string[];
|
|
386
387
|
filter?: string[];
|
|
387
388
|
tokenizer?: string;
|
|
@@ -389,7 +390,7 @@ export interface CustomCategorizeTextAnalyzer {
|
|
|
389
390
|
|
|
390
391
|
export type DateHistogramAggregate = MultiBucketAggregateBaseDateHistogramBucket & Record<string, any>
|
|
391
392
|
|
|
392
|
-
export
|
|
393
|
+
export type DateHistogramAggregation = BucketAggregationBase & {
|
|
393
394
|
calendar_interval?: CalendarInterval;
|
|
394
395
|
extended_bounds?: ExtendedBoundsFieldDateMath;
|
|
395
396
|
field?: Common.Field;
|
|
@@ -407,14 +408,14 @@ export interface DateHistogramAggregation extends BucketAggregationBase {
|
|
|
407
408
|
time_zone?: Common.TimeZone;
|
|
408
409
|
}
|
|
409
410
|
|
|
410
|
-
export
|
|
411
|
+
export type DateHistogramBucket = MultiBucketBase & {
|
|
411
412
|
key: Common.EpochTimeUnitMillis;
|
|
412
413
|
key_as_string?: string;
|
|
413
414
|
}
|
|
414
415
|
|
|
415
416
|
export type DateRangeAggregate = RangeAggregate & Record<string, any>
|
|
416
417
|
|
|
417
|
-
export
|
|
418
|
+
export type DateRangeAggregation = BucketAggregationBase & {
|
|
418
419
|
field?: Common.Field;
|
|
419
420
|
format?: string;
|
|
420
421
|
keyed?: boolean;
|
|
@@ -423,20 +424,20 @@ export interface DateRangeAggregation extends BucketAggregationBase {
|
|
|
423
424
|
time_zone?: Common.TimeZone;
|
|
424
425
|
}
|
|
425
426
|
|
|
426
|
-
export
|
|
427
|
+
export type DateRangeExpression = {
|
|
427
428
|
from?: FieldDateMath;
|
|
428
429
|
key?: string;
|
|
429
430
|
to?: FieldDateMath;
|
|
430
431
|
}
|
|
431
432
|
|
|
432
|
-
export
|
|
433
|
+
export type DerivativeAggregate = SingleMetricAggregateBase & {
|
|
433
434
|
normalized_value?: number;
|
|
434
435
|
normalized_value_as_string?: string;
|
|
435
436
|
}
|
|
436
437
|
|
|
437
438
|
export type DerivativeAggregation = PipelineAggregationBase & Record<string, any>
|
|
438
439
|
|
|
439
|
-
export
|
|
440
|
+
export type DiversifiedSamplerAggregation = BucketAggregationBase & {
|
|
440
441
|
execution_hint?: SamplerAggregationExecutionHint;
|
|
441
442
|
field?: Common.Field;
|
|
442
443
|
max_docs_per_value?: number;
|
|
@@ -446,31 +447,31 @@ export interface DiversifiedSamplerAggregation extends BucketAggregationBase {
|
|
|
446
447
|
|
|
447
448
|
export type DoubleTermsAggregate = TermsAggregateBaseDoubleTermsBucket & Record<string, any>
|
|
448
449
|
|
|
449
|
-
export
|
|
450
|
+
export type DoubleTermsBucket = TermsBucketBase & {
|
|
450
451
|
key: number;
|
|
451
452
|
key_as_string?: string;
|
|
452
453
|
}
|
|
453
454
|
|
|
454
|
-
export
|
|
455
|
+
export type EwmaModelSettings = {
|
|
455
456
|
alpha?: number;
|
|
456
457
|
}
|
|
457
458
|
|
|
458
|
-
export
|
|
459
|
+
export type EwmaMovingAverageAggregation = MovingAverageAggregationBase & {
|
|
459
460
|
model: 'ewma';
|
|
460
461
|
settings: EwmaModelSettings;
|
|
461
462
|
}
|
|
462
463
|
|
|
463
|
-
export
|
|
464
|
+
export type ExtendedBoundsdouble = {
|
|
464
465
|
max: number;
|
|
465
466
|
min: number;
|
|
466
467
|
}
|
|
467
468
|
|
|
468
|
-
export
|
|
469
|
+
export type ExtendedBoundsFieldDateMath = {
|
|
469
470
|
max: FieldDateMath;
|
|
470
471
|
min: FieldDateMath;
|
|
471
472
|
}
|
|
472
473
|
|
|
473
|
-
export
|
|
474
|
+
export type ExtendedStatsAggregate = StatsAggregate & {
|
|
474
475
|
std_deviation: undefined | number | string;
|
|
475
476
|
std_deviation_as_string?: string;
|
|
476
477
|
std_deviation_bounds?: StandardDeviationBounds;
|
|
@@ -487,13 +488,13 @@ export interface ExtendedStatsAggregate extends StatsAggregate {
|
|
|
487
488
|
variance_sampling_as_string?: string;
|
|
488
489
|
}
|
|
489
490
|
|
|
490
|
-
export
|
|
491
|
+
export type ExtendedStatsAggregation = FormatMetricAggregationBase & {
|
|
491
492
|
sigma?: number;
|
|
492
493
|
}
|
|
493
494
|
|
|
494
495
|
export type ExtendedStatsBucketAggregate = ExtendedStatsAggregate & Record<string, any>
|
|
495
496
|
|
|
496
|
-
export
|
|
497
|
+
export type ExtendedStatsBucketAggregation = PipelineAggregationBase & {
|
|
497
498
|
sigma?: number;
|
|
498
499
|
}
|
|
499
500
|
|
|
@@ -503,7 +504,7 @@ export type FilterAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
|
503
504
|
|
|
504
505
|
export type FiltersAggregate = MultiBucketAggregateBaseFiltersBucket & Record<string, any>
|
|
505
506
|
|
|
506
|
-
export
|
|
507
|
+
export type FiltersAggregation = BucketAggregationBase & {
|
|
507
508
|
filters?: BucketsQueryContainer;
|
|
508
509
|
keyed?: boolean;
|
|
509
510
|
other_bucket?: boolean;
|
|
@@ -512,17 +513,17 @@ export interface FiltersAggregation extends BucketAggregationBase {
|
|
|
512
513
|
|
|
513
514
|
export type FiltersBucket = MultiBucketBase & Record<string, any>
|
|
514
515
|
|
|
515
|
-
export
|
|
516
|
+
export type FormatMetricAggregationBase = MetricAggregationBase & {
|
|
516
517
|
format?: string;
|
|
517
518
|
}
|
|
518
519
|
|
|
519
|
-
export
|
|
520
|
+
export type FormattableMetricAggregation = MetricAggregationBase & {
|
|
520
521
|
format?: string;
|
|
521
522
|
}
|
|
522
523
|
|
|
523
524
|
export type FrequentItemSetsAggregate = MultiBucketAggregateBaseFrequentItemSetsBucket & Record<string, any>
|
|
524
525
|
|
|
525
|
-
export
|
|
526
|
+
export type FrequentItemSetsAggregation = {
|
|
526
527
|
fields: FrequentItemSetsField[];
|
|
527
528
|
filter?: Common_QueryDsl.QueryContainer;
|
|
528
529
|
minimum_set_size?: number;
|
|
@@ -530,12 +531,12 @@ export interface FrequentItemSetsAggregation {
|
|
|
530
531
|
size?: number;
|
|
531
532
|
}
|
|
532
533
|
|
|
533
|
-
export
|
|
534
|
+
export type FrequentItemSetsBucket = MultiBucketBase & {
|
|
534
535
|
key: Record<string, string[]>;
|
|
535
536
|
support: number;
|
|
536
537
|
}
|
|
537
538
|
|
|
538
|
-
export
|
|
539
|
+
export type FrequentItemSetsField = {
|
|
539
540
|
exclude?: TermsExclude;
|
|
540
541
|
field: Common.Field;
|
|
541
542
|
include?: TermsInclude;
|
|
@@ -543,27 +544,27 @@ export interface FrequentItemSetsField {
|
|
|
543
544
|
|
|
544
545
|
export type GapPolicy = 'insert_zeros' | 'keep_values' | 'skip'
|
|
545
546
|
|
|
546
|
-
export
|
|
547
|
+
export type GeoBoundsAggregate = AggregateBase & {
|
|
547
548
|
bounds?: Common.GeoBounds;
|
|
548
549
|
}
|
|
549
550
|
|
|
550
|
-
export
|
|
551
|
+
export type GeoBoundsAggregation = MetricAggregationBase & {
|
|
551
552
|
wrap_longitude?: boolean;
|
|
552
553
|
}
|
|
553
554
|
|
|
554
|
-
export
|
|
555
|
+
export type GeoCentroidAggregate = AggregateBase & {
|
|
555
556
|
count: number;
|
|
556
557
|
location?: Common.GeoLocation;
|
|
557
558
|
}
|
|
558
559
|
|
|
559
|
-
export
|
|
560
|
+
export type GeoCentroidAggregation = MetricAggregationBase & {
|
|
560
561
|
count?: number;
|
|
561
562
|
location?: Common.GeoLocation;
|
|
562
563
|
}
|
|
563
564
|
|
|
564
565
|
export type GeoDistanceAggregate = RangeAggregate & Record<string, any>
|
|
565
566
|
|
|
566
|
-
export
|
|
567
|
+
export type GeoDistanceAggregation = BucketAggregationBase & {
|
|
567
568
|
distance_type?: Common.GeoDistanceType;
|
|
568
569
|
field?: Common.Field;
|
|
569
570
|
origin?: Common.GeoLocation;
|
|
@@ -573,7 +574,7 @@ export interface GeoDistanceAggregation extends BucketAggregationBase {
|
|
|
573
574
|
|
|
574
575
|
export type GeoHashGridAggregate = MultiBucketAggregateBaseGeoHashGridBucket & Record<string, any>
|
|
575
576
|
|
|
576
|
-
export
|
|
577
|
+
export type GeoHashGridAggregation = BucketAggregationBase & {
|
|
577
578
|
bounds?: Common.GeoBounds;
|
|
578
579
|
field?: Common.Field;
|
|
579
580
|
precision?: Common.GeoHashPrecision;
|
|
@@ -581,13 +582,13 @@ export interface GeoHashGridAggregation extends BucketAggregationBase {
|
|
|
581
582
|
size?: number;
|
|
582
583
|
}
|
|
583
584
|
|
|
584
|
-
export
|
|
585
|
+
export type GeoHashGridBucket = MultiBucketBase & {
|
|
585
586
|
key: Common.GeoHash;
|
|
586
587
|
}
|
|
587
588
|
|
|
588
589
|
export type GeoHexGridAggregate = MultiBucketAggregateBaseGeoHexGridBucket & Record<string, any>
|
|
589
590
|
|
|
590
|
-
export
|
|
591
|
+
export type GeohexGridAggregation = BucketAggregationBase & {
|
|
591
592
|
bounds?: Common.GeoBounds;
|
|
592
593
|
field: Common.Field;
|
|
593
594
|
precision?: number;
|
|
@@ -595,17 +596,17 @@ export interface GeohexGridAggregation extends BucketAggregationBase {
|
|
|
595
596
|
size?: number;
|
|
596
597
|
}
|
|
597
598
|
|
|
598
|
-
export
|
|
599
|
+
export type GeoHexGridBucket = MultiBucketBase & {
|
|
599
600
|
key: Common.GeoHexCell;
|
|
600
601
|
}
|
|
601
602
|
|
|
602
|
-
export
|
|
603
|
+
export type GeoLineAggregate = AggregateBase & {
|
|
603
604
|
geometry: Common.GeoLine;
|
|
604
605
|
properties: Record<string, any>;
|
|
605
606
|
type: string;
|
|
606
607
|
}
|
|
607
608
|
|
|
608
|
-
export
|
|
609
|
+
export type GeoLineAggregation = {
|
|
609
610
|
include_sort?: boolean;
|
|
610
611
|
point: GeoLinePoint;
|
|
611
612
|
size?: number;
|
|
@@ -613,17 +614,17 @@ export interface GeoLineAggregation {
|
|
|
613
614
|
sort_order?: Common.SortOrder;
|
|
614
615
|
}
|
|
615
616
|
|
|
616
|
-
export
|
|
617
|
+
export type GeoLinePoint = {
|
|
617
618
|
field: Common.Field;
|
|
618
619
|
}
|
|
619
620
|
|
|
620
|
-
export
|
|
621
|
+
export type GeoLineSort = {
|
|
621
622
|
field: Common.Field;
|
|
622
623
|
}
|
|
623
624
|
|
|
624
625
|
export type GeoTileGridAggregate = MultiBucketAggregateBaseGeoTileGridBucket & Record<string, any>
|
|
625
626
|
|
|
626
|
-
export
|
|
627
|
+
export type GeoTileGridAggregation = BucketAggregationBase & {
|
|
627
628
|
bounds?: Common.GeoBounds;
|
|
628
629
|
field?: Common.Field;
|
|
629
630
|
precision?: Common.GeoTilePrecision;
|
|
@@ -631,7 +632,7 @@ export interface GeoTileGridAggregation extends BucketAggregationBase {
|
|
|
631
632
|
size?: number;
|
|
632
633
|
}
|
|
633
634
|
|
|
634
|
-
export
|
|
635
|
+
export type GeoTileGridBucket = MultiBucketBase & {
|
|
635
636
|
key: Common.GeoTile;
|
|
636
637
|
}
|
|
637
638
|
|
|
@@ -639,11 +640,11 @@ export type GlobalAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
|
639
640
|
|
|
640
641
|
export type GlobalAggregation = BucketAggregationBase & Record<string, any>
|
|
641
642
|
|
|
642
|
-
export
|
|
643
|
+
export type GoogleNormalizedDistanceHeuristic = {
|
|
643
644
|
background_is_superset?: boolean;
|
|
644
645
|
}
|
|
645
646
|
|
|
646
|
-
export
|
|
647
|
+
export type HdrMethod = {
|
|
647
648
|
number_of_significant_value_digits?: number;
|
|
648
649
|
}
|
|
649
650
|
|
|
@@ -653,7 +654,7 @@ export type HdrPercentilesAggregate = PercentilesAggregateBase & Record<string,
|
|
|
653
654
|
|
|
654
655
|
export type HistogramAggregate = MultiBucketAggregateBaseHistogramBucket & Record<string, any>
|
|
655
656
|
|
|
656
|
-
export
|
|
657
|
+
export type HistogramAggregation = BucketAggregationBase & {
|
|
657
658
|
extended_bounds?: ExtendedBoundsdouble;
|
|
658
659
|
field?: Common.Field;
|
|
659
660
|
format?: string;
|
|
@@ -667,22 +668,22 @@ export interface HistogramAggregation extends BucketAggregationBase {
|
|
|
667
668
|
script?: Common.Script;
|
|
668
669
|
}
|
|
669
670
|
|
|
670
|
-
export
|
|
671
|
+
export type HistogramBucket = MultiBucketBase & {
|
|
671
672
|
key: number;
|
|
672
673
|
key_as_string?: string;
|
|
673
674
|
}
|
|
674
675
|
|
|
675
|
-
export
|
|
676
|
+
export type HoltLinearModelSettings = {
|
|
676
677
|
alpha?: number;
|
|
677
678
|
beta?: number;
|
|
678
679
|
}
|
|
679
680
|
|
|
680
|
-
export
|
|
681
|
+
export type HoltMovingAverageAggregation = MovingAverageAggregationBase & {
|
|
681
682
|
model: 'holt';
|
|
682
683
|
settings: HoltLinearModelSettings;
|
|
683
684
|
}
|
|
684
685
|
|
|
685
|
-
export
|
|
686
|
+
export type HoltWintersModelSettings = {
|
|
686
687
|
alpha?: number;
|
|
687
688
|
beta?: number;
|
|
688
689
|
gamma?: number;
|
|
@@ -691,42 +692,42 @@ export interface HoltWintersModelSettings {
|
|
|
691
692
|
type?: HoltWintersType;
|
|
692
693
|
}
|
|
693
694
|
|
|
694
|
-
export
|
|
695
|
+
export type HoltWintersMovingAverageAggregation = MovingAverageAggregationBase & {
|
|
695
696
|
model: 'holt_winters';
|
|
696
697
|
settings: HoltWintersModelSettings;
|
|
697
698
|
}
|
|
698
699
|
|
|
699
700
|
export type HoltWintersType = 'add' | 'mult'
|
|
700
701
|
|
|
701
|
-
export
|
|
702
|
+
export type InferenceAggregate = AggregateBase & {
|
|
702
703
|
feature_importance?: InferenceFeatureImportance[];
|
|
703
704
|
top_classes?: InferenceTopClassEntry[];
|
|
704
705
|
value?: Common.FieldValue;
|
|
705
706
|
warning?: string;
|
|
706
707
|
}
|
|
707
708
|
|
|
708
|
-
export
|
|
709
|
+
export type InferenceAggregation = PipelineAggregationBase & {
|
|
709
710
|
inference_config?: InferenceConfigContainer;
|
|
710
711
|
model_id: Common.Name;
|
|
711
712
|
}
|
|
712
713
|
|
|
713
|
-
export
|
|
714
|
+
export type InferenceClassImportance = {
|
|
714
715
|
class_name: string;
|
|
715
716
|
importance: number;
|
|
716
717
|
}
|
|
717
718
|
|
|
718
|
-
export
|
|
719
|
+
export type InferenceConfigContainer = {
|
|
719
720
|
classification?: ClassificationInferenceOptions;
|
|
720
721
|
regression?: RegressionInferenceOptions;
|
|
721
722
|
}
|
|
722
723
|
|
|
723
|
-
export
|
|
724
|
+
export type InferenceFeatureImportance = {
|
|
724
725
|
classes?: InferenceClassImportance[];
|
|
725
726
|
feature_name: string;
|
|
726
727
|
importance?: number;
|
|
727
728
|
}
|
|
728
729
|
|
|
729
|
-
export
|
|
730
|
+
export type InferenceTopClassEntry = {
|
|
730
731
|
class_name: Common.FieldValue;
|
|
731
732
|
class_probability: number;
|
|
732
733
|
class_score: number;
|
|
@@ -734,7 +735,7 @@ export interface InferenceTopClassEntry {
|
|
|
734
735
|
|
|
735
736
|
export type IpPrefixAggregate = MultiBucketAggregateBaseIpPrefixBucket & Record<string, any>
|
|
736
737
|
|
|
737
|
-
export
|
|
738
|
+
export type IpPrefixAggregation = BucketAggregationBase & {
|
|
738
739
|
append_prefix_length?: boolean;
|
|
739
740
|
field: Common.Field;
|
|
740
741
|
is_ipv6?: boolean;
|
|
@@ -743,7 +744,7 @@ export interface IpPrefixAggregation extends BucketAggregationBase {
|
|
|
743
744
|
prefix_length: number;
|
|
744
745
|
}
|
|
745
746
|
|
|
746
|
-
export
|
|
747
|
+
export type IpPrefixBucket = MultiBucketBase & {
|
|
747
748
|
is_ipv6: boolean;
|
|
748
749
|
key: string;
|
|
749
750
|
netmask?: string;
|
|
@@ -752,18 +753,18 @@ export interface IpPrefixBucket extends MultiBucketBase {
|
|
|
752
753
|
|
|
753
754
|
export type IpRangeAggregate = MultiBucketAggregateBaseIpRangeBucket & Record<string, any>
|
|
754
755
|
|
|
755
|
-
export
|
|
756
|
+
export type IpRangeAggregation = BucketAggregationBase & {
|
|
756
757
|
field?: Common.Field;
|
|
757
758
|
ranges?: IpRangeAggregationRange[];
|
|
758
759
|
}
|
|
759
760
|
|
|
760
|
-
export
|
|
761
|
+
export type IpRangeAggregationRange = {
|
|
761
762
|
from?: undefined | string;
|
|
762
763
|
mask?: string;
|
|
763
764
|
to?: undefined | string;
|
|
764
765
|
}
|
|
765
766
|
|
|
766
|
-
export
|
|
767
|
+
export type IpRangeBucket = MultiBucketBase & {
|
|
767
768
|
from?: string;
|
|
768
769
|
key?: string;
|
|
769
770
|
to?: string;
|
|
@@ -771,40 +772,40 @@ export interface IpRangeBucket extends MultiBucketBase {
|
|
|
771
772
|
|
|
772
773
|
export type KeyedPercentiles = Record<string, undefined | number | string>
|
|
773
774
|
|
|
774
|
-
export
|
|
775
|
+
export type LinearMovingAverageAggregation = MovingAverageAggregationBase & {
|
|
775
776
|
model: 'linear';
|
|
776
777
|
settings: Common.EmptyObject;
|
|
777
778
|
}
|
|
778
779
|
|
|
779
780
|
export type LongRareTermsAggregate = MultiBucketAggregateBaseLongRareTermsBucket & Record<string, any>
|
|
780
781
|
|
|
781
|
-
export
|
|
782
|
+
export type LongRareTermsBucket = MultiBucketBase & {
|
|
782
783
|
key: number;
|
|
783
784
|
key_as_string?: string;
|
|
784
785
|
}
|
|
785
786
|
|
|
786
787
|
export type LongTermsAggregate = TermsAggregateBaseLongTermsBucket & Record<string, any>
|
|
787
788
|
|
|
788
|
-
export
|
|
789
|
+
export type LongTermsBucket = TermsBucketBase & {
|
|
789
790
|
key: number;
|
|
790
791
|
key_as_string?: string;
|
|
791
792
|
}
|
|
792
793
|
|
|
793
|
-
export
|
|
794
|
+
export type MatrixAggregation = Aggregation & {
|
|
794
795
|
fields?: Common.Fields;
|
|
795
796
|
missing?: Record<string, number>;
|
|
796
797
|
}
|
|
797
798
|
|
|
798
|
-
export
|
|
799
|
+
export type MatrixStatsAggregate = AggregateBase & {
|
|
799
800
|
doc_count: number;
|
|
800
801
|
fields?: MatrixStatsFields[];
|
|
801
802
|
}
|
|
802
803
|
|
|
803
|
-
export
|
|
804
|
+
export type MatrixStatsAggregation = MatrixAggregation & {
|
|
804
805
|
mode?: Common.SortMode;
|
|
805
806
|
}
|
|
806
807
|
|
|
807
|
-
export
|
|
808
|
+
export type MatrixStatsFields = {
|
|
808
809
|
correlation: Record<string, number>;
|
|
809
810
|
count: number;
|
|
810
811
|
covariance: Record<string, number>;
|
|
@@ -823,11 +824,11 @@ export type MaxBucketAggregation = PipelineAggregationBase & Record<string, any>
|
|
|
823
824
|
|
|
824
825
|
export type MedianAbsoluteDeviationAggregate = SingleMetricAggregateBase & Record<string, any>
|
|
825
826
|
|
|
826
|
-
export
|
|
827
|
+
export type MedianAbsoluteDeviationAggregation = FormatMetricAggregationBase & {
|
|
827
828
|
compression?: number;
|
|
828
829
|
}
|
|
829
830
|
|
|
830
|
-
export
|
|
831
|
+
export type MetricAggregationBase = {
|
|
831
832
|
field?: Common.Field;
|
|
832
833
|
missing?: Missing;
|
|
833
834
|
script?: Common.Script;
|
|
@@ -845,7 +846,7 @@ export type Missing = string | number | number | boolean
|
|
|
845
846
|
|
|
846
847
|
export type MissingAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
847
848
|
|
|
848
|
-
export
|
|
849
|
+
export type MissingAggregation = BucketAggregationBase & {
|
|
849
850
|
field?: Common.Field;
|
|
850
851
|
missing?: Missing;
|
|
851
852
|
}
|
|
@@ -854,124 +855,124 @@ export type MissingOrder = 'default' | 'first' | 'last'
|
|
|
854
855
|
|
|
855
856
|
export type MovingAverageAggregation = LinearMovingAverageAggregation | SimpleMovingAverageAggregation | EwmaMovingAverageAggregation | HoltMovingAverageAggregation | HoltWintersMovingAverageAggregation
|
|
856
857
|
|
|
857
|
-
export
|
|
858
|
+
export type MovingAverageAggregationBase = PipelineAggregationBase & {
|
|
858
859
|
minimize?: boolean;
|
|
859
860
|
predict?: number;
|
|
860
861
|
window?: number;
|
|
861
862
|
}
|
|
862
863
|
|
|
863
|
-
export
|
|
864
|
+
export type MovingFunctionAggregation = PipelineAggregationBase & {
|
|
864
865
|
script?: string;
|
|
865
866
|
shift?: number;
|
|
866
867
|
window?: number;
|
|
867
868
|
}
|
|
868
869
|
|
|
869
|
-
export
|
|
870
|
+
export type MovingPercentilesAggregation = PipelineAggregationBase & {
|
|
870
871
|
keyed?: boolean;
|
|
871
872
|
shift?: number;
|
|
872
873
|
window?: number;
|
|
873
874
|
}
|
|
874
875
|
|
|
875
|
-
export
|
|
876
|
+
export type MultiBucketAggregateBaseAdjacencyMatrixBucket = AggregateBase & {
|
|
876
877
|
buckets: BucketsAdjacencyMatrixBucket;
|
|
877
878
|
}
|
|
878
879
|
|
|
879
|
-
export
|
|
880
|
+
export type MultiBucketAggregateBaseCompositeBucket = AggregateBase & {
|
|
880
881
|
buckets: BucketsCompositeBucket;
|
|
881
882
|
}
|
|
882
883
|
|
|
883
|
-
export
|
|
884
|
+
export type MultiBucketAggregateBaseDateHistogramBucket = AggregateBase & {
|
|
884
885
|
buckets: BucketsDateHistogramBucket;
|
|
885
886
|
}
|
|
886
887
|
|
|
887
|
-
export
|
|
888
|
+
export type MultiBucketAggregateBaseDoubleTermsBucket = AggregateBase & {
|
|
888
889
|
buckets: BucketsDoubleTermsBucket;
|
|
889
890
|
}
|
|
890
891
|
|
|
891
|
-
export
|
|
892
|
+
export type MultiBucketAggregateBaseFiltersBucket = AggregateBase & {
|
|
892
893
|
buckets: BucketsFiltersBucket;
|
|
893
894
|
}
|
|
894
895
|
|
|
895
|
-
export
|
|
896
|
+
export type MultiBucketAggregateBaseFrequentItemSetsBucket = AggregateBase & {
|
|
896
897
|
buckets: BucketsFrequentItemSetsBucket;
|
|
897
898
|
}
|
|
898
899
|
|
|
899
|
-
export
|
|
900
|
+
export type MultiBucketAggregateBaseGeoHashGridBucket = AggregateBase & {
|
|
900
901
|
buckets: BucketsGeoHashGridBucket;
|
|
901
902
|
}
|
|
902
903
|
|
|
903
|
-
export
|
|
904
|
+
export type MultiBucketAggregateBaseGeoHexGridBucket = AggregateBase & {
|
|
904
905
|
buckets: BucketsGeoHexGridBucket;
|
|
905
906
|
}
|
|
906
907
|
|
|
907
|
-
export
|
|
908
|
+
export type MultiBucketAggregateBaseGeoTileGridBucket = AggregateBase & {
|
|
908
909
|
buckets: BucketsGeoTileGridBucket;
|
|
909
910
|
}
|
|
910
911
|
|
|
911
|
-
export
|
|
912
|
+
export type MultiBucketAggregateBaseHistogramBucket = AggregateBase & {
|
|
912
913
|
buckets: BucketsHistogramBucket;
|
|
913
914
|
}
|
|
914
915
|
|
|
915
|
-
export
|
|
916
|
+
export type MultiBucketAggregateBaseIpPrefixBucket = AggregateBase & {
|
|
916
917
|
buckets: BucketsIpPrefixBucket;
|
|
917
918
|
}
|
|
918
919
|
|
|
919
|
-
export
|
|
920
|
+
export type MultiBucketAggregateBaseIpRangeBucket = AggregateBase & {
|
|
920
921
|
buckets: BucketsIpRangeBucket;
|
|
921
922
|
}
|
|
922
923
|
|
|
923
|
-
export
|
|
924
|
+
export type MultiBucketAggregateBaseLongRareTermsBucket = AggregateBase & {
|
|
924
925
|
buckets: BucketsLongRareTermsBucket;
|
|
925
926
|
}
|
|
926
927
|
|
|
927
|
-
export
|
|
928
|
+
export type MultiBucketAggregateBaseLongTermsBucket = AggregateBase & {
|
|
928
929
|
buckets: BucketsLongTermsBucket;
|
|
929
930
|
}
|
|
930
931
|
|
|
931
|
-
export
|
|
932
|
+
export type MultiBucketAggregateBaseMultiTermsBucket = AggregateBase & {
|
|
932
933
|
buckets: BucketsMultiTermsBucket;
|
|
933
934
|
}
|
|
934
935
|
|
|
935
|
-
export
|
|
936
|
+
export type MultiBucketAggregateBaseRangeBucket = AggregateBase & {
|
|
936
937
|
buckets: BucketsRangeBucket;
|
|
937
938
|
}
|
|
938
939
|
|
|
939
|
-
export
|
|
940
|
+
export type MultiBucketAggregateBaseSignificantLongTermsBucket = AggregateBase & {
|
|
940
941
|
buckets: BucketsSignificantLongTermsBucket;
|
|
941
942
|
}
|
|
942
943
|
|
|
943
|
-
export
|
|
944
|
+
export type MultiBucketAggregateBaseSignificantStringTermsBucket = AggregateBase & {
|
|
944
945
|
buckets: BucketsSignificantStringTermsBucket;
|
|
945
946
|
}
|
|
946
947
|
|
|
947
|
-
export
|
|
948
|
+
export type MultiBucketAggregateBaseStringRareTermsBucket = AggregateBase & {
|
|
948
949
|
buckets: BucketsStringRareTermsBucket;
|
|
949
950
|
}
|
|
950
951
|
|
|
951
|
-
export
|
|
952
|
+
export type MultiBucketAggregateBaseStringTermsBucket = AggregateBase & {
|
|
952
953
|
buckets: BucketsStringTermsBucket;
|
|
953
954
|
}
|
|
954
955
|
|
|
955
|
-
export
|
|
956
|
+
export type MultiBucketAggregateBaseVariableWidthHistogramBucket = AggregateBase & {
|
|
956
957
|
buckets: BucketsVariableWidthHistogramBucket;
|
|
957
958
|
}
|
|
958
959
|
|
|
959
|
-
export
|
|
960
|
+
export type MultiBucketAggregateBaseVoid = AggregateBase & {
|
|
960
961
|
buckets: BucketsVoid;
|
|
961
962
|
}
|
|
962
963
|
|
|
963
|
-
export
|
|
964
|
+
export type MultiBucketBase = {
|
|
964
965
|
doc_count: number;
|
|
965
966
|
}
|
|
966
967
|
|
|
967
|
-
export
|
|
968
|
+
export type MultiTermLookup = {
|
|
968
969
|
field: Common.Field;
|
|
969
970
|
missing?: Missing;
|
|
970
971
|
}
|
|
971
972
|
|
|
972
973
|
export type MultiTermsAggregate = TermsAggregateBaseMultiTermsBucket & Record<string, any>
|
|
973
974
|
|
|
974
|
-
export
|
|
975
|
+
export type MultiTermsAggregation = BucketAggregationBase & {
|
|
975
976
|
collect_mode?: TermsAggregationCollectMode;
|
|
976
977
|
min_doc_count?: number;
|
|
977
978
|
order?: AggregateOrder;
|
|
@@ -982,24 +983,26 @@ export interface MultiTermsAggregation extends BucketAggregationBase {
|
|
|
982
983
|
terms: MultiTermLookup[];
|
|
983
984
|
}
|
|
984
985
|
|
|
985
|
-
export
|
|
986
|
+
export type MultiTermsBucket = MultiBucketBase & {
|
|
986
987
|
doc_count_error_upper_bound?: number;
|
|
987
988
|
key: Common.FieldValue[];
|
|
988
989
|
key_as_string?: string;
|
|
989
990
|
}
|
|
990
991
|
|
|
991
|
-
export
|
|
992
|
+
export type MutualInformationHeuristic = {
|
|
992
993
|
background_is_superset?: boolean;
|
|
993
994
|
include_negatives?: boolean;
|
|
994
995
|
}
|
|
995
996
|
|
|
996
|
-
export type NestedAggregate =
|
|
997
|
+
export type NestedAggregate = AggregateBase & {
|
|
998
|
+
doc_count?: number;
|
|
999
|
+
}
|
|
997
1000
|
|
|
998
|
-
export
|
|
1001
|
+
export type NestedAggregation = BucketAggregationBase & {
|
|
999
1002
|
path?: Common.Field;
|
|
1000
1003
|
}
|
|
1001
1004
|
|
|
1002
|
-
export
|
|
1005
|
+
export type NormalizeAggregation = PipelineAggregationBase & {
|
|
1003
1006
|
method?: NormalizeMethod;
|
|
1004
1007
|
}
|
|
1005
1008
|
|
|
@@ -1007,13 +1010,13 @@ export type NormalizeMethod = 'mean' | 'percent_of_sum' | 'rescale_0_1' | 'resca
|
|
|
1007
1010
|
|
|
1008
1011
|
export type ParentAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
1009
1012
|
|
|
1010
|
-
export
|
|
1013
|
+
export type ParentAggregation = BucketAggregationBase & {
|
|
1011
1014
|
type?: Common.RelationName;
|
|
1012
1015
|
}
|
|
1013
1016
|
|
|
1014
1017
|
export type PercentageScoreHeuristic = Record<string, any>
|
|
1015
1018
|
|
|
1016
|
-
export
|
|
1019
|
+
export type PercentileRanksAggregation = FormatMetricAggregationBase & {
|
|
1017
1020
|
hdr?: HdrMethod;
|
|
1018
1021
|
keyed?: boolean;
|
|
1019
1022
|
tdigest?: TDigest;
|
|
@@ -1022,11 +1025,11 @@ export interface PercentileRanksAggregation extends FormatMetricAggregationBase
|
|
|
1022
1025
|
|
|
1023
1026
|
export type Percentiles = KeyedPercentiles | ArrayPercentilesItem[]
|
|
1024
1027
|
|
|
1025
|
-
export
|
|
1028
|
+
export type PercentilesAggregateBase = AggregateBase & {
|
|
1026
1029
|
values: Percentiles;
|
|
1027
1030
|
}
|
|
1028
1031
|
|
|
1029
|
-
export
|
|
1032
|
+
export type PercentilesAggregation = FormatMetricAggregationBase & {
|
|
1030
1033
|
hdr?: HdrMethod;
|
|
1031
1034
|
keyed?: boolean;
|
|
1032
1035
|
percents?: number[];
|
|
@@ -1035,18 +1038,18 @@ export interface PercentilesAggregation extends FormatMetricAggregationBase {
|
|
|
1035
1038
|
|
|
1036
1039
|
export type PercentilesBucketAggregate = PercentilesAggregateBase & Record<string, any>
|
|
1037
1040
|
|
|
1038
|
-
export
|
|
1041
|
+
export type PercentilesBucketAggregation = PipelineAggregationBase & {
|
|
1039
1042
|
percents?: number[];
|
|
1040
1043
|
}
|
|
1041
1044
|
|
|
1042
|
-
export
|
|
1045
|
+
export type PipelineAggregationBase = BucketPathAggregation & {
|
|
1043
1046
|
format?: string;
|
|
1044
1047
|
gap_policy?: GapPolicy;
|
|
1045
1048
|
}
|
|
1046
1049
|
|
|
1047
1050
|
export type RangeAggregate = MultiBucketAggregateBaseRangeBucket & Record<string, any>
|
|
1048
1051
|
|
|
1049
|
-
export
|
|
1052
|
+
export type RangeAggregation = BucketAggregationBase & {
|
|
1050
1053
|
field?: Common.Field;
|
|
1051
1054
|
format?: string;
|
|
1052
1055
|
keyed?: boolean;
|
|
@@ -1055,7 +1058,7 @@ export interface RangeAggregation extends BucketAggregationBase {
|
|
|
1055
1058
|
script?: Common.Script;
|
|
1056
1059
|
}
|
|
1057
1060
|
|
|
1058
|
-
export
|
|
1061
|
+
export type RangeBucket = MultiBucketBase & {
|
|
1059
1062
|
from?: number;
|
|
1060
1063
|
from_as_string?: string;
|
|
1061
1064
|
key?: string;
|
|
@@ -1063,7 +1066,7 @@ export interface RangeBucket extends MultiBucketBase {
|
|
|
1063
1066
|
to_as_string?: string;
|
|
1064
1067
|
}
|
|
1065
1068
|
|
|
1066
|
-
export
|
|
1069
|
+
export type RareTermsAggregation = BucketAggregationBase & {
|
|
1067
1070
|
exclude?: TermsExclude;
|
|
1068
1071
|
field?: Common.Field;
|
|
1069
1072
|
include?: TermsInclude;
|
|
@@ -1073,46 +1076,46 @@ export interface RareTermsAggregation extends BucketAggregationBase {
|
|
|
1073
1076
|
value_type?: string;
|
|
1074
1077
|
}
|
|
1075
1078
|
|
|
1076
|
-
export
|
|
1079
|
+
export type RateAggregate = AggregateBase & {
|
|
1077
1080
|
value: number;
|
|
1078
1081
|
value_as_string?: string;
|
|
1079
1082
|
}
|
|
1080
1083
|
|
|
1081
|
-
export
|
|
1084
|
+
export type RateAggregation = FormatMetricAggregationBase & {
|
|
1082
1085
|
mode?: RateMode;
|
|
1083
1086
|
unit?: CalendarInterval;
|
|
1084
1087
|
}
|
|
1085
1088
|
|
|
1086
1089
|
export type RateMode = 'sum' | 'value_count'
|
|
1087
1090
|
|
|
1088
|
-
export
|
|
1091
|
+
export type RegressionInferenceOptions = {
|
|
1089
1092
|
num_top_feature_importance_values?: number;
|
|
1090
1093
|
results_field?: Common.Field;
|
|
1091
1094
|
}
|
|
1092
1095
|
|
|
1093
1096
|
export type ReverseNestedAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
1094
1097
|
|
|
1095
|
-
export
|
|
1098
|
+
export type ReverseNestedAggregation = BucketAggregationBase & {
|
|
1096
1099
|
path?: Common.Field;
|
|
1097
1100
|
}
|
|
1098
1101
|
|
|
1099
1102
|
export type SamplerAggregate = SingleBucketAggregateBase & Record<string, any>
|
|
1100
1103
|
|
|
1101
|
-
export
|
|
1104
|
+
export type SamplerAggregation = BucketAggregationBase & {
|
|
1102
1105
|
shard_size?: number;
|
|
1103
1106
|
}
|
|
1104
1107
|
|
|
1105
1108
|
export type SamplerAggregationExecutionHint = 'bytes_hash' | 'global_ordinals' | 'map'
|
|
1106
1109
|
|
|
1107
|
-
export
|
|
1110
|
+
export type ScriptedHeuristic = {
|
|
1108
1111
|
script: Common.Script;
|
|
1109
1112
|
}
|
|
1110
1113
|
|
|
1111
|
-
export
|
|
1114
|
+
export type ScriptedMetricAggregate = AggregateBase & {
|
|
1112
1115
|
value: Record<string, any>;
|
|
1113
1116
|
}
|
|
1114
1117
|
|
|
1115
|
-
export
|
|
1118
|
+
export type ScriptedMetricAggregation = MetricAggregationBase & {
|
|
1116
1119
|
combine_script?: Common.Script;
|
|
1117
1120
|
init_script?: Common.Script;
|
|
1118
1121
|
map_script?: Common.Script;
|
|
@@ -1120,39 +1123,39 @@ export interface ScriptedMetricAggregation extends MetricAggregationBase {
|
|
|
1120
1123
|
reduce_script?: Common.Script;
|
|
1121
1124
|
}
|
|
1122
1125
|
|
|
1123
|
-
export
|
|
1126
|
+
export type SerialDifferencingAggregation = PipelineAggregationBase & {
|
|
1124
1127
|
lag?: number;
|
|
1125
1128
|
}
|
|
1126
1129
|
|
|
1127
1130
|
export type SignificantLongTermsAggregate = SignificantTermsAggregateBaseSignificantLongTermsBucket & Record<string, any>
|
|
1128
1131
|
|
|
1129
|
-
export
|
|
1132
|
+
export type SignificantLongTermsBucket = SignificantTermsBucketBase & {
|
|
1130
1133
|
key: number;
|
|
1131
1134
|
key_as_string?: string;
|
|
1132
1135
|
}
|
|
1133
1136
|
|
|
1134
1137
|
export type SignificantStringTermsAggregate = SignificantTermsAggregateBaseSignificantStringTermsBucket & Record<string, any>
|
|
1135
1138
|
|
|
1136
|
-
export
|
|
1139
|
+
export type SignificantStringTermsBucket = SignificantTermsBucketBase & {
|
|
1137
1140
|
key: string;
|
|
1138
1141
|
}
|
|
1139
1142
|
|
|
1140
|
-
export
|
|
1143
|
+
export type SignificantTermsAggregateBaseSignificantLongTermsBucket = MultiBucketAggregateBaseSignificantLongTermsBucket & {
|
|
1141
1144
|
bg_count?: number;
|
|
1142
1145
|
doc_count?: number;
|
|
1143
1146
|
}
|
|
1144
1147
|
|
|
1145
|
-
export
|
|
1148
|
+
export type SignificantTermsAggregateBaseSignificantStringTermsBucket = MultiBucketAggregateBaseSignificantStringTermsBucket & {
|
|
1146
1149
|
bg_count?: number;
|
|
1147
1150
|
doc_count?: number;
|
|
1148
1151
|
}
|
|
1149
1152
|
|
|
1150
|
-
export
|
|
1153
|
+
export type SignificantTermsAggregateBaseVoid = MultiBucketAggregateBaseVoid & {
|
|
1151
1154
|
bg_count?: number;
|
|
1152
1155
|
doc_count?: number;
|
|
1153
1156
|
}
|
|
1154
1157
|
|
|
1155
|
-
export
|
|
1158
|
+
export type SignificantTermsAggregation = BucketAggregationBase & {
|
|
1156
1159
|
background_filter?: Common_QueryDsl.QueryContainer;
|
|
1157
1160
|
chi_square?: ChiSquareHeuristic;
|
|
1158
1161
|
exclude?: TermsExclude;
|
|
@@ -1170,12 +1173,12 @@ export interface SignificantTermsAggregation extends BucketAggregationBase {
|
|
|
1170
1173
|
size?: number;
|
|
1171
1174
|
}
|
|
1172
1175
|
|
|
1173
|
-
export
|
|
1176
|
+
export type SignificantTermsBucketBase = MultiBucketBase & {
|
|
1174
1177
|
bg_count: number;
|
|
1175
1178
|
score: number;
|
|
1176
1179
|
}
|
|
1177
1180
|
|
|
1178
|
-
export
|
|
1181
|
+
export type SignificantTextAggregation = BucketAggregationBase & {
|
|
1179
1182
|
background_filter?: Common_QueryDsl.QueryContainer;
|
|
1180
1183
|
chi_square?: ChiSquareHeuristic;
|
|
1181
1184
|
exclude?: TermsExclude;
|
|
@@ -1195,23 +1198,23 @@ export interface SignificantTextAggregation extends BucketAggregationBase {
|
|
|
1195
1198
|
source_fields?: Common.Fields;
|
|
1196
1199
|
}
|
|
1197
1200
|
|
|
1198
|
-
export
|
|
1201
|
+
export type SimpleMovingAverageAggregation = MovingAverageAggregationBase & {
|
|
1199
1202
|
model: 'simple';
|
|
1200
1203
|
settings: Common.EmptyObject;
|
|
1201
1204
|
}
|
|
1202
1205
|
|
|
1203
1206
|
export type SimpleValueAggregate = SingleMetricAggregateBase & Record<string, any>
|
|
1204
1207
|
|
|
1205
|
-
export
|
|
1208
|
+
export type SingleBucketAggregateBase = AggregateBase & {
|
|
1206
1209
|
doc_count: number;
|
|
1207
1210
|
}
|
|
1208
1211
|
|
|
1209
|
-
export
|
|
1212
|
+
export type SingleMetricAggregateBase = AggregateBase & {
|
|
1210
1213
|
value: undefined | number | string;
|
|
1211
1214
|
value_as_string?: string;
|
|
1212
1215
|
}
|
|
1213
1216
|
|
|
1214
|
-
export
|
|
1217
|
+
export type StandardDeviationBounds = {
|
|
1215
1218
|
lower: undefined | number | string;
|
|
1216
1219
|
lower_population: undefined | number | string;
|
|
1217
1220
|
lower_sampling: undefined | number | string;
|
|
@@ -1220,7 +1223,7 @@ export interface StandardDeviationBounds {
|
|
|
1220
1223
|
upper_sampling: undefined | number | string;
|
|
1221
1224
|
}
|
|
1222
1225
|
|
|
1223
|
-
export
|
|
1226
|
+
export type StandardDeviationBoundsAsString = {
|
|
1224
1227
|
lower: string;
|
|
1225
1228
|
lower_population: string;
|
|
1226
1229
|
lower_sampling: string;
|
|
@@ -1229,7 +1232,7 @@ export interface StandardDeviationBoundsAsString {
|
|
|
1229
1232
|
upper_sampling: string;
|
|
1230
1233
|
}
|
|
1231
1234
|
|
|
1232
|
-
export
|
|
1235
|
+
export type StatsAggregate = AggregateBase & {
|
|
1233
1236
|
avg: undefined | number | string;
|
|
1234
1237
|
avg_as_string?: string;
|
|
1235
1238
|
count: number;
|
|
@@ -1249,11 +1252,11 @@ export type StatsBucketAggregation = PipelineAggregationBase & Record<string, an
|
|
|
1249
1252
|
|
|
1250
1253
|
export type StringRareTermsAggregate = MultiBucketAggregateBaseStringRareTermsBucket & Record<string, any>
|
|
1251
1254
|
|
|
1252
|
-
export
|
|
1255
|
+
export type StringRareTermsBucket = MultiBucketBase & {
|
|
1253
1256
|
key: string;
|
|
1254
1257
|
}
|
|
1255
1258
|
|
|
1256
|
-
export
|
|
1259
|
+
export type StringStatsAggregate = AggregateBase & {
|
|
1257
1260
|
avg_length: undefined | number | string;
|
|
1258
1261
|
avg_length_as_string?: string;
|
|
1259
1262
|
count: number;
|
|
@@ -1265,13 +1268,13 @@ export interface StringStatsAggregate extends AggregateBase {
|
|
|
1265
1268
|
min_length_as_string?: string;
|
|
1266
1269
|
}
|
|
1267
1270
|
|
|
1268
|
-
export
|
|
1271
|
+
export type StringStatsAggregation = MetricAggregationBase & {
|
|
1269
1272
|
show_distribution?: boolean;
|
|
1270
1273
|
}
|
|
1271
1274
|
|
|
1272
1275
|
export type StringTermsAggregate = TermsAggregateBaseStringTermsBucket & Record<string, any>
|
|
1273
1276
|
|
|
1274
|
-
export
|
|
1277
|
+
export type StringTermsBucket = TermsBucketBase & {
|
|
1275
1278
|
key: Common.FieldValue;
|
|
1276
1279
|
}
|
|
1277
1280
|
|
|
@@ -1281,7 +1284,7 @@ export type SumAggregation = FormatMetricAggregationBase & Record<string, any>
|
|
|
1281
1284
|
|
|
1282
1285
|
export type SumBucketAggregation = PipelineAggregationBase & Record<string, any>
|
|
1283
1286
|
|
|
1284
|
-
export
|
|
1287
|
+
export type TDigest = {
|
|
1285
1288
|
compression?: number;
|
|
1286
1289
|
}
|
|
1287
1290
|
|
|
@@ -1289,32 +1292,32 @@ export type TDigestPercentileRanksAggregate = PercentilesAggregateBase & Record<
|
|
|
1289
1292
|
|
|
1290
1293
|
export type TDigestPercentilesAggregate = PercentilesAggregateBase & Record<string, any>
|
|
1291
1294
|
|
|
1292
|
-
export
|
|
1295
|
+
export type TermsAggregateBaseDoubleTermsBucket = MultiBucketAggregateBaseDoubleTermsBucket & {
|
|
1293
1296
|
doc_count_error_upper_bound?: number;
|
|
1294
1297
|
sum_other_doc_count?: number;
|
|
1295
1298
|
}
|
|
1296
1299
|
|
|
1297
|
-
export
|
|
1300
|
+
export type TermsAggregateBaseLongTermsBucket = MultiBucketAggregateBaseLongTermsBucket & {
|
|
1298
1301
|
doc_count_error_upper_bound?: number;
|
|
1299
1302
|
sum_other_doc_count?: number;
|
|
1300
1303
|
}
|
|
1301
1304
|
|
|
1302
|
-
export
|
|
1305
|
+
export type TermsAggregateBaseMultiTermsBucket = MultiBucketAggregateBaseMultiTermsBucket & {
|
|
1303
1306
|
doc_count_error_upper_bound?: number;
|
|
1304
1307
|
sum_other_doc_count?: number;
|
|
1305
1308
|
}
|
|
1306
1309
|
|
|
1307
|
-
export
|
|
1310
|
+
export type TermsAggregateBaseStringTermsBucket = MultiBucketAggregateBaseStringTermsBucket & {
|
|
1308
1311
|
doc_count_error_upper_bound?: number;
|
|
1309
1312
|
sum_other_doc_count?: number;
|
|
1310
1313
|
}
|
|
1311
1314
|
|
|
1312
|
-
export
|
|
1315
|
+
export type TermsAggregateBaseVoid = MultiBucketAggregateBaseVoid & {
|
|
1313
1316
|
doc_count_error_upper_bound?: number;
|
|
1314
1317
|
sum_other_doc_count?: number;
|
|
1315
1318
|
}
|
|
1316
1319
|
|
|
1317
|
-
export
|
|
1320
|
+
export type TermsAggregation = BucketAggregationBase & {
|
|
1318
1321
|
collect_mode?: TermsAggregationCollectMode;
|
|
1319
1322
|
exclude?: TermsExclude;
|
|
1320
1323
|
execution_hint?: TermsAggregationExecutionHint;
|
|
@@ -1337,7 +1340,7 @@ export type TermsAggregationCollectMode = 'breadth_first' | 'depth_first'
|
|
|
1337
1340
|
|
|
1338
1341
|
export type TermsAggregationExecutionHint = 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality' | 'map'
|
|
1339
1342
|
|
|
1340
|
-
export
|
|
1343
|
+
export type TermsBucketBase = MultiBucketBase & {
|
|
1341
1344
|
doc_count_error?: number;
|
|
1342
1345
|
}
|
|
1343
1346
|
|
|
@@ -1345,22 +1348,22 @@ export type TermsExclude = string | string[]
|
|
|
1345
1348
|
|
|
1346
1349
|
export type TermsInclude = string | string[] | TermsPartition
|
|
1347
1350
|
|
|
1348
|
-
export
|
|
1351
|
+
export type TermsPartition = {
|
|
1349
1352
|
num_partitions: number;
|
|
1350
1353
|
partition: number;
|
|
1351
1354
|
}
|
|
1352
1355
|
|
|
1353
|
-
export
|
|
1356
|
+
export type TestPopulation = {
|
|
1354
1357
|
field: Common.Field;
|
|
1355
1358
|
filter?: Common_QueryDsl.QueryContainer;
|
|
1356
1359
|
script?: Common.Script;
|
|
1357
1360
|
}
|
|
1358
1361
|
|
|
1359
|
-
export
|
|
1362
|
+
export type TopHitsAggregate = AggregateBase & {
|
|
1360
1363
|
hits: Core_Search.HitsMetadata;
|
|
1361
1364
|
}
|
|
1362
1365
|
|
|
1363
|
-
export
|
|
1366
|
+
export type TopHitsAggregation = MetricAggregationBase & {
|
|
1364
1367
|
_source?: Core_Search.SourceConfig;
|
|
1365
1368
|
docvalue_fields?: Common.Fields;
|
|
1366
1369
|
explain?: boolean;
|
|
@@ -1375,31 +1378,31 @@ export interface TopHitsAggregation extends MetricAggregationBase {
|
|
|
1375
1378
|
version?: boolean;
|
|
1376
1379
|
}
|
|
1377
1380
|
|
|
1378
|
-
export
|
|
1381
|
+
export type TopMetrics = {
|
|
1379
1382
|
metrics: Record<string, Common.FieldValue>;
|
|
1380
1383
|
sort: Common.FieldValue[];
|
|
1381
1384
|
}
|
|
1382
1385
|
|
|
1383
|
-
export
|
|
1386
|
+
export type TopMetricsAggregate = AggregateBase & {
|
|
1384
1387
|
top: TopMetrics[];
|
|
1385
1388
|
}
|
|
1386
1389
|
|
|
1387
|
-
export
|
|
1390
|
+
export type TopMetricsAggregation = MetricAggregationBase & {
|
|
1388
1391
|
metrics?: TopMetricsValue | TopMetricsValue[];
|
|
1389
1392
|
size?: number;
|
|
1390
1393
|
sort?: Common.Sort;
|
|
1391
1394
|
}
|
|
1392
1395
|
|
|
1393
|
-
export
|
|
1396
|
+
export type TopMetricsValue = {
|
|
1394
1397
|
field: Common.Field;
|
|
1395
1398
|
}
|
|
1396
1399
|
|
|
1397
|
-
export
|
|
1400
|
+
export type TTestAggregate = AggregateBase & {
|
|
1398
1401
|
value: undefined | number | string;
|
|
1399
1402
|
value_as_string?: string;
|
|
1400
1403
|
}
|
|
1401
1404
|
|
|
1402
|
-
export
|
|
1405
|
+
export type TTestAggregation = Aggregation & {
|
|
1403
1406
|
a?: TestPopulation;
|
|
1404
1407
|
b?: TestPopulation;
|
|
1405
1408
|
type?: TTestType;
|
|
@@ -1423,14 +1426,14 @@ export type ValueType = 'boolean' | 'date' | 'date_nanos' | 'double' | 'geo_poin
|
|
|
1423
1426
|
|
|
1424
1427
|
export type VariableWidthHistogramAggregate = MultiBucketAggregateBaseVariableWidthHistogramBucket & Record<string, any>
|
|
1425
1428
|
|
|
1426
|
-
export
|
|
1429
|
+
export type VariableWidthHistogramAggregation = {
|
|
1427
1430
|
buckets?: number;
|
|
1428
1431
|
field?: Common.Field;
|
|
1429
1432
|
initial_buffer?: number;
|
|
1430
1433
|
shard_size?: number;
|
|
1431
1434
|
}
|
|
1432
1435
|
|
|
1433
|
-
export
|
|
1436
|
+
export type VariableWidthHistogramBucket = MultiBucketBase & {
|
|
1434
1437
|
key: number;
|
|
1435
1438
|
key_as_string?: string;
|
|
1436
1439
|
max: number;
|
|
@@ -1439,14 +1442,14 @@ export interface VariableWidthHistogramBucket extends MultiBucketBase {
|
|
|
1439
1442
|
min_as_string?: string;
|
|
1440
1443
|
}
|
|
1441
1444
|
|
|
1442
|
-
export
|
|
1445
|
+
export type WeightedAverageAggregation = Aggregation & {
|
|
1443
1446
|
format?: string;
|
|
1444
1447
|
value?: WeightedAverageValue;
|
|
1445
1448
|
value_type?: ValueType;
|
|
1446
1449
|
weight?: WeightedAverageValue;
|
|
1447
1450
|
}
|
|
1448
1451
|
|
|
1449
|
-
export
|
|
1452
|
+
export type WeightedAverageValue = {
|
|
1450
1453
|
field?: Common.Field;
|
|
1451
1454
|
missing?: number;
|
|
1452
1455
|
script?: Common.Script;
|