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