@elastic/elasticsearch 8.16.4 → 8.17.1
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/catalog-info.yaml +4 -1
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/bulk.js +1 -1
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.js +1 -1
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.d.ts +52 -52
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +26 -26
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/clear_scroll.js +1 -1
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/close_point_in_time.js +1 -1
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +19 -19
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +50 -50
- package/lib/api/api/connector.js +69 -13
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +2 -2
- package/lib/api/api/count.js +1 -1
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/create.js +1 -1
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete.js +1 -1
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query.js +1 -1
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/delete_script.js +1 -1
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +18 -11
- package/lib/api/api/esql.js +42 -5
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists.js +1 -1
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/exists_source.js +1 -1
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/explain.js +1 -1
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +4 -4
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/field_caps.js +1 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +2 -2
- package/lib/api/api/get.js +1 -1
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script.js +1 -1
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_context.js +1 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_script_languages.js +1 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +2 -2
- package/lib/api/api/get_source.js +1 -1
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/health_report.js +1 -1
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/index.js +1 -1
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +105 -98
- package/lib/api/api/indices.js +21 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +17 -10
- package/lib/api/api/inference.js +56 -3
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +2 -2
- package/lib/api/api/info.js +1 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +16 -16
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +2 -2
- package/lib/api/api/knn_search.js +1 -1
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +14 -14
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +6 -6
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +2 -2
- package/lib/api/api/mget.js +1 -1
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +6 -6
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +79 -79
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +2 -2
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch.js +1 -1
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/msearch_template.js +1 -1
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +2 -2
- package/lib/api/api/mtermvectors.js +1 -1
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/open_point_in_time.js +1 -1
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/ping.js +1 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/put_script.js +1 -1
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +12 -12
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/rank_eval.js +1 -1
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +2 -2
- package/lib/api/api/reindex.js +1 -1
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/reindex_rethrottle.js +1 -1
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/render_search_template.js +3 -3
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +16 -16
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scripts_painless_execute.js +1 -1
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/scroll.js +1 -1
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search.js +1 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +19 -19
- package/lib/api/api/search_application.js +27 -6
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +2 -2
- package/lib/api/api/search_mvt.js +1 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +2 -2
- package/lib/api/api/search_shards.js +1 -1
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/search_template.js +1 -1
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +8 -8
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +135 -128
- package/lib/api/api/security.js +121 -14
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.d.ts +6 -6
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +5 -5
- package/lib/api/api/simulate.js +17 -3
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +18 -18
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +29 -29
- package/lib/api/api/snapshot.js +4 -4
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +9 -9
- package/lib/api/api/sql.js +1 -1
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +10 -10
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +6 -6
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +2 -2
- package/lib/api/api/terms_enum.js +1 -1
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +2 -2
- package/lib/api/api/termvectors.js +1 -1
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +14 -14
- package/lib/api/api/text_structure.js +18 -4
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +13 -13
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +2 -2
- package/lib/api/api/update.js +1 -1
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query.js +1 -1
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +1 -1
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +32 -32
- package/lib/api/api/watcher.js +19 -3
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +4 -4
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.js +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +598 -89
- package/lib/api/typesWithBodyKey.d.ts +649 -89
- package/lib/client.d.ts +82 -2
- package/lib/client.js +8 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +0 -3
- package/lib/helpers.js +7 -6
- package/lib/helpers.js.map +1 -1
- package/package.json +33 -33
- package/.worktrees/new-docs/.dockerignore +0 -8
- package/.worktrees/new-docs/CHANGELOG.md +0 -3
- package/.worktrees/new-docs/LICENSE +0 -202
- package/.worktrees/new-docs/NOTICE.txt +0 -2
- package/.worktrees/new-docs/README.md +0 -173
- package/.worktrees/new-docs/api-extractor.json +0 -39
- package/.worktrees/new-docs/catalog-info.yaml +0 -50
- package/.worktrees/new-docs/codecov.yml +0 -14
- package/.worktrees/new-docs/index.d.ts +0 -27
- package/.worktrees/new-docs/index.js +0 -55
- package/.worktrees/new-docs/package.json +0 -105
- package/.worktrees/new-docs/renovate.json +0 -29
- package/.worktrees/new-docs/tsconfig.json +0 -38
package/lib/api/api/nodes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.js","sourceRoot":"","sources":["../../../../src/api/api/nodes.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,KAAK;IAEx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TC"}
|
|
@@ -5,8 +5,8 @@ interface That {
|
|
|
5
5
|
transport: Transport;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Open a point in time. A search request by default runs against the most recent visible data of the target indices, which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple search requests using the same point in time. For example, if refreshes happen between `search_after` requests, then the results of those requests might not be consistent as changes happening between searches are only visible to the more recent point in time. A point in time must be opened explicitly before being used in search requests. The `keep_alive` parameter
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
8
|
+
* Open a point in time. A search request by default runs against the most recent visible data of the target indices, which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple search requests using the same point in time. For example, if refreshes happen between `search_after` requests, then the results of those requests might not be consistent as changes happening between searches are only visible to the more recent point in time. A point in time must be opened explicitly before being used in search requests. A subsequent search request with the `pit` parameter must not specify `index`, `routing`, or `preference` values as these parameters are copied from the point in time. Just like regular searches, you can use `from` and `size` to page through point in time search results, up to the first 10,000 hits. If you want to retrieve more hits, use PIT with `search_after`. IMPORTANT: The open point in time request and each subsequent search request can return different identifiers; always use the most recently received ID for the next search request. When a PIT that contains shard failures is used in a search request, the missing are always reported in the search response as a `NoShardAvailableActionException` exception. To get rid of these exceptions, a new PIT needs to be created so that shards missing from the previous PIT can be handled, assuming they become available in the meantime. **Keeping point in time alive** The `keep_alive` parameter, which is passed to a open point in time request and search request, extends the time to live of the corresponding point in time. The value does not need to be long enough to process all data — it just needs to be long enough for the next request. Normally, the background merge process optimizes the index by merging together smaller segments to create new, bigger segments. Once the smaller segments are no longer needed they are deleted. However, open point-in-times prevent the old segments from being deleted since they are still in use. TIP: Keeping older segments alive means that more disk space and file handles are needed. Ensure that you have configured your nodes to have ample free file handles. Additionally, if a segment contains deleted or updated documents then the point in time must keep track of whether each document in the segment was live at the time of the initial search request. Ensure that your nodes have sufficient heap space if you have many open point-in-times on an index that is subject to ongoing deletes or updates. Note that a point-in-time doesn't prevent its associated indices from being deleted. You can check how many point-in-times (that is, search contexts) are open with the nodes stats API.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/point-in-time-api.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function OpenPointInTimeApi(this: That, params: T.OpenPointInTimeRequest | TB.OpenPointInTimeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.OpenPointInTimeResponse>;
|
|
12
12
|
export default function OpenPointInTimeApi(this: That, params: T.OpenPointInTimeRequest | TB.OpenPointInTimeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.OpenPointInTimeResponse, unknown>>;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = OpenPointInTimeApi;
|
|
21
22
|
async function OpenPointInTimeApi(params, options) {
|
|
22
23
|
const acceptedPath = ['index'];
|
|
23
24
|
const acceptedBody = ['index_filter'];
|
|
@@ -55,5 +56,4 @@ async function OpenPointInTimeApi(params, options) {
|
|
|
55
56
|
};
|
|
56
57
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
57
58
|
}
|
|
58
|
-
exports.default = OpenPointInTimeApi;
|
|
59
59
|
//# sourceMappingURL=open_point_in_time.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open_point_in_time.js","sourceRoot":"","sources":["../../../../src/api/api/open_point_in_time.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"open_point_in_time.js","sourceRoot":"","sources":["../../../../src/api/api/open_point_in_time.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,qCAmCC;AAnCc,KAAK,UAAU,kBAAkB,CAAc,MAA4D,EA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K;SACpB;KACF,CAAA;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
package/lib/api/api/ping.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Ping the cluster. Get information about whether the cluster is running.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/index.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function PingApi(this: That, params?: T.PingRequest | TB.PingRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.PingResponse>;
|
|
12
12
|
export default function PingApi(this: That, params?: T.PingRequest | TB.PingRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.PingResponse, unknown>>;
|
package/lib/api/api/ping.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = PingApi;
|
|
21
22
|
async function PingApi(params, options) {
|
|
22
23
|
const acceptedPath = [];
|
|
23
24
|
const querystring = {};
|
|
@@ -39,5 +40,4 @@ async function PingApi(params, options) {
|
|
|
39
40
|
};
|
|
40
41
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
41
42
|
}
|
|
42
|
-
exports.default = PingApi;
|
|
43
43
|
//# sourceMappingURL=ping.js.map
|
package/lib/api/api/ping.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.js","sourceRoot":"","sources":["../../../../src/api/api/ping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"ping.js","sourceRoot":"","sources":["../../../../src/api/api/ping.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,0BAqBC;AArBc,KAAK,UAAU,OAAO,CAAc,MAAuC,EAAE,OAAiC;IAC3H,MAAM,YAAY,GAAa,EAAE,CAAA;IACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/B,SAAQ;QACV,CAAC;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;YAC1B,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QAChC,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,GAAG,CAAA;IAChB,MAAM,IAAI,GAA6B;QACrC,IAAI,EAAE,MAAM;KACb,CAAA;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
|
@@ -9,28 +9,28 @@ export default class Profiling {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Extracts a UI-optimized structure to render flamegraphs from Universal Profiling.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/observability/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/observability/8.17/universal-profiling.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
flamegraph(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
15
15
|
flamegraph(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
16
16
|
flamegraph(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
17
17
|
/**
|
|
18
18
|
* Extracts raw stacktrace information from Universal Profiling.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/observability/8.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/observability/8.17/universal-profiling.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
stacktraces(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
22
22
|
stacktraces(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
23
23
|
stacktraces(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
24
24
|
/**
|
|
25
25
|
* Returns basic information about the status of Universal Profiling.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/observability/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/observability/8.17/universal-profiling.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
status(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
29
29
|
status(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
30
30
|
status(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
31
31
|
/**
|
|
32
32
|
* Extracts a list of topN functions from Universal Profiling.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/observability/8.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/observability/8.17/universal-profiling.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
topnFunctions(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
36
36
|
topnFunctions(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profiling.js","sourceRoot":"","sources":["../../../../src/api/api/profiling.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,SAAS;IAE5B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,UAAU,CAAc,MAAyB,EAAE,OAAiC;QACxF,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"profiling.js","sourceRoot":"","sources":["../../../../src/api/api/profiling.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,SAAS;IAE5B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,UAAU,CAAc,MAAyB,EAAE,OAAiC;QACxF,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;YACzB,IAAI,YAAY,CAAC,QA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AM,EAAE,CAAC;gBAC1B,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;YAChC,CAAC;QACH,CAAC;QAED,MAAM,MAAM,GAAG,MAAM,CAAA;QACrB,MAAM,IAAI,GAAG,4BAA4B,CAAA;QACzC,MAAM,IAAI,GAA6B;YACrC,IAAI,EAAE,0BAA0B;SACjC,CAAA;QACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACF;AAzHD,4BAyHC"}
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Create or update a script or search template. Creates or updates a stored script or search template.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/create-stored-script-api.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function PutScriptApi(this: That, params: T.PutScriptRequest | TB.PutScriptRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.PutScriptResponse>;
|
|
12
12
|
export default function PutScriptApi(this: That, params: T.PutScriptRequest | TB.PutScriptRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.PutScriptResponse, unknown>>;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = PutScriptApi;
|
|
21
22
|
async function PutScriptApi(params, options) {
|
|
22
23
|
const acceptedPath = ['id', 'context'];
|
|
23
24
|
const acceptedBody = ['script'];
|
|
@@ -64,5 +65,4 @@ async function PutScriptApi(params, options) {
|
|
|
64
65
|
};
|
|
65
66
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
66
67
|
}
|
|
67
|
-
exports.default = PutScriptApi;
|
|
68
68
|
//# sourceMappingURL=put_script.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"put_script.js","sourceRoot":"","sources":["../../../../src/api/api/put_script.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"put_script.js","sourceRoot":"","sources":["../../../../src/api/api/put_script.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,+BA2CC;AA3Cc,KAAK,UAAU,YAAY,CAAc,MAAgD,EAAE,OAAiC;IACzI,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;IAChD,MAAM,YAAY,GAAa,CAAC,QAAQ,CAAC,CAAA;IACzC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,IAAI,GAAG,QAAQ,CAAA;IACjB,CAAC;SAAM,CAAC;QACN,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;IACvD,CAAC;IAED,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QACzB,CAAC;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACtC,SAAQ;QACV,CAAC;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;YAC1B,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QAChC,CAAC;IACH,CAAC;IAED,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,MAAM,CAAC,EAAE,IAAI,IAAI,IAAI,MAAM,CAAC,OAAO,IAAI,IAAI,EAAE,CAAC;QAChD,MAAM,GAAG,KAAK,CAAA;QACd,IAAI,GAAG,aAAa,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,IAAI,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IACjH,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,KAAK,CAAA;QACd,IAAI,GAAG,aAAa,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAChE,CAAC;IACD,MAAM,IAAI,GAA6B;QACrC,IAAI,EAAE,YAAY;QAClB,SAAS,EAAE;YACT,EAAE,EAAE,MAAM,CAAC,EAAE;YACb,OAAO,EAAE,MAAM,CAAC,OAAO;SACxB;KACF,CAAA;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
|
@@ -8,57 +8,57 @@ export default class QueryRules {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
* Delete a query rule. Delete a query rule within a query ruleset.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
11
|
+
* Delete a query rule. Delete a query rule within a query ruleset. This is a destructive action that is only recoverable by re-adding the same rule with the create or update query rule API.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-query-rule.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesDeleteRuleResponse>;
|
|
15
15
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesDeleteRuleResponse, unknown>>;
|
|
16
16
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesDeleteRuleResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Delete a query ruleset.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
18
|
+
* Delete a query ruleset. Remove a query ruleset and its associated data. This is a destructive action that is not recoverable.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/delete-query-ruleset.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesDeleteRulesetResponse>;
|
|
22
22
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesDeleteRulesetResponse, unknown>>;
|
|
23
23
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesDeleteRulesetResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Get a query rule. Get details about a query rule within a query ruleset.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-query-rule.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesGetRuleResponse>;
|
|
29
29
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesGetRuleResponse, unknown>>;
|
|
30
30
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesGetRuleResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Get a query ruleset. Get details about a query ruleset.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/get-query-ruleset.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesGetRulesetResponse>;
|
|
36
36
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesGetRulesetResponse, unknown>>;
|
|
37
37
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesGetRulesetResponse>;
|
|
38
38
|
/**
|
|
39
39
|
* Get all query rulesets. Get summarized information about the query rulesets.
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
40
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/list-query-rulesets.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesListRulesetsResponse>;
|
|
43
43
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesListRulesetsResponse, unknown>>;
|
|
44
44
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptions): Promise<T.QueryRulesListRulesetsResponse>;
|
|
45
45
|
/**
|
|
46
|
-
* Create or update a query rule. Create or update a query rule within a query ruleset.
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
46
|
+
* Create or update a query rule. Create or update a query rule within a query ruleset. IMPORTANT: Due to limitations within pinned queries, you can only pin documents using ids or docs, but cannot use both in single rule. It is advised to use one or the other in query rulesets, to avoid errors. Additionally, pinned queries have a maximum limit of 100 pinned hits. If multiple matching rules pin more than 100 documents, only the first 100 documents are pinned in the order they are specified in the ruleset.
|
|
47
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-query-rule.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesPutRuleResponse>;
|
|
50
50
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesPutRuleResponse, unknown>>;
|
|
51
51
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesPutRuleResponse>;
|
|
52
52
|
/**
|
|
53
|
-
* Create or update a query ruleset.
|
|
54
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
53
|
+
* Create or update a query ruleset. There is a limit of 100 rules per ruleset. This limit can be increased by using the `xpack.applications.rules.max_rules_per_ruleset` cluster setting. IMPORTANT: Due to limitations within pinned queries, you can only select documents using `ids` or `docs`, but cannot use both in single rule. It is advised to use one or the other in query rulesets, to avoid errors. Additionally, pinned queries have a maximum limit of 100 pinned hits. If multiple matching rules pin more than 100 documents, only the first 100 documents are pinned in the order they are specified in the ruleset.
|
|
54
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/put-query-ruleset.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesPutRulesetResponse>;
|
|
57
57
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesPutRulesetResponse, unknown>>;
|
|
58
58
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesPutRulesetResponse>;
|
|
59
59
|
/**
|
|
60
60
|
* Test a query ruleset. Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.
|
|
61
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
61
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/test-query-ruleset.html | Elasticsearch API documentation}
|
|
62
62
|
*/
|
|
63
63
|
test(this: That, params: T.QueryRulesTestRequest | TB.QueryRulesTestRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesTestResponse>;
|
|
64
64
|
test(this: That, params: T.QueryRulesTestRequest | TB.QueryRulesTestRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesTestResponse, unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query_rules.js","sourceRoot":"","sources":["../../../../src/api/api/query_rules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,UAAU;IAE7B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,UAAU,CAAc,MAAsE,EAAE,OAAiC;QACrI,MAAM,YAAY,GAAa,CAAC,YAAY,EAAE,SAAS,CAAC,CAAA;QACxD,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"query_rules.js","sourceRoot":"","sources":["../../../../src/api/api/query_rules.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,UAAU;IAE7B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,UAAU,CAAc,MAAsE,EAAE,OAAiC;QACrI,MAAM,YAAY,GAAa,CAAC,YAAY,EAAE,SAAS,CAAC,CAAA;QACxD,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;YACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,SAAQ;YACV,CAAC;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;gBAC1B,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;YAChC,CAAC;QACH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A0SC"}
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Evaluate ranked search results. Evaluate the quality of ranked search results over a set of typical search queries.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/search-rank-eval.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function RankEvalApi(this: That, params: T.RankEvalRequest | TB.RankEvalRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.RankEvalResponse>;
|
|
12
12
|
export default function RankEvalApi(this: That, params: T.RankEvalRequest | TB.RankEvalRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.RankEvalResponse, unknown>>;
|
package/lib/api/api/rank_eval.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = RankEvalApi;
|
|
21
22
|
async function RankEvalApi(params, options) {
|
|
22
23
|
const acceptedPath = ['index'];
|
|
23
24
|
const acceptedBody = ['requests', 'metric'];
|
|
@@ -63,5 +64,4 @@ async function RankEvalApi(params, options) {
|
|
|
63
64
|
};
|
|
64
65
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
65
66
|
}
|
|
66
|
-
exports.default = RankEvalApi;
|
|
67
67
|
//# sourceMappingURL=rank_eval.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rank_eval.js","sourceRoot":"","sources":["../../../../src/api/api/rank_eval.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"rank_eval.js","sourceRoot":"","sources":["../../../../src/api/api/rank_eval.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,8BA0CC;AA1Cc,KAA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AC,KAAK,CAAA;QACtC,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,aAAa,CAAA;IACrE,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtC,IAAI,GAAG,aAAa,CAAA;IACtB,CAAC;IACD,MAAM,IAAI,GAA6B;QACrC,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE;YACT,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB;KACF,CAAA;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
package/lib/api/api/reindex.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ interface That {
|
|
|
5
5
|
transport: Transport;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Reindex documents. Copies documents from a source to a destination. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
8
|
+
* Reindex documents. Copy documents from a source to a destination. You can copy all documents to the destination index or reindex a subset of the documents. The source can be any existing index, alias, or data stream. The destination must differ from the source. For example, you cannot reindex a data stream into itself. IMPORTANT: Reindex requires `_source` to be enabled for all documents in the source. The destination should be configured as wanted before calling the reindex API. Reindex does not copy the settings from the source or its associated template. Mappings, shard counts, and replicas, for example, must be configured ahead of time. If the Elasticsearch security features are enabled, you must have the following security privileges: * The `read` index privilege for the source data stream, index, or alias. * The `write` index privilege for the destination data stream, index, or index alias. * To automatically create a data stream or index with a reindex API request, you must have the `auto_configure`, `create_index`, or `manage` index privilege for the destination data stream, index, or alias. * If reindexing from a remote cluster, the `source.remote.user` must have the `monitor` cluster privilege and the `read` index privilege for the source data stream, index, or alias. If reindexing from a remote cluster, you must explicitly allow the remote host in the `reindex.remote.whitelist` setting. Automatic data stream creation requires a matching index template with data stream enabled. The `dest` element can be configured like the index API to control optimistic concurrency control. Omitting `version_type` or setting it to `internal` causes Elasticsearch to blindly dump documents into the destination, overwriting any that happen to have the same ID. Setting `version_type` to `external` causes Elasticsearch to preserve the `version` from the source, create any documents that are missing, and update any documents that have an older version in the destination than they do in the source. Setting `op_type` to `create` causes the reindex API to create only missing documents in the destination. All existing documents will cause a version conflict. IMPORTANT: Because data streams are append-only, any reindex request to a destination data stream must have an `op_type` of `create`. A reindex can only add new documents to a destination data stream. It cannot update existing documents in a destination data stream. By default, version conflicts abort the reindex process. To continue reindexing if there are conflicts, set the `conflicts` request body property to `proceed`. In this case, the response includes a count of the version conflicts that were encountered. Note that the handling of other error types is unaffected by the `conflicts` property. Additionally, if you opt to count version conflicts, the operation could attempt to reindex more documents from the source than `max_docs` until it has successfully indexed `max_docs` documents into the target or it has gone through every document in the source query. NOTE: The reindex API makes no effort to handle ID collisions. The last document written will "win" but the order isn't usually predictable so it is not a good idea to rely on this behavior. Instead, make sure that IDs are unique by using a script. **Running reindex asynchronously** If the request contains `wait_for_completion=false`, Elasticsearch performs some preflight checks, launches the request, and returns a task you can use to cancel or get the status of the task. Elasticsearch creates a record of this task as a document at `_tasks/<task_id>`. **Reindex from multiple sources** If you have many sources to reindex it is generally better to reindex them one at a time rather than using a glob pattern to pick up multiple sources. That way you can resume the process if there are any errors by removing the partially completed source and starting over. It also makes parallelizing the process fairly simple: split the list of sources to reindex and run each list in parallel. For example, you can use a bash script like this: ``` for index in i1 i2 i3 i4 i5; do curl -HContent-Type:application/json -XPOST localhost:9200/_reindex?pretty -d'{ "source": { "index": "'$index'" }, "dest": { "index": "'$index'-reindexed" } }' done ``` ** Throttling** Set `requests_per_second` to any positive decimal number (`1.4`, `6`, `1000`, for example) to throttle the rate at which reindex issues batches of index operations. Requests are throttled by padding each batch with a wait time. To turn off throttling, set `requests_per_second` to `-1`. The throttling is done by waiting between batches so that the scroll that reindex uses internally can be given a timeout that takes into account the padding. The padding time is the difference between the batch size divided by the `requests_per_second` and the time spent writing. By default the batch size is `1000`, so if `requests_per_second` is set to `500`: ``` target_time = 1000 / 500 per second = 2 seconds wait_time = target_time - write_time = 2 seconds - .5 seconds = 1.5 seconds ``` Since the batch is issued as a single bulk request, large batch sizes cause Elasticsearch to create many requests and then wait for a while before starting the next set. This is "bursty" instead of "smooth". **Slicing** Reindex supports sliced scroll to parallelize the reindexing process. This parallelization can improve efficiency and provide a convenient way to break the request down into smaller parts. NOTE: Reindexing from remote clusters does not support manual or automatic slicing. You can slice a reindex request manually by providing a slice ID and total number of slices to each request. You can also let reindex automatically parallelize by using sliced scroll to slice on `_id`. The `slices` parameter specifies the number of slices to use. Adding `slices` to the reindex request just automates the manual process, creating sub-requests which means it has some quirks: * You can see these requests in the tasks API. These sub-requests are "child" tasks of the task for the request with slices. * Fetching the status of the task for the request with `slices` only contains the status of completed slices. * These sub-requests are individually addressable for things like cancellation and rethrottling. * Rethrottling the request with `slices` will rethrottle the unfinished sub-request proportionally. * Canceling the request with `slices` will cancel each sub-request. * Due to the nature of `slices`, each sub-request won't get a perfectly even portion of the documents. All documents will be addressed, but some slices may be larger than others. Expect larger slices to have a more even distribution. * Parameters like `requests_per_second` and `max_docs` on a request with `slices` are distributed proportionally to each sub-request. Combine that with the previous point about distribution being uneven and you should conclude that using `max_docs` with `slices` might not result in exactly `max_docs` documents being reindexed. * Each sub-request gets a slightly different snapshot of the source, though these are all taken at approximately the same time. If slicing automatically, setting `slices` to `auto` will choose a reasonable number for most indices. If slicing manually or otherwise tuning automatic slicing, use the following guidelines. Query performance is most efficient when the number of slices is equal to the number of shards in the index. If that number is large (for example, `500`), choose a lower number as too many slices will hurt performance. Setting slices higher than the number of shards generally does not improve efficiency and adds overhead. Indexing performance scales linearly across available resources with the number of slices. Whether query or indexing performance dominates the runtime depends on the documents being reindexed and cluster resources. **Modify documents during reindexing** Like `_update_by_query`, reindex operations support a script that modifies the document. Unlike `_update_by_query`, the script is allowed to modify the document's metadata. Just as in `_update_by_query`, you can set `ctx.op` to change the operation that is run on the destination. For example, set `ctx.op` to `noop` if your script decides that the document doesn’t have to be indexed in the destination. This "no operation" will be reported in the `noop` counter in the response body. Set `ctx.op` to `delete` if your script decides that the document must be deleted from the destination. The deletion will be reported in the `deleted` counter in the response body. Setting `ctx.op` to anything else will return an error, as will setting any other field in `ctx`. Think of the possibilities! Just be careful; you are able to change: * `_id` * `_index` * `_version` * `_routing` Setting `_version` to `null` or clearing it from the `ctx` map is just like not sending the version in an indexing request. It will cause the document to be overwritten in the destination regardless of the version on the target or the version type you use in the reindex API. **Reindex from remote** Reindex supports reindexing from a remote Elasticsearch cluster. The `host` parameter must contain a scheme, host, port, and optional path. The `username` and `password` parameters are optional and when they are present the reindex operation will connect to the remote Elasticsearch node using basic authentication. Be sure to use HTTPS when using basic authentication or the password will be sent in plain text. There are a range of settings available to configure the behavior of the HTTPS connection. When using Elastic Cloud, it is also possible to authenticate against the remote cluster through the use of a valid API key. Remote hosts must be explicitly allowed with the `reindex.remote.whitelist` setting. It can be set to a comma delimited list of allowed remote host and port combinations. Scheme is ignored; only the host and port are used. For example: ``` reindex.remote.whitelist: [otherhost:9200, another:9200, 127.0.10.*:9200, localhost:*"] ``` The list of allowed hosts must be configured on any nodes that will coordinate the reindex. This feature should work with remote clusters of any version of Elasticsearch. This should enable you to upgrade from any version of Elasticsearch to the current version by reindexing from a cluster of the old version. WARNING: Elasticsearch does not support forward compatibility across major versions. For example, you cannot reindex from a 7.x cluster into a 6.x cluster. To enable queries sent to older versions of Elasticsearch, the `query` parameter is sent directly to the remote host without validation or modification. NOTE: Reindexing from remote clusters does not support manual or automatic slicing. Reindexing from a remote server uses an on-heap buffer that defaults to a maximum size of 100mb. If the remote index includes very large documents you'll need to use a smaller batch size. It is also possible to set the socket read timeout on the remote connection with the `socket_timeout` field and the connection timeout with the `connect_timeout` field. Both default to 30 seconds. **Configuring SSL parameters** Reindex from remote supports configurable SSL settings. These must be specified in the `elasticsearch.yml` file, with the exception of the secure settings, which you add in the Elasticsearch keystore. It is not possible to configure SSL in the body of the reindex request.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/docs-reindex.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function ReindexApi(this: That, params: T.ReindexRequest | TB.ReindexRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ReindexResponse>;
|
|
12
12
|
export default function ReindexApi(this: That, params: T.ReindexRequest | TB.ReindexRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ReindexResponse, unknown>>;
|
package/lib/api/api/reindex.js
CHANGED
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = ReindexApi;
|
|
21
22
|
async function ReindexApi(params, options) {
|
|
22
23
|
const acceptedPath = [];
|
|
23
24
|
const acceptedBody = ['conflicts', 'dest', 'max_docs', 'script', 'size', 'source'];
|
|
@@ -52,5 +53,4 @@ async function ReindexApi(params, options) {
|
|
|
52
53
|
};
|
|
53
54
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
54
55
|
}
|
|
55
|
-
exports.default = ReindexApi;
|
|
56
56
|
//# sourceMappingURL=reindex.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reindex.js","sourceRoot":"","sources":["../../../../src/api/api/reindex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"reindex.js","sourceRoot":"","sources":["../../../../src/api/api/reindex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,6BAgCC;AAhCc,KAAK,UAAU,UAAU,CAAc,MAA4C,EAAE,OA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I,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
|
@@ -5,8 +5,8 @@ interface That {
|
|
|
5
5
|
transport: Transport;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* Throttle a reindex operation. Change the number of requests per second for a particular reindex operation.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
8
|
+
* Throttle a reindex operation. Change the number of requests per second for a particular reindex operation. For example: ``` POST _reindex/r1A2WoRbTwKZ516z6NEs5A:36619/_rethrottle?requests_per_second=-1 ``` Rethrottling that speeds up the query takes effect immediately. Rethrottling that slows down the query will take effect after completing the current batch. This behavior prevents scroll timeouts.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/docs-reindex.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function ReindexRethrottleApi(this: That, params: T.ReindexRethrottleRequest | TB.ReindexRethrottleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ReindexRethrottleResponse>;
|
|
12
12
|
export default function ReindexRethrottleApi(this: That, params: T.ReindexRethrottleRequest | TB.ReindexRethrottleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ReindexRethrottleResponse, unknown>>;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = ReindexRethrottleApi;
|
|
21
22
|
async function ReindexRethrottleApi(params, options) {
|
|
22
23
|
const acceptedPath = ['task_id'];
|
|
23
24
|
const querystring = {};
|
|
@@ -41,5 +42,4 @@ async function ReindexRethrottleApi(params, options) {
|
|
|
41
42
|
};
|
|
42
43
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
43
44
|
}
|
|
44
|
-
exports.default = ReindexRethrottleApi;
|
|
45
45
|
//# sourceMappingURL=reindex_rethrottle.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reindex_rethrottle.js","sourceRoot":"","sources":["../../../../src/api/api/reindex_rethrottle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
|
+
{"version":3,"file":"reindex_rethrottle.js","sourceRoot":"","sources":["../../../../src/api/api/reindex_rethrottle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA8BH,uCAuBC;AAvBc,KAAK,UAAU,oBAAoB,CAAc,MAAgE,EAAE,OAAiC;IACjK,MAAM,YAAY,GAAa,CAAC,SAAS,CAAC,CAAA;IAC1C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;QACzB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC/B,SAAQ;QACV,CAAC;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE,CAAC;YAC1B,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;QAChC,CAAC;IACH,CAAC;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,aAAa,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,cAAc,CAAA;IACrF,MAAM,IAAI,GAA6B;QACrC,IAAI,EAAE,oBAAoB;QAC1B,SAAS,EAAE;YACT,OAAO,EAAE,MAAM,CAAC,OAAO;SACxB;KACF,CAAA;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACzF,CAAC"}
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Render a search template. Render a search template as a search request body.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.17/render-search-template-api.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function RenderSearchTemplateApi(this: That, params?: T.RenderSearchTemplateRequest | TB.RenderSearchTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.RenderSearchTemplateResponse>;
|
|
12
12
|
export default function RenderSearchTemplateApi(this: That, params?: T.RenderSearchTemplateRequest | TB.RenderSearchTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.RenderSearchTemplateResponse, unknown>>;
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
* under the License.
|
|
19
19
|
*/
|
|
20
20
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
exports.default = RenderSearchTemplateApi;
|
|
21
22
|
async function RenderSearchTemplateApi(params, options) {
|
|
22
|
-
const acceptedPath = [
|
|
23
|
-
const acceptedBody = ['file', 'params', 'source'];
|
|
23
|
+
const acceptedPath = [];
|
|
24
|
+
const acceptedBody = ['id', 'file', 'params', 'source'];
|
|
24
25
|
const querystring = {};
|
|
25
26
|
// @ts-expect-error
|
|
26
27
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -64,5 +65,4 @@ async function RenderSearchTemplateApi(params, options) {
|
|
|
64
65
|
};
|
|
65
66
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
66
67
|
}
|
|
67
|
-
exports.default = RenderSearchTemplateApi;
|
|
68
68
|
//# sourceMappingURL=render_search_template.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render_search_template.js","sourceRoot":"","sources":["../../../../src/api/api/render_search_template.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;
|
|
1
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