@opensearch-project/opensearch 3.6.0 → 3.10.0
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 +288 -0
- package/api/OpenSearchApi.js +202 -139
- package/api/_core/bulk.d.ts +2 -7
- package/api/_core/bulk.js +3 -3
- package/api/_core/bulkStream.d.ts +2 -7
- package/api/_core/bulkStream.js +2 -2
- package/api/_core/clearScroll.js +3 -3
- package/api/_core/count.js +3 -3
- package/api/_core/create.js +4 -4
- package/api/_core/createPit.d.ts +7 -4
- package/api/_core/createPit.js +8 -4
- package/api/_core/delete.js +4 -4
- package/api/_core/deleteAllPits.js +1 -1
- package/api/_core/deleteByQuery.js +3 -3
- package/api/_core/deleteByQueryRethrottle.js +1 -1
- package/api/_core/deletePit.js +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.js +4 -4
- package/api/_core/existsSource.js +4 -4
- package/api/_core/explain.d.ts +3 -1
- package/api/_core/explain.js +3 -3
- package/api/_core/fieldCaps.js +4 -4
- package/api/_core/get.d.ts +3 -1
- package/api/_core/get.js +5 -5
- package/api/_core/getAllPits.js +1 -1
- package/api/_core/getScript.js +1 -1
- package/api/_core/getScriptContext.js +1 -1
- package/api/_core/getScriptLanguages.js +1 -1
- package/api/_core/getSource.d.ts +1 -1
- package/api/_core/getSource.js +5 -5
- package/api/_core/index.js +4 -4
- package/api/_core/info.js +1 -1
- package/api/_core/mget.js +4 -4
- package/api/_core/msearch.d.ts +1 -0
- package/api/_core/msearch.js +3 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.js +9 -9
- package/api/_core/ping.js +1 -1
- package/api/_core/putScript.js +1 -1
- package/api/_core/rankEval.js +2 -2
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.js +1 -1
- package/api/_core/scriptsPainlessExecute.d.ts +1 -1
- package/api/_core/scriptsPainlessExecute.js +1 -1
- package/api/_core/scroll.d.ts +1 -1
- package/api/_core/scroll.js +1 -1
- package/api/_core/search.d.ts +6 -3
- package/api/_core/search.js +3 -3
- package/api/_core/searchShards.js +2 -2
- package/api/_core/searchTemplate.d.ts +4 -17
- package/api/_core/searchTemplate.js +5 -3
- package/api/_core/termvectors.js +9 -9
- package/api/_core/update.js +2 -2
- package/api/_core/updateByQuery.js +3 -3
- package/api/_core/updateByQueryRethrottle.js +1 -1
- package/api/_types/_common.aggregations.d.ts +232 -175
- package/api/_types/_common.analysis.d.ts +10 -3
- package/api/_types/_common.d.ts +67 -47
- package/api/_types/_common.mapping.d.ts +34 -2
- package/api/_types/_common.query_dsl.d.ts +48 -24
- package/api/_types/_core.bulk.d.ts +17 -1
- package/api/_types/_core.explain.d.ts +1 -1
- package/api/_types/_core.get.d.ts +7 -3
- package/api/_types/_core.msearch.d.ts +1 -1
- package/api/_types/_core.pit.d.ts +2 -2
- package/api/_types/_core.search.d.ts +69 -36
- package/api/_types/asynchronous_search._common.d.ts +3 -4
- package/api/_types/cat._common.d.ts +19 -0
- package/api/_types/cat.indices.d.ts +28 -0
- package/api/_types/cat.nodes.d.ts +13 -0
- package/api/_types/cat.shards.d.ts +13 -0
- package/api/_types/cat.thread_pool.d.ts +1 -0
- package/api/_types/cluster.allocation_explain.d.ts +3 -0
- package/api/_types/cluster.decommission_awareness.d.ts +1 -3
- package/api/_types/cluster.pending_tasks.d.ts +2 -0
- package/api/_types/cluster.weighted_routing.d.ts +1 -8
- package/api/_types/flow_framework.common.d.ts +5 -2
- package/api/_types/geospatial._common.d.ts +9 -3
- package/api/_types/index.d.ts +18 -0
- package/api/_types/indices._common.d.ts +69 -16
- package/api/_types/indices.modify_data_stream.d.ts +33 -0
- package/api/_types/ingest._common.d.ts +37 -0
- package/api/_types/ingestion._common.d.ts +70 -0
- package/api/_types/insights._common.d.ts +8 -35
- package/api/_types/ism._common.d.ts +3 -3
- package/api/_types/knn._common.d.ts +45 -6
- package/api/_types/list._common.d.ts +19 -0
- package/api/_types/ltr._common.d.ts +11 -4
- package/api/_types/ml._common.d.ts +209 -168
- package/api/_types/neural._common.d.ts +146 -11
- package/api/_types/nodes.info.d.ts +8 -2
- package/api/_types/nodes.stats.d.ts +50 -2
- package/api/_types/observability._common.d.ts +0 -16
- package/api/_types/ppl._common.d.ts +19 -0
- package/api/_types/query._common.d.ts +0 -20
- package/api/_types/replication._common.d.ts +4 -1
- package/api/_types/rollups._common.d.ts +2 -0
- package/api/_types/search_pipeline._common.d.ts +33 -0
- package/api/_types/search_relevance._common.d.ts +132 -0
- package/api/_types/security._common.d.ts +25 -16
- package/api/_types/security_analytics.alerts.d.ts +59 -0
- package/api/_types/security_analytics.findings.d.ts +65 -0
- package/api/_types/sm._common.d.ts +3 -39
- package/api/_types/sql._common.d.ts +8 -0
- package/api/_types/transforms._common.d.ts +0 -23
- package/api/_types/ubi._common.d.ts +19 -0
- package/api/_types/wlm._common.d.ts +5 -3
- package/api/asynchronousSearch/_api.js +12 -4
- package/api/asynchronousSearch/delete.js +1 -1
- package/api/asynchronousSearch/get.js +1 -1
- package/api/asynchronousSearch/search.js +1 -1
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cat/_api.js +58 -30
- package/api/cat/aliases.d.ts +2 -1
- package/api/cat/aliases.js +2 -2
- package/api/cat/allPitSegments.d.ts +2 -1
- package/api/cat/allPitSegments.js +2 -2
- package/api/cat/allocation.d.ts +2 -1
- package/api/cat/allocation.js +2 -2
- package/api/cat/clusterManager.d.ts +2 -1
- package/api/cat/clusterManager.js +2 -2
- package/api/cat/count.d.ts +2 -1
- package/api/cat/count.js +3 -3
- package/api/cat/fielddata.d.ts +2 -1
- package/api/cat/fielddata.js +2 -2
- package/api/cat/health.d.ts +2 -1
- package/api/cat/health.js +2 -2
- package/api/cat/help.js +1 -1
- package/api/cat/indices.d.ts +2 -1
- package/api/cat/indices.js +2 -2
- package/api/cat/master.d.ts +2 -1
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -1
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +2 -1
- package/api/cat/nodes.js +3 -3
- package/api/cat/pendingTasks.d.ts +2 -1
- package/api/cat/pendingTasks.js +3 -3
- package/api/cat/pitSegments.d.ts +2 -1
- package/api/cat/pitSegments.js +2 -2
- package/api/cat/plugins.d.ts +2 -1
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +2 -1
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -1
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +2 -1
- package/api/cat/segmentReplication.js +3 -3
- package/api/cat/segments.d.ts +2 -1
- package/api/cat/segments.js +2 -2
- package/api/cat/shards.d.ts +2 -1
- package/api/cat/shards.js +3 -3
- package/api/cat/snapshots.d.ts +2 -1
- package/api/cat/snapshots.js +3 -3
- package/api/cat/tasks.d.ts +2 -1
- package/api/cat/tasks.js +3 -3
- package/api/cat/templates.d.ts +2 -1
- package/api/cat/templates.js +2 -2
- package/api/cat/threadPool.d.ts +2 -1
- package/api/cat/threadPool.js +2 -2
- package/api/cluster/_api.js +63 -38
- package/api/cluster/allocationExplain.js +1 -1
- package/api/cluster/deleteComponentTemplate.js +2 -2
- package/api/cluster/deleteDecommissionAwareness.js +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +5 -2
- package/api/cluster/deleteWeightedRouting.js +1 -1
- package/api/cluster/existsComponentTemplate.js +2 -2
- package/api/cluster/getComponentTemplate.js +2 -2
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getDecommissionAwareness.js +1 -1
- package/api/cluster/getSettings.js +2 -2
- package/api/cluster/getWeightedRouting.d.ts +3 -1
- package/api/cluster/getWeightedRouting.js +1 -1
- package/api/cluster/health.js +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.js +1 -1
- package/api/cluster/putComponentTemplate.js +3 -3
- package/api/cluster/putDecommissionAwareness.js +1 -1
- package/api/cluster/putSettings.js +2 -2
- package/api/cluster/putWeightedRouting.d.ts +5 -2
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/remoteInfo.js +1 -1
- package/api/cluster/reroute.js +2 -2
- package/api/cluster/state.js +3 -3
- package/api/cluster/stats.js +3 -3
- package/api/danglingIndices/_api.js +13 -6
- package/api/danglingIndices/deleteDanglingIndex.js +1 -1
- package/api/danglingIndices/importDanglingIndex.js +1 -1
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +27 -13
- package/api/flowFramework/create.js +1 -1
- package/api/flowFramework/delete.js +1 -1
- package/api/flowFramework/deprovision.js +1 -1
- package/api/flowFramework/get.js +1 -1
- package/api/flowFramework/getStatus.js +1 -1
- package/api/flowFramework/getSteps.js +1 -1
- package/api/flowFramework/provision.js +1 -1
- package/api/flowFramework/search.js +1 -1
- package/api/flowFramework/searchState.js +1 -1
- package/api/flowFramework/update.js +1 -1
- package/api/geospatial/_api.js +25 -14
- package/api/geospatial/deleteIp2GeoDatasource.js +1 -1
- package/api/geospatial/getIp2GeoDatasource.js +1 -1
- package/api/geospatial/putIp2GeoDatasource.js +1 -1
- package/api/geospatial/putIp2GeoDatasourceSettings.js +1 -1
- package/api/http/_api.js +22 -9
- package/api/index.d.ts +132 -6
- package/api/indices/_api.js +134 -78
- package/api/indices/addBlock.js +1 -1
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.js +3 -3
- package/api/indices/clone.js +1 -1
- package/api/indices/close.js +2 -2
- package/api/indices/create.js +2 -2
- package/api/indices/createDataStream.js +1 -1
- package/api/indices/dataStreamsStats.js +2 -2
- package/api/indices/delete.js +2 -2
- package/api/indices/deleteAlias.js +3 -3
- package/api/indices/deleteDataStream.js +2 -2
- package/api/indices/deleteIndexTemplate.js +2 -2
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.js +3 -3
- package/api/indices/existsIndexTemplate.js +2 -2
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.js +2 -2
- package/api/indices/forcemerge.js +1 -1
- package/api/indices/get.js +2 -2
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.js +2 -2
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.js +2 -2
- package/api/indices/getMapping.js +2 -2
- package/api/indices/getSettings.js +3 -3
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.js +2 -2
- package/api/indices/modifyDataStream.d.ts +37 -0
- package/api/indices/modifyDataStream.js +50 -0
- package/api/indices/open.js +2 -2
- package/api/indices/putAlias.js +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.js +1 -1
- package/api/indices/putSettings.js +2 -2
- package/api/indices/putTemplate.js +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.js +2 -2
- package/api/indices/resolveIndex.js +1 -1
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.js +2 -2
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.js +1 -1
- package/api/indices/simulateTemplate.js +2 -2
- package/api/indices/split.js +1 -1
- package/api/indices/stats.js +5 -5
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.js +2 -2
- package/api/indices/validateQuery.js +2 -2
- package/api/ingest/_api.js +18 -9
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.js +1 -1
- package/api/ingest/processorGrok.js +1 -1
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.js +1 -1
- package/api/ingestion/_api.js +37 -0
- package/api/ingestion/getState.d.ts +34 -0
- package/api/ingestion/getState.js +52 -0
- package/api/ingestion/pause.d.ts +33 -0
- package/api/ingestion/pause.js +51 -0
- package/api/ingestion/resume.d.ts +34 -0
- package/api/ingestion/resume.js +52 -0
- package/api/insights/_api.js +7 -2
- package/api/insights/topQueries.d.ts +1 -1
- package/api/ism/_api.js +40 -24
- package/api/ism/addPolicy.d.ts +1 -1
- package/api/ism/addPolicy.js +2 -2
- package/api/ism/changePolicy.d.ts +1 -1
- package/api/ism/changePolicy.js +2 -2
- package/api/ism/deletePolicy.js +1 -1
- package/api/ism/existsPolicy.js +1 -1
- package/api/ism/explainPolicy.d.ts +1 -1
- package/api/ism/explainPolicy.js +2 -2
- package/api/ism/getPolicies.js +1 -1
- package/api/ism/getPolicy.js +1 -1
- package/api/ism/putPolicies.js +1 -1
- package/api/ism/putPolicy.js +1 -1
- package/api/ism/refreshSearchAnalyzers.d.ts +1 -1
- package/api/ism/refreshSearchAnalyzers.js +2 -2
- package/api/ism/removePolicy.d.ts +1 -1
- package/api/ism/removePolicy.js +2 -2
- package/api/ism/retryIndex.d.ts +1 -1
- package/api/ism/retryIndex.js +2 -2
- package/api/knn/_api.js +20 -10
- package/api/knn/deleteModel.js +1 -1
- package/api/knn/getModel.js +1 -1
- package/api/knn/searchModels.d.ts +1 -1
- package/api/knn/searchModels.js +5 -5
- package/api/knn/stats.d.ts +1 -1
- package/api/knn/stats.js +3 -3
- package/api/knn/trainModel.js +1 -1
- package/api/knn/warmup.js +2 -2
- package/api/list/_api.js +10 -3
- package/api/list/help.js +1 -1
- package/api/list/indices.d.ts +3 -2
- package/api/list/indices.js +5 -5
- package/api/list/shards.d.ts +3 -2
- package/api/list/shards.js +4 -4
- package/api/ltr/_api.js +98 -17
- package/api/ltr/addFeaturesToSet.d.ts +37 -0
- package/api/ltr/addFeaturesToSet.js +55 -0
- package/api/ltr/addFeaturesToSetByQuery.d.ts +35 -0
- package/api/ltr/addFeaturesToSetByQuery.js +57 -0
- package/api/ltr/createFeature.d.ts +35 -0
- package/api/ltr/createFeature.js +53 -0
- package/api/ltr/createFeatureset.d.ts +35 -0
- package/api/ltr/createFeatureset.js +53 -0
- package/api/ltr/createModel.d.ts +35 -0
- package/api/ltr/createModel.js +53 -0
- package/api/ltr/createModelFromSet.d.ts +35 -0
- package/api/ltr/createModelFromSet.js +53 -0
- package/api/ltr/deleteFeature.d.ts +31 -0
- package/api/ltr/deleteFeature.js +51 -0
- package/api/ltr/deleteFeatureset.d.ts +31 -0
- package/api/ltr/deleteFeatureset.js +51 -0
- package/api/ltr/deleteModel.d.ts +31 -0
- package/api/ltr/deleteModel.js +51 -0
- package/api/ltr/getFeature.d.ts +30 -0
- package/api/ltr/getFeature.js +51 -0
- package/api/ltr/getFeatureset.d.ts +30 -0
- package/api/ltr/getFeatureset.js +51 -0
- package/api/ltr/getModel.d.ts +30 -0
- package/api/ltr/getModel.js +51 -0
- package/api/ltr/searchFeatures.d.ts +33 -0
- package/api/ltr/searchFeatures.js +51 -0
- package/api/ltr/searchFeaturesets.d.ts +33 -0
- package/api/ltr/searchFeaturesets.js +51 -0
- package/api/ltr/searchModels.d.ts +33 -0
- package/api/ltr/searchModels.js +51 -0
- package/api/ltr/stats.d.ts +1 -1
- package/api/ltr/stats.js +2 -2
- package/api/ltr/updateFeature.d.ts +35 -0
- package/api/ltr/updateFeature.js +53 -0
- package/api/ltr/updateFeatureset.d.ts +35 -0
- package/api/ltr/updateFeatureset.js +53 -0
- package/api/ml/_api.js +239 -116
- package/api/ml/addAgenticMemory.d.ts +45 -0
- package/api/ml/addAgenticMemory.js +50 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemoryContainer.d.ts +40 -0
- package/api/ml/createMemoryContainer.js +47 -0
- package/api/ml/createMemoryContainerSession.d.ts +41 -0
- package/api/ml/createMemoryContainerSession.js +50 -0
- package/api/ml/createModelMeta.d.ts +1 -0
- package/api/ml/deleteAgenticMemory.d.ts +33 -0
- package/api/ml/deleteAgenticMemory.js +55 -0
- package/api/ml/deleteAgenticMemoryQuery.d.ts +37 -0
- package/api/ml/deleteAgenticMemoryQuery.js +53 -0
- package/api/ml/deleteMemoryContainer.d.ts +33 -0
- package/api/ml/deleteMemoryContainer.js +51 -0
- package/api/ml/executeAgentStream.d.ts +35 -0
- package/api/ml/executeAgentStream.js +50 -0
- package/api/ml/executeAlgorithm.d.ts +2 -2
- package/api/ml/executeAlgorithm.js +1 -1
- package/api/ml/executeTool.d.ts +35 -0
- package/api/ml/executeTool.js +50 -0
- package/api/ml/getAgenticMemory.d.ts +32 -0
- package/api/ml/getAgenticMemory.js +55 -0
- package/api/ml/getMemoryContainer.d.ts +30 -0
- package/api/ml/getMemoryContainer.js +49 -0
- package/api/ml/getStats.d.ts +1 -1
- package/api/ml/getTool.d.ts +1 -1
- package/api/ml/loadModel.d.ts +2 -1
- package/api/ml/predictModel.d.ts +6 -1
- package/api/ml/predictModelStream.d.ts +37 -0
- package/api/ml/predictModelStream.js +50 -0
- package/api/ml/registerModel.d.ts +3 -0
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/registerModelMeta.d.ts +1 -0
- package/api/ml/searchAgenticMemory.d.ts +40 -0
- package/api/ml/searchAgenticMemory.js +53 -0
- package/api/ml/searchAgents.d.ts +4 -2
- package/api/ml/searchConnectors.d.ts +4 -2
- package/api/ml/searchMemory.d.ts +4 -2
- package/api/ml/searchMemoryContainer.d.ts +38 -0
- package/api/ml/searchMemoryContainer.js +47 -0
- package/api/ml/searchMessage.d.ts +4 -2
- package/api/ml/searchModelGroup.d.ts +4 -2
- package/api/ml/searchModels.d.ts +4 -2
- package/api/ml/searchTasks.d.ts +4 -2
- package/api/ml/updateAgenticMemory.d.ts +46 -0
- package/api/ml/updateAgenticMemory.js +56 -0
- package/api/ml/updateConnector.d.ts +2 -2
- package/api/ml/updateMemoryContainer.d.ts +38 -0
- package/api/ml/updateMemoryContainer.js +50 -0
- package/api/neural/_api.js +6 -1
- package/api/neural/stats.d.ts +4 -1
- package/api/neural/stats.js +5 -2
- package/api/nodes/_api.js +16 -7
- package/api/nodes/hotThreads.js +1 -1
- package/api/nodes/info.js +1 -1
- package/api/nodes/reloadSecureSettings.js +1 -1
- package/api/nodes/stats.js +1 -1
- package/api/nodes/usage.js +1 -1
- package/api/notifications/_api.js +31 -18
- package/api/notifications/createConfig.js +1 -1
- package/api/notifications/deleteConfig.js +1 -1
- package/api/notifications/deleteConfigs.js +1 -1
- package/api/notifications/getConfigs.js +1 -1
- package/api/notifications/listChannels.js +1 -1
- package/api/notifications/listFeatures.js +1 -1
- package/api/notifications/sendTest.js +1 -1
- package/api/notifications/updateConfig.js +1 -1
- package/api/observability/_api.js +25 -14
- package/api/ppl/_api.js +14 -6
- package/api/ppl/explain.d.ts +2 -1
- package/api/ppl/explain.js +2 -2
- package/api/ppl/getStats.d.ts +2 -1
- package/api/ppl/getStats.js +2 -2
- package/api/ppl/postStats.d.ts +2 -1
- package/api/ppl/postStats.js +2 -2
- package/api/ppl/query.d.ts +2 -1
- package/api/ppl/query.js +2 -2
- package/api/query/_api.js +19 -10
- package/api/remoteStore/_api.js +6 -1
- package/api/remoteStore/restore.js +1 -1
- package/api/replication/_api.js +32 -17
- package/api/replication/autofollowStats.js +1 -1
- package/api/replication/createReplicationRule.js +1 -1
- package/api/replication/deleteReplicationRule.js +1 -1
- package/api/replication/followerStats.js +1 -1
- package/api/replication/leaderStats.js +1 -1
- package/api/replication/pause.js +1 -1
- package/api/replication/resume.js +1 -1
- package/api/replication/start.js +1 -1
- package/api/replication/status.js +1 -1
- package/api/replication/stop.js +1 -1
- package/api/replication/updateSettings.js +1 -1
- package/api/rollups/_api.js +16 -6
- package/api/rollups/delete.js +1 -1
- package/api/rollups/explain.js +1 -1
- package/api/rollups/get.js +1 -1
- package/api/rollups/put.js +1 -1
- package/api/rollups/start.js +1 -1
- package/api/rollups/stop.js +1 -1
- package/api/searchPipeline/_api.js +10 -3
- package/api/searchPipeline/put.js +1 -1
- package/api/searchRelevance/_api.js +117 -0
- package/api/searchRelevance/deleteExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteExperiments.js +49 -0
- package/api/searchRelevance/deleteJudgments.d.ts +30 -0
- package/api/searchRelevance/deleteJudgments.js +49 -0
- package/api/searchRelevance/deleteQuerySets.d.ts +30 -0
- package/api/searchRelevance/deleteQuerySets.js +49 -0
- package/api/searchRelevance/deleteScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteScheduledExperiments.js +49 -0
- package/api/searchRelevance/deleteSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/deleteSearchConfigurations.js +49 -0
- package/api/searchRelevance/experimentsSearch.d.ts +31 -0
- package/api/searchRelevance/experimentsSearch.js +47 -0
- package/api/searchRelevance/getExperiments.d.ts +30 -0
- package/api/searchRelevance/getExperiments.js +48 -0
- package/api/searchRelevance/getJudgments.d.ts +30 -0
- package/api/searchRelevance/getJudgments.js +48 -0
- package/api/searchRelevance/getNodeStats.d.ts +42 -0
- package/api/searchRelevance/getNodeStats.js +56 -0
- package/api/searchRelevance/getQuerySets.d.ts +30 -0
- package/api/searchRelevance/getQuerySets.js +48 -0
- package/api/searchRelevance/getScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/getScheduledExperiments.js +48 -0
- package/api/searchRelevance/getSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/getSearchConfigurations.js +48 -0
- package/api/searchRelevance/getStats.d.ts +41 -0
- package/api/searchRelevance/getStats.js +53 -0
- package/api/searchRelevance/judgmentsSearch.d.ts +31 -0
- package/api/searchRelevance/judgmentsSearch.js +47 -0
- package/api/searchRelevance/postQuerySets.d.ts +30 -0
- package/api/searchRelevance/postQuerySets.js +47 -0
- package/api/searchRelevance/postScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/postScheduledExperiments.js +47 -0
- package/api/searchRelevance/putExperiments.d.ts +32 -0
- package/api/searchRelevance/putExperiments.js +47 -0
- package/api/searchRelevance/putJudgments.d.ts +32 -0
- package/api/searchRelevance/putJudgments.js +47 -0
- package/api/searchRelevance/putQuerySets.d.ts +30 -0
- package/api/searchRelevance/putQuerySets.js +47 -0
- package/api/searchRelevance/putSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/putSearchConfigurations.js +47 -0
- package/api/searchRelevance/querySetsSearch.d.ts +31 -0
- package/api/searchRelevance/querySetsSearch.js +47 -0
- package/api/searchRelevance/searchConfigurationsSearch.d.ts +31 -0
- package/api/searchRelevance/searchConfigurationsSearch.js +47 -0
- package/api/security/_api.js +227 -147
- package/api/security/changePassword.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createActionGroup.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +1 -1
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getActionGroup.js +1 -1
- package/api/security/getActionGroups.js +1 -1
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getAuditConfiguration.js +1 -1
- package/api/security/getCertificates.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +1 -1
- package/api/security/getRoleMappings.js +1 -1
- package/api/security/getRoles.js +1 -1
- package/api/security/getSslinfo.d.ts +2 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getTenants.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/getUsers.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +3 -1
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +1 -1
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchRoles.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/updateAuditConfiguration.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/securityAnalytics/_api.js +41 -0
- package/api/securityAnalytics/getAlerts.d.ts +42 -0
- package/api/securityAnalytics/getAlerts.js +58 -0
- package/api/securityAnalytics/getFindings.d.ts +43 -0
- package/api/securityAnalytics/getFindings.js +59 -0
- package/api/securityAnalytics/searchFindingCorrelations.d.ts +33 -0
- package/api/securityAnalytics/searchFindingCorrelations.js +52 -0
- package/api/sm/_api.js +28 -16
- package/api/sm/deletePolicy.d.ts +2 -2
- package/api/sm/getPolicies.d.ts +2 -1
- package/api/sm/getPolicies.js +1 -1
- package/api/snapshot/_api.js +31 -16
- package/api/snapshot/cleanupRepository.js +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.js +2 -2
- package/api/snapshot/createRepository.js +2 -2
- package/api/snapshot/delete.js +2 -2
- package/api/snapshot/deleteRepository.js +2 -2
- package/api/snapshot/get.js +3 -3
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +1 -0
- package/api/snapshot/restore.js +2 -2
- package/api/snapshot/status.js +2 -2
- package/api/snapshot/verifyRepository.js +2 -2
- package/api/sql/_api.js +18 -8
- package/api/sql/close.d.ts +1 -1
- package/api/sql/close.js +2 -2
- package/api/sql/explain.d.ts +1 -1
- package/api/sql/explain.js +2 -2
- package/api/sql/getStats.d.ts +2 -1
- package/api/sql/getStats.js +2 -2
- package/api/sql/postStats.d.ts +1 -1
- package/api/sql/postStats.js +2 -2
- package/api/sql/query.d.ts +1 -1
- package/api/sql/query.js +2 -2
- package/api/sql/settings.d.ts +1 -1
- package/api/sql/settings.js +2 -2
- package/api/tasks/_api.js +12 -3
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/delete.d.ts +30 -0
- package/api/tasks/delete.js +49 -0
- package/api/tasks/get.js +1 -1
- package/api/tasks/list.js +1 -1
- package/api/transforms/_api.js +20 -8
- package/api/transforms/delete.d.ts +2 -2
- package/api/transforms/delete.js +1 -1
- package/api/transforms/explain.js +1 -1
- package/api/transforms/get.js +1 -1
- package/api/transforms/preview.js +1 -1
- package/api/transforms/put.js +1 -1
- package/api/transforms/search.js +1 -1
- package/api/transforms/start.js +1 -1
- package/api/transforms/stop.js +1 -1
- package/api/ubi/_api.js +31 -0
- package/api/ubi/initialize.d.ts +27 -0
- package/api/ubi/initialize.js +45 -0
- package/api/wlm/_api.js +16 -8
- package/lib/Connection.d.ts +1 -2
- package/lib/Connection.js +3 -3
- package/lib/Helpers.js +8 -8
- package/lib/ProxyAgent.js +125 -0
- package/lib/Transport.js +48 -3
- package/lib/aws/shared.js +1 -1
- package/package.json +8 -3
package/api/_core/delete.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Removes a document from the index.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/delete-document/ - delete}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -28,12 +28,12 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
28
28
|
* @param {number} [params.if_primary_term] - Only perform the operation if the document has this primary term.
|
|
29
29
|
* @param {number} [params.if_seq_no] - Only perform the operation if the document has this sequence number.
|
|
30
30
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes. Valid values: `true`, `false`, `wait_for`.
|
|
31
|
-
* @param {string} [params.routing] -
|
|
31
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
32
32
|
* @param {string} [params.timeout] - Period to wait for active shards.
|
|
33
33
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
34
|
-
* @param {string} [params.version_type] -
|
|
34
|
+
* @param {string} [params.version_type] - The specific version type: `external`, `external_gte`.
|
|
35
35
|
* @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to `all` or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
|
|
36
|
-
* @param {string} params.id -
|
|
36
|
+
* @param {string} params.id - The unique identifier for the document.
|
|
37
37
|
* @param {string} params.index - Name of the target index.
|
|
38
38
|
*
|
|
39
39
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Deletes all active point in time searches.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/search-apis/point-in-time-api/#delete-pits - delete_all_pits}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Deletes documents matching the provided query.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/delete-by-query/ - delete_by_query}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -44,7 +44,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
44
44
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
|
|
45
45
|
* @param {boolean} [params.request_cache] - If `true`, the request cache is used for this request. Defaults to the index-level setting.
|
|
46
46
|
* @param {number} [params.requests_per_second=0] - The throttle for this request in sub-requests per second.
|
|
47
|
-
* @param {string} [params.routing] -
|
|
47
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
48
48
|
* @param {string} [params.scroll] - Period to retain the search context for scrolling.
|
|
49
49
|
* @param {number} [params.scroll_size=100] - Size of the scroll request that powers the operation.
|
|
50
50
|
* @param {string} [params.search_timeout] - Explicit timeout for each search request. Defaults to no timeout.
|
|
@@ -58,7 +58,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
58
58
|
* @param {boolean} [params.version] - If `true`, returns the document version as part of a hit.
|
|
59
59
|
* @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
|
|
60
60
|
* @param {boolean} [params.wait_for_completion=true] - If `true`, the request blocks until the operation is complete.
|
|
61
|
-
* @param {string} params.index -
|
|
61
|
+
* @param {string} params.index - A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams or indexes, omit this parameter or use `*` or `_all`.
|
|
62
62
|
* @param {object} params.body - The search definition using the Query DSL
|
|
63
63
|
*
|
|
64
64
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Changes the number of requests per second for a particular Delete By Query operation.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - delete_by_query_rethrottle}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/deletePit.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Deletes one or more point in time searches based on the IDs passed.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/search-apis/point-in-time-api/#delete-pits - delete_pit}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Deletes a script.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/delete-script/ - delete_script}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/exists.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns information about whether a document exists in an index.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/ - exists}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,14 +29,14 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude in the response.
|
|
30
30
|
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response.
|
|
31
31
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
32
|
-
* @param {boolean} [params.realtime] - If `true`, the request is real
|
|
32
|
+
* @param {boolean} [params.realtime] - If `true`, the request is real time as opposed to near real time.
|
|
33
33
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
|
|
34
34
|
* @param {string} [params.routing] - Target the specified primary shard.
|
|
35
35
|
* @param {string} [params.stored_fields] - List of stored fields to return as part of a hit. If no fields are specified, no stored fields are included in the response. If this field is specified, the `_source` parameter defaults to false.
|
|
36
36
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
37
|
-
* @param {string} [params.version_type] -
|
|
37
|
+
* @param {string} [params.version_type] - The specific version type: `external`, `external_gte`.
|
|
38
38
|
* @param {string} params.id - Identifier of the document.
|
|
39
|
-
* @param {string} params.index -
|
|
39
|
+
* @param {string} params.index - A comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
|
|
40
40
|
*
|
|
41
41
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
42
42
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns information about whether a document source exists in an index.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/ - exists_source}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,13 +29,13 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude in the response.
|
|
30
30
|
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response.
|
|
31
31
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
32
|
-
* @param {boolean} [params.realtime] - If `true`, the request is real
|
|
32
|
+
* @param {boolean} [params.realtime] - If `true`, the request is real time as opposed to near real time.
|
|
33
33
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes all shards involved in the delete by query after the request completes.
|
|
34
34
|
* @param {string} [params.routing] - Target the specified primary shard.
|
|
35
35
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
36
|
-
* @param {string} [params.version_type] -
|
|
36
|
+
* @param {string} [params.version_type] - The specific version type: `external`, `external_gte`.
|
|
37
37
|
* @param {string} params.id - Identifier of the document.
|
|
38
|
-
* @param {string} params.index -
|
|
38
|
+
* @param {string} params.index - A comma-separated list of data streams, indexes, and aliases. Supports wildcards (`*`).
|
|
39
39
|
*
|
|
40
40
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
41
41
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/_core/explain.d.ts
CHANGED
package/api/_core/explain.js
CHANGED
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns information about why a specific matches (or doesn't match) a query.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
22
|
+
* Returns information about why a specific document matches (or doesn't match) a query.
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/explain/ - explain}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -35,7 +35,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
35
35
|
* @param {boolean} [params.lenient] - If `true`, format-based query failures (such as providing text to a numeric field) in the query string will be ignored.
|
|
36
36
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
37
37
|
* @param {string} [params.q] - Query in the Lucene query string syntax.
|
|
38
|
-
* @param {string} [params.routing] -
|
|
38
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
39
39
|
* @param {string} [params.stored_fields] - A comma-separated list of stored fields to return in the response.
|
|
40
40
|
* @param {string} params.id - Defines the document ID.
|
|
41
41
|
* @param {string} params.index - Index names used to limit the request. Only a single index name can be provided to this parameter.
|
package/api/_core/fieldCaps.js
CHANGED
|
@@ -20,17 +20,17 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns the information about the capabilities of fields among multiple indexes.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/mappings/supported-field-types/alias/#using-aliases-in-field-capabilities-api-operations - field_caps}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {boolean} [params.allow_no_indices] - If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indexes. This behavior applies even if the request targets other open indexes. For example, a request targeting `foo*,bar*` returns an error if an index starts with foo but no index starts with bar.
|
|
29
|
-
* @param {string} [params.expand_wildcards] -
|
|
30
|
-
* @param {string} [params.fields] -
|
|
29
|
+
* @param {string} [params.expand_wildcards] - The type of index that wildcard patterns can match. If the request can target data streams, this argument determines whether wildcard expressions match hidden data streams. Supports comma-separated values, such as `open,hidden`.
|
|
30
|
+
* @param {string} [params.fields] - A comma-separated list of fields to retrieve capabilities for. Wildcard (`*`) expressions are supported.
|
|
31
31
|
* @param {boolean} [params.ignore_unavailable] - If `true`, missing or closed indexes are not included in the response.
|
|
32
32
|
* @param {boolean} [params.include_unmapped=false] - If `true`, unmapped fields are included in the response.
|
|
33
|
-
* @param {string} [params.index] -
|
|
33
|
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases used to limit the request. Supports wildcards (*). To target all data streams and indexes, omit this parameter or use * or `_all`.
|
|
34
34
|
* @param {object} [params.body] - An index filter specified with the Query DSL
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/_core/get.d.ts
CHANGED
package/api/_core/get.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns a document.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/ - get}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,14 +29,14 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude in the response.
|
|
30
30
|
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response.
|
|
31
31
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
32
|
-
* @param {boolean} [params.realtime] - If `true`, the request is real
|
|
32
|
+
* @param {boolean} [params.realtime] - If `true`, the request is real time as opposed to near real time.
|
|
33
33
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
|
|
34
34
|
* @param {string} [params.routing] - Target the specified primary shard.
|
|
35
35
|
* @param {string} [params.stored_fields] - List of stored fields to return as part of a hit. If no fields are specified, no stored fields are included in the response. If this field is specified, the `_source` parameter defaults to false.
|
|
36
36
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
37
|
-
* @param {string} [params.version_type] -
|
|
38
|
-
* @param {string} params.id -
|
|
39
|
-
* @param {string} params.index -
|
|
37
|
+
* @param {string} [params.version_type] - The specific version type: `internal`, `external`, `external_gte`.
|
|
38
|
+
* @param {string} params.id - The unique identifier of the document.
|
|
39
|
+
* @param {string} params.index - The name of the index containing the document.
|
|
40
40
|
*
|
|
41
41
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
42
42
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/_core/getAllPits.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Lists all active point in time searches.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/search-apis/point-in-time-api/#list-all-pits - get_all_pits}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/getScript.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns a script.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/get-stored-script/ - get_script}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns all script contexts.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/get-script-contexts/ - get_script_context}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns available script types, languages and contexts.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/get-script-language/ - get_script_languages}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/getSource.d.ts
CHANGED
package/api/_core/getSource.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns the source of a document.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/get-documents/ - get_source}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,13 +29,13 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude in the response.
|
|
30
30
|
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response.
|
|
31
31
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
32
|
-
* @param {boolean} [params.realtime] - Boolean) If `true`, the request is real
|
|
32
|
+
* @param {boolean} [params.realtime] - Boolean) If `true`, the request is real time as opposed to near real time.
|
|
33
33
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes the affected shards to make this operation visible to search. If `false`, do nothing with refreshes.
|
|
34
34
|
* @param {string} [params.routing] - Target the specified primary shard.
|
|
35
35
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
36
|
-
* @param {string} [params.version_type] -
|
|
37
|
-
* @param {string} params.id -
|
|
38
|
-
* @param {string} params.index -
|
|
36
|
+
* @param {string} [params.version_type] - The specific version type. One of `internal`, `external`, `external_gte`.
|
|
37
|
+
* @param {string} params.id - The unique identifier of the document.
|
|
38
|
+
* @param {string} params.index - The name of the index containing the document.
|
|
39
39
|
*
|
|
40
40
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
41
41
|
* @param {function} [callback] - Callback that handles errors and response
|
package/api/_core/index.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Creates or updates a document in an index.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/index-document/ - index}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -31,13 +31,13 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
31
31
|
* @param {string} [params.pipeline] - ID of the pipeline to use to preprocess incoming documents. If the index has a default ingest pipeline specified, then setting the value to `_none` disables the default ingest pipeline for this request. If a final pipeline is configured it will always run, regardless of the value of this parameter.
|
|
32
32
|
* @param {string} [params.refresh] - If `true`, OpenSearch refreshes the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` do nothing with refreshes. Valid values: `true`, `false`, `wait_for`.
|
|
33
33
|
* @param {boolean} [params.require_alias=false] - If `true`, the destination must be an index alias.
|
|
34
|
-
* @param {string} [params.routing] -
|
|
34
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
35
35
|
* @param {string} [params.timeout] - Period the request waits for the following operations: automatic index creation, dynamic mapping updates, waiting for active shards.
|
|
36
36
|
* @param {number} [params.version] - Explicit version number for concurrency control. The specified version must match the current version of the document for the request to succeed.
|
|
37
|
-
* @param {string} [params.version_type] -
|
|
37
|
+
* @param {string} [params.version_type] - The specific version type: `external`, `external_gte`.
|
|
38
38
|
* @param {string} [params.wait_for_active_shards] - The number of shard copies that must be active before proceeding with the operation. Set to all or any positive integer up to the total number of shards in the index (`number_of_replicas+1`).
|
|
39
39
|
* @param {string} params.index - Name of the data stream or index to target.
|
|
40
|
-
* @param {string} [params.id] -
|
|
40
|
+
* @param {string} [params.id] - The unique identifier for the document.
|
|
41
41
|
* @param {object} params.body - The document
|
|
42
42
|
*
|
|
43
43
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/_core/info.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns basic information about the cluster.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - info}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/mget.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to get multiple documents in one request.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/document-apis/multi-get/ - mget}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,11 +29,11 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude from the response. You can also use this parameter to exclude fields from the subset specified in `_source_includes` query parameter.
|
|
30
30
|
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the response. If this parameter is specified, only these source fields are returned. You can exclude fields from this subset using the `_source_excludes` query parameter. If the `_source` parameter is `false`, this parameter is ignored.
|
|
31
31
|
* @param {string} [params.preference=random] - Specifies the node or shard the operation should be performed on. Random by default.
|
|
32
|
-
* @param {boolean} [params.realtime] - If `true`, the request is real
|
|
32
|
+
* @param {boolean} [params.realtime] - If `true`, the request is real time as opposed to near real time.
|
|
33
33
|
* @param {string} [params.refresh] - If `true`, the request refreshes relevant shards before retrieving documents.
|
|
34
|
-
* @param {string} [params.routing] -
|
|
34
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
35
35
|
* @param {string} [params.stored_fields] - If `true`, retrieves the document fields stored in the index rather than the document `_source`.
|
|
36
|
-
* @param {string} [params.index] -
|
|
36
|
+
* @param {string} [params.index] - The name of the index to retrieve documents from when `ids` are specified, or when a document in the `docs` array does not specify an index.
|
|
37
37
|
* @param {object} params.body - Document identifiers; can be either `docs` (containing full document information) or `ids` (when index is provided in the URL.
|
|
38
38
|
*
|
|
39
39
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/_core/msearch.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ import * as Core_Msearch from '../_types/_core.msearch'
|
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
22
22
|
export interface Msearch_Request extends Global.Params {
|
|
23
|
+
allow_partial_results?: boolean;
|
|
23
24
|
body: Msearch_RequestBody;
|
|
24
25
|
ccs_minimize_roundtrips?: boolean;
|
|
25
26
|
index?: Common.Indices;
|
package/api/_core/msearch.js
CHANGED
|
@@ -20,11 +20,12 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to execute several search operations in one request.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/multi-search/ - msearch}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
+
* @param {boolean} [params.allow_partial_results=true] - Specifies whether to return partial results if there are shard request timeouts or shard failures
|
|
28
29
|
* @param {boolean} [params.ccs_minimize_roundtrips=true] - If `true`, network round-trips between the coordinating node and remote clusters are minimized for cross-cluster search requests.
|
|
29
30
|
* @param {number} [params.max_concurrent_searches] - Maximum number of concurrent searches the multi search API can execute.
|
|
30
31
|
* @param {number} [params.max_concurrent_shard_requests=5] - Maximum number of concurrent shard requests that each sub-search request executes per node.
|
|
@@ -32,7 +33,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
32
33
|
* @param {boolean} [params.rest_total_hits_as_int=false] - If `true`, `hits.total` are returned as an integer in the response. Defaults to false, which returns an object.
|
|
33
34
|
* @param {string} [params.search_type] - Indicates whether global term and document frequencies should be used when scoring returned documents.
|
|
34
35
|
* @param {boolean} [params.typed_keys] - Specifies whether aggregation and suggester names should be prefixed by their respective types in the response.
|
|
35
|
-
* @param {string} [params.index] -
|
|
36
|
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and index aliases to search.
|
|
36
37
|
* @param {array} params.body - The request definitions (metadata-search request definition pairs), separated by newlines
|
|
37
38
|
*
|
|
38
39
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to execute several search template operations in one request.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/search-plugins/search-template/ - msearch_template}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -30,7 +30,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
30
30
|
* @param {boolean} [params.rest_total_hits_as_int=false] - If `true`, the response returns `hits.total` as an integer. If `false`, it returns `hits.total` as an object.
|
|
31
31
|
* @param {string} [params.search_type] - The type of the search operation. Available options: `query_then_fetch`, `dfs_query_then_fetch`.
|
|
32
32
|
* @param {boolean} [params.typed_keys] - If `true`, the response prefixes aggregation and suggester names with their respective types.
|
|
33
|
-
* @param {string} [params.index] -
|
|
33
|
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and aliases to search. Supports wildcards (`*`). To search all data streams and indexes, omit this parameter or use `*`.
|
|
34
34
|
* @param {array} params.body - The request definitions (metadata-search request definition pairs), separated by newlines
|
|
35
35
|
*
|
|
36
36
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,25 +19,25 @@
|
|
|
19
19
|
const { normalizeArguments, parsePathParam } = require('../utils');
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Returns multiple
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
22
|
+
* Returns multiple term vectors in one request.
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - mtermvectors}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
28
|
* @param {boolean} [params.field_statistics=true] - If `true`, the response includes the document count, sum of document frequencies, and sum of total term frequencies.
|
|
29
|
-
* @param {string} [params.fields] -
|
|
30
|
-
* @param {array} [params.ids] - A comma-separated list of documents
|
|
29
|
+
* @param {string} [params.fields] - A comma-separated list or a wildcard expression specifying the fields to include in the statistics. Used as the default list unless a specific field list is provided in the `completion_fields` or `fielddata_fields` parameters.
|
|
30
|
+
* @param {array} [params.ids] - A comma-separated list of documents IDs. You must provide either the `docs` field in the request body or specify `ids` as a query parameter or in the request body.
|
|
31
31
|
* @param {boolean} [params.offsets=true] - If `true`, the response includes term offsets.
|
|
32
32
|
* @param {boolean} [params.payloads=true] - If `true`, the response includes term payloads.
|
|
33
33
|
* @param {boolean} [params.positions=true] - If `true`, the response includes term positions.
|
|
34
|
-
* @param {string} [params.preference
|
|
35
|
-
* @param {boolean} [params.realtime=true] - If `true`, the request is real
|
|
36
|
-
* @param {string} [params.routing] -
|
|
34
|
+
* @param {string} [params.preference] - Specifies the node or shard on which the operation should be performed. See [preference query parameter]({{site.url}}{{site.baseurl}}/api-reference/search-apis/search/#the-preference-query-parameter) for a list of available options. By default the requests are routed randomly to available shard copies (primary or replica), with no guarantee of consistency across repeated queries.
|
|
35
|
+
* @param {boolean} [params.realtime=true] - If `true`, the request is real time as opposed to near real time.
|
|
36
|
+
* @param {string} [params.routing] - A custom value used to route operations to a specific shard.
|
|
37
37
|
* @param {boolean} [params.term_statistics=false] - If `true`, the response includes term frequency and document frequency.
|
|
38
38
|
* @param {number} [params.version] - If `true`, returns the document version as part of a hit.
|
|
39
|
-
* @param {string} [params.version_type] -
|
|
40
|
-
* @param {string} [params.index] -
|
|
39
|
+
* @param {string} [params.version_type] - The specific version type.
|
|
40
|
+
* @param {string} [params.index] - The name of the index that contains the document.
|
|
41
41
|
* @param {object} [params.body] - Define ids, documents, parameters or a list of parameters per document here. You must at least provide a list of document ids. See documentation.
|
|
42
42
|
*
|
|
43
43
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/_core/ping.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Returns whether the cluster is running.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - ping}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/putScript.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Creates or updates a script.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/create-stored-script/ - put_script}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/rankEval.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to evaluate the quality of ranked search results over a set of typical search queries.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/rank-eval/ - rank_eval}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -29,7 +29,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
29
29
|
* @param {string} [params.expand_wildcards] - Whether to expand wildcard expression to concrete indexes that are open, closed or both.
|
|
30
30
|
* @param {boolean} [params.ignore_unavailable] - If `true`, missing or closed indexes are not included in the response.
|
|
31
31
|
* @param {string} [params.search_type] - Search operation type
|
|
32
|
-
* @param {string} [params.index] -
|
|
32
|
+
* @param {string} [params.index] - A comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard (`*`) expressions are supported. To target all data streams and indexes in a cluster, omit this parameter or use `_all` or `*`.
|
|
33
33
|
* @param {object} params.body - The ranking evaluation search definition, including search requests, document ratings and ranking metric definition.
|
|
34
34
|
*
|
|
35
35
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
package/api/_core/reindex.js
CHANGED
|
@@ -22,7 +22,7 @@ const { normalizeArguments, handleMissingParam } = require('../utils');
|
|
|
22
22
|
* Allows to copy documents from one index to another, optionally filtering the source
|
|
23
23
|
documents by a query, changing the destination index settings, or fetching the
|
|
24
24
|
documents from a remote cluster.
|
|
25
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
25
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/im-plugin/reindex-data/ - reindex}
|
|
26
26
|
*
|
|
27
27
|
* @memberOf API-Core
|
|
28
28
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Changes the number of requests per second for a particular reindex operation.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/ - reindex_rethrottle}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to use the Mustache language to pre-render a search definition.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/search-plugins/search-template/ - render_search_template}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
|
@@ -20,7 +20,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows an arbitrary script to be executed and a result to be returned.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/script-apis/exec-script/ - scripts_painless_execute}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|
package/api/_core/scroll.d.ts
CHANGED
package/api/_core/scroll.js
CHANGED
|
@@ -20,7 +20,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Allows to retrieve a large numbers of results from a single search request.
|
|
23
|
-
* <br/> See Also: {@link https://opensearch.org/
|
|
23
|
+
* <br/> See Also: {@link https://docs.opensearch.org/latest/api-reference/search-apis/scroll/#endpoints - scroll}
|
|
24
24
|
*
|
|
25
25
|
* @memberOf API-Core
|
|
26
26
|
*
|