@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,12 +14,12 @@
|
|
|
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'
|
|
19
18
|
import * as Common_Analysis from './_common.analysis'
|
|
20
19
|
import * as Common_Mapping from './_common.mapping'
|
|
20
|
+
import * as Common_QueryDsl from './_common.query_dsl'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export type Alias = {
|
|
23
23
|
filter?: Common_QueryDsl.QueryContainer;
|
|
24
24
|
index_routing?: Common.Routing;
|
|
25
25
|
is_hidden?: boolean;
|
|
@@ -28,7 +28,7 @@ export interface Alias {
|
|
|
28
28
|
search_routing?: Common.Routing;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export
|
|
31
|
+
export type AliasDefinition = {
|
|
32
32
|
filter?: Common_QueryDsl.QueryContainer;
|
|
33
33
|
index_routing?: string;
|
|
34
34
|
is_hidden?: boolean;
|
|
@@ -37,29 +37,24 @@ export interface AliasDefinition {
|
|
|
37
37
|
search_routing?: string;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export
|
|
41
|
-
enabled: boolean;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export interface DataStream {
|
|
40
|
+
export type DataStream = {
|
|
45
41
|
_meta?: Common.Metadata;
|
|
46
42
|
allow_custom_routing?: boolean;
|
|
47
43
|
generation: number;
|
|
48
44
|
hidden?: boolean;
|
|
49
45
|
ilm_policy?: Common.Name;
|
|
50
46
|
indices: DataStreamIndex[];
|
|
51
|
-
lifecycle?: DataStreamLifecycleWithRollover;
|
|
52
47
|
name: Common.DataStreamName;
|
|
53
48
|
next_generation_managed_by?: ManagedBy;
|
|
54
49
|
prefer_ilm?: boolean;
|
|
55
50
|
replicated?: boolean;
|
|
56
|
-
status: Common.
|
|
51
|
+
status: Common.HealthStatus;
|
|
57
52
|
system?: boolean;
|
|
58
53
|
template: Common.Name;
|
|
59
54
|
timestamp_field: DataStreamTimestampField;
|
|
60
55
|
}
|
|
61
56
|
|
|
62
|
-
export
|
|
57
|
+
export type DataStreamIndex = {
|
|
63
58
|
ilm_policy?: Common.Name;
|
|
64
59
|
index_name: Common.IndexName;
|
|
65
60
|
index_uuid: Common.Uuid;
|
|
@@ -67,182 +62,199 @@ export interface DataStreamIndex {
|
|
|
67
62
|
prefer_ilm?: boolean;
|
|
68
63
|
}
|
|
69
64
|
|
|
70
|
-
export
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
rounds: DownsamplingRound[];
|
|
65
|
+
export type DataStreamStats = {
|
|
66
|
+
backing_indices: number;
|
|
67
|
+
data_stream: Common.Name;
|
|
68
|
+
maximum_timestamp: Common.EpochTimeUnitMillis;
|
|
69
|
+
store_size?: Common.HumanReadableByteCount;
|
|
70
|
+
store_size_bytes: Common.ByteCount;
|
|
77
71
|
}
|
|
78
72
|
|
|
79
|
-
export
|
|
80
|
-
|
|
81
|
-
max_docs?: number;
|
|
82
|
-
max_primary_shard_docs?: number;
|
|
83
|
-
max_primary_shard_size?: Common.StorageSize;
|
|
84
|
-
max_size?: Common.StorageSize;
|
|
85
|
-
min_age?: Common.Duration;
|
|
86
|
-
min_docs?: number;
|
|
87
|
-
min_primary_shard_docs?: number;
|
|
88
|
-
min_primary_shard_size?: Common.StorageSize;
|
|
89
|
-
min_size?: Common.StorageSize;
|
|
73
|
+
export type DataStreamTimestampField = {
|
|
74
|
+
name: Common.Field;
|
|
90
75
|
}
|
|
91
76
|
|
|
92
|
-
export
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
77
|
+
export type FielddataFrequencyFilter = {
|
|
78
|
+
max: number;
|
|
79
|
+
min: number;
|
|
80
|
+
min_segment_size: number;
|
|
96
81
|
}
|
|
97
82
|
|
|
98
|
-
export
|
|
99
|
-
name: Common.Field;
|
|
100
|
-
}
|
|
83
|
+
export type IndexCheckOnStartup = 'checksum' | 'false' | 'true'
|
|
101
84
|
|
|
102
|
-
export
|
|
103
|
-
|
|
85
|
+
export type IndexError = {
|
|
86
|
+
error?: IndexErrorCause;
|
|
87
|
+
status?: number;
|
|
104
88
|
}
|
|
105
89
|
|
|
106
|
-
export
|
|
107
|
-
|
|
108
|
-
|
|
90
|
+
export type IndexErrorCause = {
|
|
91
|
+
index?: Common.IndexName;
|
|
92
|
+
index_uuid?: Common.Uuid;
|
|
93
|
+
reason?: string;
|
|
94
|
+
'resource.id'?: Common.IndexName;
|
|
95
|
+
'resource.type'?: Common.ResourceType;
|
|
96
|
+
root_cause?: IndexErrorCause[];
|
|
97
|
+
type: string;
|
|
98
|
+
[key: string]: any | Record<string, any>;
|
|
109
99
|
}
|
|
110
100
|
|
|
111
|
-
export
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
101
|
+
export type IndexGetUpgradeStatus = {
|
|
102
|
+
indices?: Record<string, UpgradeStatus>;
|
|
103
|
+
size_in_bytes?: Common.ByteCount;
|
|
104
|
+
size_to_upgrade_ancient_in_bytes?: Common.ByteCount;
|
|
105
|
+
size_to_upgrade_in_bytes?: Common.ByteCount;
|
|
115
106
|
}
|
|
116
107
|
|
|
117
|
-
export type
|
|
118
|
-
|
|
119
|
-
export interface IndexingPressure {
|
|
108
|
+
export type IndexingPressure = {
|
|
120
109
|
memory: IndexingPressureMemory;
|
|
121
110
|
}
|
|
122
111
|
|
|
123
|
-
export
|
|
124
|
-
limit?: number;
|
|
112
|
+
export type IndexingPressureMemory = {
|
|
113
|
+
limit?: string | number;
|
|
125
114
|
}
|
|
126
115
|
|
|
127
|
-
export
|
|
116
|
+
export type IndexingSlowlog = {
|
|
128
117
|
level?: string;
|
|
129
|
-
reformat?:
|
|
130
|
-
source?:
|
|
118
|
+
reformat?: Common.StringifiedBoolean;
|
|
119
|
+
source?: Common.StringifiedInteger;
|
|
131
120
|
threshold?: IndexingSlowlogThresholds;
|
|
132
121
|
}
|
|
133
122
|
|
|
134
|
-
export
|
|
123
|
+
export type IndexingSlowlogThresholds = {
|
|
135
124
|
index?: SlowlogThresholdLevels;
|
|
136
125
|
}
|
|
137
126
|
|
|
138
|
-
export
|
|
127
|
+
export type IndexPostUpgradeStatus = {
|
|
128
|
+
_shards?: Common.ShardStatistics;
|
|
129
|
+
upgraded_indices?: Record<string, UpgradeVersionStatus>;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type IndexRouting = {
|
|
139
133
|
allocation?: IndexRoutingAllocation;
|
|
140
134
|
rebalance?: IndexRoutingRebalance;
|
|
141
135
|
}
|
|
142
136
|
|
|
143
|
-
export
|
|
137
|
+
export type IndexRoutingAllocation = {
|
|
144
138
|
disk?: IndexRoutingAllocationDisk;
|
|
145
139
|
enable?: IndexRoutingAllocationOptions;
|
|
146
140
|
include?: IndexRoutingAllocationInclude;
|
|
147
141
|
initial_recovery?: IndexRoutingAllocationInitialRecovery;
|
|
142
|
+
total_shards_per_node?: Common.StringifiedInteger;
|
|
148
143
|
}
|
|
149
144
|
|
|
150
|
-
export
|
|
151
|
-
threshold_enabled?:
|
|
145
|
+
export type IndexRoutingAllocationDisk = {
|
|
146
|
+
threshold_enabled?: Common.StringifiedBoolean;
|
|
152
147
|
}
|
|
153
148
|
|
|
154
|
-
export
|
|
149
|
+
export type IndexRoutingAllocationInclude = {
|
|
155
150
|
_id?: Common.Id;
|
|
156
151
|
_tier_preference?: string;
|
|
157
152
|
}
|
|
158
153
|
|
|
159
|
-
export
|
|
154
|
+
export type IndexRoutingAllocationInitialRecovery = {
|
|
160
155
|
_id?: Common.Id;
|
|
161
156
|
}
|
|
162
157
|
|
|
163
158
|
export type IndexRoutingAllocationOptions = 'all' | 'new_primaries' | 'none' | 'primaries'
|
|
164
159
|
|
|
165
|
-
export
|
|
160
|
+
export type IndexRoutingRebalance = {
|
|
166
161
|
enable: IndexRoutingRebalanceOptions;
|
|
167
162
|
}
|
|
168
163
|
|
|
169
164
|
export type IndexRoutingRebalanceOptions = 'all' | 'none' | 'primaries' | 'replicas'
|
|
170
165
|
|
|
171
|
-
export
|
|
166
|
+
export type IndexSegmentSort = {
|
|
172
167
|
field?: Common.Fields;
|
|
173
168
|
missing?: SegmentSortMissing | SegmentSortMissing[];
|
|
174
169
|
mode?: SegmentSortMode | SegmentSortMode[];
|
|
175
170
|
order?: SegmentSortOrder | SegmentSortOrder[];
|
|
176
171
|
}
|
|
177
172
|
|
|
178
|
-
export
|
|
179
|
-
metadata?: Common.
|
|
180
|
-
read?: Common.
|
|
181
|
-
read_only?: Common.
|
|
182
|
-
read_only_allow_delete?: Common.
|
|
183
|
-
write?: Common.
|
|
173
|
+
export type IndexSettingBlocks = {
|
|
174
|
+
metadata?: Common.StringifiedBoolean;
|
|
175
|
+
read?: Common.StringifiedBoolean;
|
|
176
|
+
read_only?: Common.StringifiedBoolean;
|
|
177
|
+
read_only_allow_delete?: Common.StringifiedBoolean;
|
|
178
|
+
write?: Common.StringifiedBoolean;
|
|
184
179
|
}
|
|
185
180
|
|
|
186
|
-
export
|
|
181
|
+
export type IndexSettings = {
|
|
187
182
|
analysis?: IndexSettingsAnalysis;
|
|
188
|
-
analyze?:
|
|
183
|
+
analyze?: IndexSettingsAnalyze;
|
|
184
|
+
'analyze.max_token_count'?: Common.StringifiedInteger;
|
|
189
185
|
auto_expand_replicas?: string;
|
|
190
186
|
blocks?: IndexSettingBlocks;
|
|
187
|
+
'blocks.metadata'?: Common.StringifiedBoolean;
|
|
188
|
+
'blocks.read'?: Common.StringifiedBoolean;
|
|
189
|
+
'blocks.read_only'?: Common.StringifiedBoolean;
|
|
190
|
+
'blocks.read_only_allow_delete'?: Common.StringifiedBoolean;
|
|
191
|
+
'blocks.write'?: Common.StringifiedBoolean;
|
|
191
192
|
check_on_startup?: IndexCheckOnStartup;
|
|
192
193
|
codec?: string;
|
|
194
|
+
'composite_index.star_tree'?: IndexSettingsStarTree;
|
|
193
195
|
creation_date?: Common.StringifiedEpochTimeUnitMillis;
|
|
194
196
|
creation_date_string?: Common.DateTime;
|
|
195
197
|
default_pipeline?: Common.PipelineName;
|
|
196
198
|
final_pipeline?: Common.PipelineName;
|
|
197
199
|
format?: string | number;
|
|
198
200
|
gc_deletes?: Common.Duration;
|
|
199
|
-
hidden?:
|
|
200
|
-
highlight?:
|
|
201
|
+
hidden?: Common.StringifiedBoolean;
|
|
202
|
+
highlight?: IndexSettingsHighlight;
|
|
203
|
+
'highlight.max_analyzed_offset'?: Common.StringifiedInteger;
|
|
201
204
|
index?: IndexSettings;
|
|
205
|
+
indexing?: IndexSettingsIndexing;
|
|
202
206
|
indexing_pressure?: IndexingPressure;
|
|
203
|
-
|
|
207
|
+
knn?: Common.StringifiedBoolean;
|
|
208
|
+
'knn.algo_param.ef_search'?: Common.StringifiedInteger;
|
|
204
209
|
lifecycle?: IndexSettingsLifecycle;
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
210
|
+
'lifecycle.name'?: Common.Name;
|
|
211
|
+
load_fixed_bitset_filters_eagerly?: Common.StringifiedBoolean;
|
|
212
|
+
mapping?: IndexSettingsMapping;
|
|
213
|
+
max_docvalue_fields_search?: Common.StringifiedInteger;
|
|
214
|
+
max_inner_result_window?: Common.StringifiedInteger;
|
|
215
|
+
max_ngram_diff?: Common.StringifiedInteger;
|
|
216
|
+
max_refresh_listeners?: Common.StringifiedInteger;
|
|
217
|
+
max_regex_length?: Common.StringifiedInteger;
|
|
218
|
+
max_rescore_window?: Common.StringifiedInteger;
|
|
219
|
+
max_result_window?: Common.StringifiedInteger;
|
|
220
|
+
max_script_fields?: Common.StringifiedInteger;
|
|
221
|
+
max_shingle_diff?: Common.StringifiedInteger;
|
|
222
|
+
max_slices_per_scroll?: Common.StringifiedInteger;
|
|
223
|
+
max_terms_count?: Common.StringifiedInteger;
|
|
224
|
+
merge?: IndexSettingsMerge;
|
|
225
|
+
'merge.scheduler.max_thread_count'?: Common.StringifiedInteger;
|
|
219
226
|
mode?: string;
|
|
220
|
-
number_of_replicas?:
|
|
221
|
-
number_of_routing_shards?:
|
|
222
|
-
number_of_shards?:
|
|
227
|
+
number_of_replicas?: Common.StringifiedInteger;
|
|
228
|
+
number_of_routing_shards?: Common.StringifiedInteger;
|
|
229
|
+
number_of_shards?: Common.StringifiedInteger;
|
|
223
230
|
priority?: number | string;
|
|
224
231
|
provided_name?: Common.Name;
|
|
225
|
-
queries?:
|
|
226
|
-
query_string?:
|
|
232
|
+
queries?: IndexSettingsQueries;
|
|
233
|
+
query_string?: IndexSettingsQueryString;
|
|
234
|
+
'query_string.lenient'?: Common.StringifiedBoolean;
|
|
227
235
|
refresh_interval?: Common.Duration;
|
|
228
236
|
routing?: IndexRouting;
|
|
229
|
-
routing_partition_size?: Common.
|
|
237
|
+
routing_partition_size?: Common.StringifiedInteger;
|
|
230
238
|
routing_path?: string | string[];
|
|
231
|
-
search?:
|
|
239
|
+
search?: IndexSettingsSearch;
|
|
240
|
+
'search.idle.after'?: Common.Duration;
|
|
232
241
|
settings?: IndexSettings;
|
|
233
|
-
similarity?:
|
|
242
|
+
similarity?: IndexSettingsSimilarity;
|
|
234
243
|
soft_deletes?: SoftDeletes;
|
|
244
|
+
'soft_deletes.retention_lease.period'?: Common.Duration;
|
|
235
245
|
sort?: IndexSegmentSort;
|
|
236
|
-
store?:
|
|
237
|
-
|
|
238
|
-
top_metrics_max_size?: number;
|
|
246
|
+
store?: IndexSettingsStore;
|
|
247
|
+
top_metrics_max_size?: Common.StringifiedInteger;
|
|
239
248
|
translog?: Translog;
|
|
249
|
+
'translog.durability'?: TranslogDurability;
|
|
250
|
+
'translog.flush_threshold_size'?: Common.HumanReadableByteCount;
|
|
240
251
|
uuid?: Common.Uuid;
|
|
241
|
-
verified_before_close?:
|
|
252
|
+
verified_before_close?: Common.StringifiedBoolean;
|
|
242
253
|
version?: IndexVersioning;
|
|
254
|
+
[key: string]: any | Record<string, any>;
|
|
243
255
|
}
|
|
244
256
|
|
|
245
|
-
export
|
|
257
|
+
export type IndexSettingsAnalysis = {
|
|
246
258
|
analyzer?: Record<string, Common_Analysis.Analyzer>;
|
|
247
259
|
char_filter?: Record<string, Common_Analysis.CharFilter>;
|
|
248
260
|
filter?: Record<string, Common_Analysis.TokenFilter>;
|
|
@@ -250,251 +262,367 @@ export interface IndexSettingsAnalysis {
|
|
|
250
262
|
tokenizer?: Record<string, Common_Analysis.Tokenizer>;
|
|
251
263
|
}
|
|
252
264
|
|
|
253
|
-
export
|
|
254
|
-
|
|
255
|
-
name: Common.Name;
|
|
256
|
-
origination_date?: number;
|
|
257
|
-
parse_origination_date?: boolean;
|
|
258
|
-
rollover_alias?: string;
|
|
259
|
-
step?: IndexSettingsLifecycleStep;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
export interface IndexSettingsLifecycleStep {
|
|
263
|
-
wait_time_threshold?: Common.Duration;
|
|
265
|
+
export type IndexSettingsAnalyze = {
|
|
266
|
+
max_token_count?: Common.StringifiedInteger;
|
|
264
267
|
}
|
|
265
268
|
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
start_time?: Common.DateTime;
|
|
269
|
+
export type IndexSettingsHighlight = {
|
|
270
|
+
max_analyzed_offset?: Common.StringifiedInteger;
|
|
269
271
|
}
|
|
270
272
|
|
|
271
|
-
export
|
|
272
|
-
|
|
273
|
-
data_stream?: Common.DataStreamName;
|
|
274
|
-
defaults?: IndexSettings;
|
|
275
|
-
lifecycle?: DataStreamLifecycle;
|
|
276
|
-
mappings?: Common_Mapping.TypeMapping;
|
|
277
|
-
settings?: IndexSettings;
|
|
273
|
+
export type IndexSettingsIndexing = {
|
|
274
|
+
slowlog?: IndexingSlowlog;
|
|
278
275
|
}
|
|
279
276
|
|
|
280
|
-
export
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
template?: IndexTemplateSummary;
|
|
288
|
-
version?: Common.VersionNumber;
|
|
277
|
+
export type IndexSettingsLifecycle = {
|
|
278
|
+
indexing_complete?: Common.StringifiedBoolean;
|
|
279
|
+
name: Common.Name;
|
|
280
|
+
origination_date?: Common.StringifiedEpochTimeUnitMillis;
|
|
281
|
+
parse_origination_date?: boolean;
|
|
282
|
+
rollover_alias?: string;
|
|
283
|
+
step?: IndexSettingsLifecycleStep;
|
|
289
284
|
}
|
|
290
285
|
|
|
291
|
-
export
|
|
292
|
-
|
|
293
|
-
hidden?: boolean;
|
|
294
|
-
timestamp_field?: DataStreamTimestampField;
|
|
286
|
+
export type IndexSettingsLifecycleStep = {
|
|
287
|
+
wait_time_threshold?: Common.Duration;
|
|
295
288
|
}
|
|
296
289
|
|
|
297
|
-
export
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
290
|
+
export type IndexSettingsMapping = {
|
|
291
|
+
coerce?: Common.StringifiedBoolean;
|
|
292
|
+
depth?: IndexSettingsMappingLimitDepth;
|
|
293
|
+
dimension_fields?: IndexSettingsMappingLimitDimensionFields;
|
|
294
|
+
field_name_length?: IndexSettingsMappingLimitFieldNameLength;
|
|
295
|
+
ignore_malformed?: Common.StringifiedBoolean;
|
|
296
|
+
nested_fields?: IndexSettingsMappingLimitNestedFields;
|
|
297
|
+
nested_objects?: IndexSettingsMappingLimitNestedObjects;
|
|
298
|
+
total_fields?: IndexSettingsMappingLimitTotalFields;
|
|
302
299
|
}
|
|
303
300
|
|
|
304
|
-
export
|
|
305
|
-
|
|
306
|
-
created_string?: string;
|
|
301
|
+
export type IndexSettingsMappingLimitDepth = {
|
|
302
|
+
limit?: Common.StringifiedLong;
|
|
307
303
|
}
|
|
308
304
|
|
|
309
|
-
export type
|
|
310
|
-
|
|
311
|
-
export interface MappingLimitSettings {
|
|
312
|
-
coerce?: boolean;
|
|
313
|
-
depth?: MappingLimitSettingsDepth;
|
|
314
|
-
dimension_fields?: MappingLimitSettingsDimensionFields;
|
|
315
|
-
field_name_length?: MappingLimitSettingsFieldNameLength;
|
|
316
|
-
ignore_malformed?: boolean;
|
|
317
|
-
nested_fields?: MappingLimitSettingsNestedFields;
|
|
318
|
-
nested_objects?: MappingLimitSettingsNestedObjects;
|
|
319
|
-
total_fields?: MappingLimitSettingsTotalFields;
|
|
305
|
+
export type IndexSettingsMappingLimitDimensionFields = {
|
|
306
|
+
limit?: Common.StringifiedLong;
|
|
320
307
|
}
|
|
321
308
|
|
|
322
|
-
export
|
|
323
|
-
limit?:
|
|
309
|
+
export type IndexSettingsMappingLimitFieldNameLength = {
|
|
310
|
+
limit?: Common.StringifiedLong;
|
|
324
311
|
}
|
|
325
312
|
|
|
326
|
-
export
|
|
327
|
-
limit?:
|
|
313
|
+
export type IndexSettingsMappingLimitNestedFields = {
|
|
314
|
+
limit?: Common.StringifiedLong;
|
|
328
315
|
}
|
|
329
316
|
|
|
330
|
-
export
|
|
331
|
-
limit?:
|
|
317
|
+
export type IndexSettingsMappingLimitNestedObjects = {
|
|
318
|
+
limit?: Common.StringifiedLong;
|
|
332
319
|
}
|
|
333
320
|
|
|
334
|
-
export
|
|
335
|
-
limit?:
|
|
321
|
+
export type IndexSettingsMappingLimitTotalFields = {
|
|
322
|
+
limit?: Common.StringifiedLong;
|
|
336
323
|
}
|
|
337
324
|
|
|
338
|
-
export
|
|
339
|
-
|
|
325
|
+
export type IndexSettingsMerge = {
|
|
326
|
+
log_byte_size_policy?: IndexSettingsMergeLogByteSizePolicy;
|
|
327
|
+
policy?: IndexSettingsMergePolicy;
|
|
328
|
+
'policy.deletes_pct_allowed'?: Common.StringifiedDouble;
|
|
329
|
+
'policy.expunge_deletes_allowed'?: Common.StringifiedDouble;
|
|
330
|
+
'policy.floor_segment'?: Common.HumanReadableByteCount;
|
|
331
|
+
'policy.max_merge_at_once'?: Common.StringifiedInteger;
|
|
332
|
+
'policy.max_merged_segment'?: Common.HumanReadableByteCount;
|
|
333
|
+
'policy.reclaim_deletes_weight'?: Common.StringifiedDouble;
|
|
334
|
+
'policy.segments_per_tier'?: Common.StringifiedDouble;
|
|
335
|
+
scheduler?: IndexSettingsMergeScheduler;
|
|
340
336
|
}
|
|
341
337
|
|
|
342
|
-
export
|
|
343
|
-
|
|
338
|
+
export type IndexSettingsMergeLogByteSizePolicy = {
|
|
339
|
+
max_merge_segment?: Common.HumanReadableByteCount;
|
|
340
|
+
max_merge_segment_forced_merge?: Common.HumanReadableByteCount;
|
|
341
|
+
max_merged_docs?: Common.StringifiedInteger;
|
|
342
|
+
merge_factor?: Common.StringifiedInteger;
|
|
343
|
+
min_merge?: Common.HumanReadableByteCount;
|
|
344
|
+
no_cfs_ratio?: Common.StringifiedDouble;
|
|
344
345
|
}
|
|
345
346
|
|
|
346
|
-
export
|
|
347
|
-
scheduler?: MergeScheduler;
|
|
348
|
-
}
|
|
347
|
+
export type IndexSettingsMergePolicy = IndexSettingsMergePolicyName | IndexSettingsMergeTieredPolicy
|
|
349
348
|
|
|
350
|
-
export
|
|
351
|
-
max_merge_count?: Common.Stringifiedinteger;
|
|
352
|
-
max_thread_count?: Common.Stringifiedinteger;
|
|
353
|
-
}
|
|
349
|
+
export type IndexSettingsMergePolicyName = 'default' | 'log_byte_size' | 'tiered'
|
|
354
350
|
|
|
355
|
-
export
|
|
356
|
-
|
|
351
|
+
export type IndexSettingsMergeScheduler = {
|
|
352
|
+
auto_throttle?: Common.StringifiedBoolean;
|
|
353
|
+
max_merge_count?: Common.StringifiedInteger;
|
|
354
|
+
max_thread_count?: Common.StringifiedInteger;
|
|
357
355
|
}
|
|
358
356
|
|
|
359
|
-
export type
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
357
|
+
export type IndexSettingsMergeTieredPolicy = {
|
|
358
|
+
deletes_pct_allowed?: Common.StringifiedDouble;
|
|
359
|
+
expunge_deletes_allowed?: Common.StringifiedDouble;
|
|
360
|
+
floor_segment?: Common.HumanReadableByteCount;
|
|
361
|
+
max_merge_at_once?: Common.StringifiedInteger;
|
|
362
|
+
max_merge_at_once_explicit?: Common.StringifiedInteger;
|
|
363
|
+
max_merged_segment?: Common.HumanReadableByteCount;
|
|
364
|
+
reclaim_deletes_weight?: Common.StringifiedDouble;
|
|
365
|
+
segments_per_tier?: Common.StringifiedDouble;
|
|
363
366
|
}
|
|
364
367
|
|
|
365
|
-
export
|
|
366
|
-
|
|
368
|
+
export type IndexSettingsQueries = {
|
|
369
|
+
cache?: IndexSettingsQueriesCache;
|
|
367
370
|
}
|
|
368
371
|
|
|
369
|
-
export
|
|
370
|
-
|
|
372
|
+
export type IndexSettingsQueriesCache = {
|
|
373
|
+
enabled: Common.StringifiedBoolean;
|
|
371
374
|
}
|
|
372
375
|
|
|
373
|
-
export type
|
|
374
|
-
|
|
375
|
-
export type SegmentSortMode = 'max' | 'min'
|
|
376
|
-
|
|
377
|
-
export type SegmentSortOrder = 'asc' | 'desc'
|
|
378
|
-
|
|
379
|
-
export interface SettingsAnalyze {
|
|
380
|
-
max_token_count?: Common.Stringifiedinteger;
|
|
376
|
+
export type IndexSettingsQueryString = {
|
|
377
|
+
lenient?: Common.StringifiedBoolean;
|
|
381
378
|
}
|
|
382
379
|
|
|
383
|
-
export
|
|
384
|
-
|
|
380
|
+
export type IndexSettingsSearch = {
|
|
381
|
+
concurrent?: IndexSettingsSearchConcurrent;
|
|
382
|
+
concurrent_segment_search?: IndexSettingsSearchConcurrentSegmentSearch;
|
|
383
|
+
default_pipeline?: string;
|
|
384
|
+
idle?: SearchIdle;
|
|
385
|
+
slowlog?: SearchSlowlog;
|
|
386
|
+
throttled?: Common.StringifiedBoolean;
|
|
385
387
|
}
|
|
386
388
|
|
|
387
|
-
export
|
|
388
|
-
|
|
389
|
+
export type IndexSettingsSearchConcurrent = {
|
|
390
|
+
max_slice_count?: Common.StringifiedInteger;
|
|
389
391
|
}
|
|
390
392
|
|
|
391
|
-
export
|
|
392
|
-
|
|
393
|
-
|
|
393
|
+
export type IndexSettingsSearchConcurrentSegmentSearch = {
|
|
394
|
+
enabled?: Common.StringifiedBoolean;
|
|
395
|
+
mode?: string;
|
|
394
396
|
}
|
|
395
397
|
|
|
396
|
-
export
|
|
397
|
-
bm25?:
|
|
398
|
-
dfi?:
|
|
399
|
-
dfr?:
|
|
400
|
-
ib?:
|
|
401
|
-
lmd?:
|
|
402
|
-
lmj?:
|
|
403
|
-
scripted_tfidf?:
|
|
398
|
+
export type IndexSettingsSimilarity = {
|
|
399
|
+
bm25?: IndexSettingsSimilarityBm25;
|
|
400
|
+
dfi?: IndexSettingsSimilarityDfi;
|
|
401
|
+
dfr?: IndexSettingsSimilarityDfr;
|
|
402
|
+
ib?: IndexSettingsSimilarityIb;
|
|
403
|
+
lmd?: IndexSettingsSimilarityLmd;
|
|
404
|
+
lmj?: IndexSettingsSimilarityLmj;
|
|
405
|
+
scripted_tfidf?: IndexSettingsSimilarityScriptedTfidf;
|
|
404
406
|
}
|
|
405
407
|
|
|
406
|
-
export
|
|
408
|
+
export type IndexSettingsSimilarityBm25 = {
|
|
407
409
|
b: number;
|
|
408
410
|
discount_overlaps: boolean;
|
|
409
411
|
k1: number;
|
|
410
412
|
type: 'BM25';
|
|
411
413
|
}
|
|
412
414
|
|
|
413
|
-
export
|
|
415
|
+
export type IndexSettingsSimilarityDfi = {
|
|
414
416
|
independence_measure: Common.DFIIndependenceMeasure;
|
|
415
417
|
type: 'DFI';
|
|
416
418
|
}
|
|
417
419
|
|
|
418
|
-
export
|
|
420
|
+
export type IndexSettingsSimilarityDfr = {
|
|
419
421
|
after_effect: Common.DFRAfterEffect;
|
|
420
422
|
basic_model: Common.DFRBasicModel;
|
|
421
|
-
normalization: Common.
|
|
423
|
+
normalization: Common.TermFrequencyNormalization;
|
|
422
424
|
type: 'DFR';
|
|
423
425
|
}
|
|
424
426
|
|
|
425
|
-
export
|
|
427
|
+
export type IndexSettingsSimilarityIb = {
|
|
426
428
|
distribution: Common.IBDistribution;
|
|
427
429
|
lambda: Common.IBLambda;
|
|
428
|
-
normalization: Common.
|
|
430
|
+
normalization: Common.TermFrequencyNormalization;
|
|
429
431
|
type: 'IB';
|
|
430
432
|
}
|
|
431
433
|
|
|
432
|
-
export
|
|
434
|
+
export type IndexSettingsSimilarityLmd = {
|
|
433
435
|
mu: number;
|
|
434
436
|
type: 'LMDirichlet';
|
|
435
437
|
}
|
|
436
438
|
|
|
437
|
-
export
|
|
439
|
+
export type IndexSettingsSimilarityLmj = {
|
|
438
440
|
lambda: number;
|
|
439
441
|
type: 'LMJelinekMercer';
|
|
440
442
|
}
|
|
441
443
|
|
|
442
|
-
export
|
|
444
|
+
export type IndexSettingsSimilarityScriptedTfidf = {
|
|
443
445
|
script: Common.Script;
|
|
444
446
|
type: 'scripted';
|
|
445
447
|
}
|
|
446
448
|
|
|
447
|
-
export
|
|
449
|
+
export type IndexSettingsStarTree = {
|
|
450
|
+
default?: IndexSettingsStarTreeDefault;
|
|
451
|
+
field?: IndexSettingsStarTreeField;
|
|
452
|
+
max_fields?: Common.StringifiedInteger;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type IndexSettingsStarTreeDefault = {
|
|
456
|
+
max_leaf_docs?: Common.StringifiedInteger;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
export type IndexSettingsStarTreeField = {
|
|
460
|
+
default?: IndexSettingsStarTreeFieldDefault;
|
|
461
|
+
max_base_metrics?: Common.StringifiedInteger;
|
|
462
|
+
max_date_intervals?: Common.StringifiedInteger;
|
|
463
|
+
max_dimensions?: Common.StringifiedInteger;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type IndexSettingsStarTreeFieldDefault = {
|
|
467
|
+
date_intervals?: string[];
|
|
468
|
+
metrics?: string[];
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type IndexSettingsStore = {
|
|
472
|
+
allow_mmap?: Common.StringifiedBoolean;
|
|
473
|
+
fs?: IndexSettingsStoreFs;
|
|
474
|
+
hybrid?: IndexSettingsStoreHybrid;
|
|
475
|
+
preload?: string[];
|
|
476
|
+
stats_refresh_interval?: Common.Duration;
|
|
477
|
+
type: StorageType;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type IndexSettingsStoreFs = {
|
|
481
|
+
fs_lock?: IndexSettingsStoreFsLock;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export type IndexSettingsStoreFsLock = 'native' | 'simple'
|
|
485
|
+
|
|
486
|
+
export type IndexSettingsStoreHybrid = {
|
|
487
|
+
mmap?: IndexSettingsStoreHybridMmap;
|
|
488
|
+
nio?: IndexSettingsStoreHybridNio;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
export type IndexSettingsStoreHybridMmap = {
|
|
492
|
+
extensions?: string[];
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type IndexSettingsStoreHybridNio = {
|
|
496
|
+
extensions?: string[];
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type IndexState = {
|
|
500
|
+
aliases?: Record<string, Alias>;
|
|
501
|
+
data_stream?: Common.DataStreamName;
|
|
502
|
+
defaults?: IndexSettings;
|
|
503
|
+
mappings?: Common_Mapping.TypeMapping;
|
|
504
|
+
settings?: IndexSettings;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type IndexTemplate = {
|
|
508
|
+
_meta?: Common.Metadata;
|
|
509
|
+
allow_auto_create?: boolean;
|
|
510
|
+
composed_of?: Common.Name[];
|
|
511
|
+
data_stream?: IndexTemplateDataStreamConfiguration;
|
|
512
|
+
index_patterns: Common.Names;
|
|
513
|
+
priority?: number;
|
|
514
|
+
template?: IndexTemplateSummary;
|
|
515
|
+
version?: Common.VersionNumber;
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type IndexTemplateDataStreamConfiguration = {
|
|
519
|
+
allow_custom_routing?: boolean;
|
|
520
|
+
hidden?: boolean;
|
|
521
|
+
timestamp_field?: DataStreamTimestampField;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type IndexTemplateSummary = {
|
|
525
|
+
aliases?: Record<string, Alias>;
|
|
526
|
+
mappings?: Common_Mapping.TypeMapping;
|
|
527
|
+
settings?: IndexSettings;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
export type IndexVersioning = {
|
|
531
|
+
created?: Common.VersionString;
|
|
532
|
+
created_string?: string;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export type ManagedBy = 'Data stream lifecycle' | 'Index Lifecycle Management' | 'Unmanaged'
|
|
536
|
+
|
|
537
|
+
export type NumericFielddata = {
|
|
538
|
+
format: NumericFielddataFormat;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export type NumericFielddataFormat = 'array' | 'disabled'
|
|
542
|
+
|
|
543
|
+
export type RetentionLease = {
|
|
544
|
+
period: Common.Duration;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type SearchIdle = {
|
|
548
|
+
after?: Common.Duration;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export type SearchSlowlog = {
|
|
448
552
|
level?: string;
|
|
449
553
|
reformat?: boolean;
|
|
450
|
-
|
|
451
|
-
threshold?: SlowlogThresholds;
|
|
554
|
+
threshold?: SearchSlowlogThresholds;
|
|
452
555
|
}
|
|
453
556
|
|
|
454
|
-
export
|
|
557
|
+
export type SearchSlowlogThresholds = {
|
|
558
|
+
fetch?: SlowlogThresholdLevels;
|
|
559
|
+
query?: SlowlogThresholdLevels;
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type SegmentSortMissing = '_first' | '_last'
|
|
563
|
+
|
|
564
|
+
export type SegmentSortMode = 'max' | 'min'
|
|
565
|
+
|
|
566
|
+
export type SegmentSortOrder = 'asc' | 'desc'
|
|
567
|
+
|
|
568
|
+
export type SlowlogThresholdLevels = {
|
|
455
569
|
debug?: Common.Duration;
|
|
456
570
|
info?: Common.Duration;
|
|
457
571
|
trace?: Common.Duration;
|
|
458
572
|
warn?: Common.Duration;
|
|
459
573
|
}
|
|
460
574
|
|
|
461
|
-
export
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
export interface SoftDeletes {
|
|
467
|
-
enabled?: boolean;
|
|
575
|
+
export type SoftDeletes = {
|
|
576
|
+
enabled?: Common.StringifiedBoolean;
|
|
577
|
+
retention?: SoftDeletesRetention;
|
|
468
578
|
retention_lease?: RetentionLease;
|
|
469
579
|
}
|
|
470
580
|
|
|
471
|
-
export
|
|
472
|
-
|
|
473
|
-
type: StorageType;
|
|
581
|
+
export type SoftDeletesRetention = {
|
|
582
|
+
operations?: Common.StringifiedLong;
|
|
474
583
|
}
|
|
475
584
|
|
|
476
|
-
export type StorageType = 'fs' | 'hybridfs' | 'mmapfs' | 'niofs'
|
|
585
|
+
export type StorageType = 'fs' | 'hybridfs' | 'mmapfs' | 'niofs' | string
|
|
477
586
|
|
|
478
|
-
export
|
|
587
|
+
export type TemplateMapping = {
|
|
479
588
|
aliases: Record<string, Alias>;
|
|
480
589
|
index_patterns: Common.Name[];
|
|
481
590
|
mappings: Common_Mapping.TypeMapping;
|
|
482
591
|
order: number;
|
|
483
|
-
settings: Record<string,
|
|
592
|
+
settings: Record<string, any>;
|
|
484
593
|
version?: Common.VersionNumber;
|
|
485
594
|
}
|
|
486
595
|
|
|
487
|
-
export
|
|
596
|
+
export type Translog = {
|
|
488
597
|
durability?: TranslogDurability;
|
|
489
|
-
flush_threshold_size?: Common.
|
|
598
|
+
flush_threshold_size?: Common.HumanReadableByteCount;
|
|
599
|
+
generation_threshold_size?: Common.HumanReadableByteCount;
|
|
490
600
|
retention?: TranslogRetention;
|
|
491
601
|
sync_interval?: Common.Duration;
|
|
492
602
|
}
|
|
493
603
|
|
|
494
|
-
export type TranslogDurability = 'async' | 'request'
|
|
604
|
+
export type TranslogDurability = 'ASYNC' | 'REQUEST' | 'async' | 'request'
|
|
495
605
|
|
|
496
|
-
export
|
|
606
|
+
export type TranslogRetention = {
|
|
497
607
|
age?: Common.Duration;
|
|
498
|
-
size?: Common.
|
|
608
|
+
size?: Common.HumanReadableByteCount;
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type UpgradeRequest = {
|
|
612
|
+
allow_no_indices?: boolean;
|
|
613
|
+
expand_wildcards?: 'all' | 'closed' | 'none' | 'open';
|
|
614
|
+
ignore_unavailable?: boolean;
|
|
615
|
+
wait_for_completion?: boolean;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export type UpgradeStatus = {
|
|
619
|
+
size_in_bytes?: Common.ByteCount;
|
|
620
|
+
size_to_upgrade_ancient_in_bytes?: Common.ByteCount;
|
|
621
|
+
size_to_upgrade_in_bytes?: Common.ByteCount;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export type UpgradeVersionStatus = {
|
|
625
|
+
oldest_lucene_segment_version?: Common.VersionString;
|
|
626
|
+
upgrade_version?: Common.VersionString;
|
|
499
627
|
}
|
|
500
628
|
|