@elastic/elasticsearch 8.14.1 → 8.15.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 +9 -9
- package/lib/api/api/async_search.d.ts +8 -8
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/capabilities.d.ts +14 -0
- package/lib/api/api/capabilities.js +42 -0
- package/lib/api/api/capabilities.js.map +1 -0
- package/lib/api/api/cat.d.ts +51 -51
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +2 -2
- package/lib/api/api/close_point_in_time.d.ts +2 -2
- package/lib/api/api/cluster.d.ts +24 -24
- package/lib/api/api/connector.d.ts +67 -53
- package/lib/api/api/connector.js +59 -3
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +2 -2
- package/lib/api/api/enrich.d.ts +8 -8
- package/lib/api/api/eql.d.ts +7 -7
- package/lib/api/api/esql.d.ts +4 -4
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +2 -2
- package/lib/api/api/fleet.d.ts +3 -3
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +2 -2
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +2 -2
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +16 -16
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/indices.d.ts +111 -111
- package/lib/api/api/inference.d.ts +17 -17
- package/lib/api/api/inference.js +8 -7
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +33 -12
- package/lib/api/api/ingest.js +92 -0
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +10 -10
- package/lib/api/api/logstash.d.ts +6 -6
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +131 -131
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +14 -14
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/put_script.d.ts +2 -2
- package/lib/api/api/query_rules.d.ts +60 -0
- package/lib/api/api/{query_ruleset.js → query_rules.js} +97 -11
- package/lib/api/api/query_rules.js.map +1 -0
- package/lib/api/api/rank_eval.d.ts +2 -2
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/render_search_template.d.ts +2 -2
- package/lib/api/api/rollup.d.ts +10 -10
- package/lib/api/api/scripts_painless_execute.d.ts +2 -2
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search_application.d.ts +11 -11
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +2 -2
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +108 -87
- package/lib/api/api/security.js +121 -3
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/simulate.d.ts +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +13 -13
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +8 -8
- package/lib/api/api/tasks.d.ts +4 -4
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +4 -4
- package/lib/api/api/transform.d.ts +26 -19
- package/lib/api/api/transform.js +20 -0
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +14 -14
- package/lib/api/api/xpack.d.ts +4 -4
- package/lib/api/index.d.ts +6 -4
- package/lib/api/index.js +8 -6
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +672 -249
- package/lib/api/typesWithBodyKey.d.ts +691 -250
- package/lib/helpers.d.ts +1 -0
- package/package.json +5 -4
- package/lib/api/api/query_ruleset.d.ts +0 -39
- package/lib/api/api/query_ruleset.js.map +0 -1
package/lib/api/types.d.ts
CHANGED
|
@@ -62,7 +62,7 @@ export interface BulkUpdateAction<TDocument = unknown, TPartialDocument = unknow
|
|
|
62
62
|
detect_noop?: boolean;
|
|
63
63
|
doc?: TPartialDocument;
|
|
64
64
|
doc_as_upsert?: boolean;
|
|
65
|
-
script?: Script;
|
|
65
|
+
script?: Script | string;
|
|
66
66
|
scripted_upsert?: boolean;
|
|
67
67
|
_source?: SearchSourceConfig;
|
|
68
68
|
upsert?: TDocument;
|
|
@@ -651,6 +651,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
651
651
|
expand_wildcards?: ExpandWildcards;
|
|
652
652
|
ignore_throttled?: boolean;
|
|
653
653
|
ignore_unavailable?: boolean;
|
|
654
|
+
include_named_queries_score?: boolean;
|
|
654
655
|
max_concurrent_searches?: long;
|
|
655
656
|
max_concurrent_shard_requests?: long;
|
|
656
657
|
pre_filter_shard_size?: long;
|
|
@@ -716,7 +717,7 @@ export interface MtermvectorsResponse {
|
|
|
716
717
|
docs: MtermvectorsTermVectorsResult[];
|
|
717
718
|
}
|
|
718
719
|
export interface MtermvectorsTermVectorsResult {
|
|
719
|
-
_id
|
|
720
|
+
_id?: Id;
|
|
720
721
|
_index: IndexName;
|
|
721
722
|
_version?: VersionNumber;
|
|
722
723
|
took?: long;
|
|
@@ -848,7 +849,7 @@ export interface ReindexRequest extends RequestBase {
|
|
|
848
849
|
conflicts?: Conflicts;
|
|
849
850
|
dest: ReindexDestination;
|
|
850
851
|
max_docs?: long;
|
|
851
|
-
script?: Script;
|
|
852
|
+
script?: Script | string;
|
|
852
853
|
size?: long;
|
|
853
854
|
source: ReindexSource;
|
|
854
855
|
}
|
|
@@ -934,7 +935,7 @@ export interface ScriptsPainlessExecutePainlessContextSetup {
|
|
|
934
935
|
export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
|
935
936
|
context?: string;
|
|
936
937
|
context_setup?: ScriptsPainlessExecutePainlessContextSetup;
|
|
937
|
-
script?:
|
|
938
|
+
script?: Script | string;
|
|
938
939
|
}
|
|
939
940
|
export interface ScriptsPainlessExecuteResponse<TResult = unknown> {
|
|
940
941
|
result: TResult;
|
|
@@ -958,6 +959,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
958
959
|
expand_wildcards?: ExpandWildcards;
|
|
959
960
|
ignore_throttled?: boolean;
|
|
960
961
|
ignore_unavailable?: boolean;
|
|
962
|
+
include_named_queries_score?: boolean;
|
|
961
963
|
lenient?: boolean;
|
|
962
964
|
max_concurrent_shard_requests?: long;
|
|
963
965
|
min_compatible_shard_node?: VersionString;
|
|
@@ -1082,6 +1084,10 @@ export interface SearchAggregationProfileDebug {
|
|
|
1082
1084
|
segments_counted?: integer;
|
|
1083
1085
|
segments_collected?: integer;
|
|
1084
1086
|
map_reducer?: string;
|
|
1087
|
+
brute_force_used?: integer;
|
|
1088
|
+
dynamic_pruning_attempted?: integer;
|
|
1089
|
+
dynamic_pruning_used?: integer;
|
|
1090
|
+
skipped_due_to_no_data?: integer;
|
|
1085
1091
|
}
|
|
1086
1092
|
export interface SearchAggregationProfileDelegateDebugFilter {
|
|
1087
1093
|
results_from_metadata?: integer;
|
|
@@ -1125,6 +1131,35 @@ export interface SearchCompletionSuggester extends SearchSuggesterBase {
|
|
|
1125
1131
|
skip_duplicates?: boolean;
|
|
1126
1132
|
}
|
|
1127
1133
|
export type SearchContext = string | GeoLocation;
|
|
1134
|
+
export interface SearchDfsKnnProfile {
|
|
1135
|
+
vector_operations_count?: long;
|
|
1136
|
+
query: SearchKnnQueryProfileResult[];
|
|
1137
|
+
rewrite_time: long;
|
|
1138
|
+
collector: SearchKnnCollectorResult[];
|
|
1139
|
+
}
|
|
1140
|
+
export interface SearchDfsProfile {
|
|
1141
|
+
statistics?: SearchDfsStatisticsProfile;
|
|
1142
|
+
knn?: SearchDfsKnnProfile[];
|
|
1143
|
+
}
|
|
1144
|
+
export interface SearchDfsStatisticsBreakdown {
|
|
1145
|
+
collection_statistics: long;
|
|
1146
|
+
collection_statistics_count: long;
|
|
1147
|
+
create_weight: long;
|
|
1148
|
+
create_weight_count: long;
|
|
1149
|
+
rewrite: long;
|
|
1150
|
+
rewrite_count: long;
|
|
1151
|
+
term_statistics: long;
|
|
1152
|
+
term_statistics_count: long;
|
|
1153
|
+
}
|
|
1154
|
+
export interface SearchDfsStatisticsProfile {
|
|
1155
|
+
type: string;
|
|
1156
|
+
description: string;
|
|
1157
|
+
time?: Duration;
|
|
1158
|
+
time_in_nanos: DurationValue<UnitNanos>;
|
|
1159
|
+
breakdown: SearchDfsStatisticsBreakdown;
|
|
1160
|
+
debug?: Record<string, any>;
|
|
1161
|
+
children?: SearchDfsStatisticsProfile[];
|
|
1162
|
+
}
|
|
1128
1163
|
export interface SearchDirectGenerator {
|
|
1129
1164
|
field: Field;
|
|
1130
1165
|
max_edits?: integer;
|
|
@@ -1219,14 +1254,15 @@ export interface SearchHit<TDocument = unknown> {
|
|
|
1219
1254
|
fields?: Record<string, any>;
|
|
1220
1255
|
highlight?: Record<string, string[]>;
|
|
1221
1256
|
inner_hits?: Record<string, SearchInnerHitsResult>;
|
|
1222
|
-
matched_queries?: string[]
|
|
1257
|
+
matched_queries?: string[] | Record<string, double>;
|
|
1223
1258
|
_nested?: SearchNestedIdentity;
|
|
1224
1259
|
_ignored?: string[];
|
|
1225
|
-
ignored_field_values?: Record<string,
|
|
1260
|
+
ignored_field_values?: Record<string, FieldValue[]>;
|
|
1226
1261
|
_shard?: string;
|
|
1227
1262
|
_node?: string;
|
|
1228
1263
|
_routing?: string;
|
|
1229
1264
|
_source?: TDocument;
|
|
1265
|
+
_rank?: integer;
|
|
1230
1266
|
_seq_no?: SequenceNumber;
|
|
1231
1267
|
_primary_term?: long;
|
|
1232
1268
|
_version?: VersionNumber;
|
|
@@ -1258,6 +1294,44 @@ export interface SearchInnerHits {
|
|
|
1258
1294
|
export interface SearchInnerHitsResult {
|
|
1259
1295
|
hits: SearchHitsMetadata<any>;
|
|
1260
1296
|
}
|
|
1297
|
+
export interface SearchKnnCollectorResult {
|
|
1298
|
+
name: string;
|
|
1299
|
+
reason: string;
|
|
1300
|
+
time?: Duration;
|
|
1301
|
+
time_in_nanos: DurationValue<UnitNanos>;
|
|
1302
|
+
children?: SearchKnnCollectorResult[];
|
|
1303
|
+
}
|
|
1304
|
+
export interface SearchKnnQueryProfileBreakdown {
|
|
1305
|
+
advance: long;
|
|
1306
|
+
advance_count: long;
|
|
1307
|
+
build_scorer: long;
|
|
1308
|
+
build_scorer_count: long;
|
|
1309
|
+
compute_max_score: long;
|
|
1310
|
+
compute_max_score_count: long;
|
|
1311
|
+
count_weight: long;
|
|
1312
|
+
count_weight_count: long;
|
|
1313
|
+
create_weight: long;
|
|
1314
|
+
create_weight_count: long;
|
|
1315
|
+
match: long;
|
|
1316
|
+
match_count: long;
|
|
1317
|
+
next_doc: long;
|
|
1318
|
+
next_doc_count: long;
|
|
1319
|
+
score: long;
|
|
1320
|
+
score_count: long;
|
|
1321
|
+
set_min_competitive_score: long;
|
|
1322
|
+
set_min_competitive_score_count: long;
|
|
1323
|
+
shallow_advance: long;
|
|
1324
|
+
shallow_advance_count: long;
|
|
1325
|
+
}
|
|
1326
|
+
export interface SearchKnnQueryProfileResult {
|
|
1327
|
+
type: string;
|
|
1328
|
+
description: string;
|
|
1329
|
+
time?: Duration;
|
|
1330
|
+
time_in_nanos: DurationValue<UnitNanos>;
|
|
1331
|
+
breakdown: SearchKnnQueryProfileBreakdown;
|
|
1332
|
+
debug?: Record<string, any>;
|
|
1333
|
+
children?: SearchKnnQueryProfileResult[];
|
|
1334
|
+
}
|
|
1261
1335
|
export interface SearchLaplaceSmoothingModel {
|
|
1262
1336
|
alpha: double;
|
|
1263
1337
|
}
|
|
@@ -1336,6 +1410,8 @@ export interface SearchQueryBreakdown {
|
|
|
1336
1410
|
score_count: long;
|
|
1337
1411
|
compute_max_score: long;
|
|
1338
1412
|
compute_max_score_count: long;
|
|
1413
|
+
count_weight: long;
|
|
1414
|
+
count_weight_count: long;
|
|
1339
1415
|
set_min_competitive_score: long;
|
|
1340
1416
|
set_min_competitive_score_count: long;
|
|
1341
1417
|
}
|
|
@@ -1369,9 +1445,14 @@ export interface SearchSearchProfile {
|
|
|
1369
1445
|
}
|
|
1370
1446
|
export interface SearchShardProfile {
|
|
1371
1447
|
aggregations: SearchAggregationProfile[];
|
|
1448
|
+
cluster: string;
|
|
1449
|
+
dfs?: SearchDfsProfile;
|
|
1450
|
+
fetch?: SearchFetchProfile;
|
|
1372
1451
|
id: string;
|
|
1452
|
+
index: IndexName;
|
|
1453
|
+
node_id: NodeId;
|
|
1373
1454
|
searches: SearchSearchProfile[];
|
|
1374
|
-
|
|
1455
|
+
shard_id: long;
|
|
1375
1456
|
}
|
|
1376
1457
|
export interface SearchSmoothingModelContainer {
|
|
1377
1458
|
laplace?: SearchLaplaceSmoothingModel;
|
|
@@ -1481,10 +1562,21 @@ export interface SearchShardsRequest extends RequestBase {
|
|
|
1481
1562
|
routing?: Routing;
|
|
1482
1563
|
}
|
|
1483
1564
|
export interface SearchShardsResponse {
|
|
1484
|
-
nodes: Record<
|
|
1565
|
+
nodes: Record<NodeId, SearchShardsSearchShardsNodeAttributes>;
|
|
1485
1566
|
shards: NodeShard[][];
|
|
1486
1567
|
indices: Record<IndexName, SearchShardsShardStoreIndex>;
|
|
1487
1568
|
}
|
|
1569
|
+
export interface SearchShardsSearchShardsNodeAttributes {
|
|
1570
|
+
name: NodeName;
|
|
1571
|
+
ephemeral_id: Id;
|
|
1572
|
+
transport_address: TransportAddress;
|
|
1573
|
+
external_id: string;
|
|
1574
|
+
attributes: Record<string, string>;
|
|
1575
|
+
roles: NodeRoles;
|
|
1576
|
+
version: VersionString;
|
|
1577
|
+
min_index_version: integer;
|
|
1578
|
+
max_index_version: integer;
|
|
1579
|
+
}
|
|
1488
1580
|
export interface SearchShardsShardStoreIndex {
|
|
1489
1581
|
aliases?: Name[];
|
|
1490
1582
|
filter?: QueryDslQueryContainer;
|
|
@@ -1573,7 +1665,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
|
|
1573
1665
|
}
|
|
1574
1666
|
export interface TermvectorsResponse {
|
|
1575
1667
|
found: boolean;
|
|
1576
|
-
_id
|
|
1668
|
+
_id?: Id;
|
|
1577
1669
|
_index: IndexName;
|
|
1578
1670
|
term_vectors?: Record<Field, TermvectorsTermVector>;
|
|
1579
1671
|
took: long;
|
|
@@ -1587,7 +1679,7 @@ export interface TermvectorsTerm {
|
|
|
1587
1679
|
ttf?: integer;
|
|
1588
1680
|
}
|
|
1589
1681
|
export interface TermvectorsTermVector {
|
|
1590
|
-
field_statistics
|
|
1682
|
+
field_statistics?: TermvectorsFieldStatistics;
|
|
1591
1683
|
terms: Record<string, TermvectorsTerm>;
|
|
1592
1684
|
}
|
|
1593
1685
|
export interface TermvectorsToken {
|
|
@@ -1613,7 +1705,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
|
|
1613
1705
|
detect_noop?: boolean;
|
|
1614
1706
|
doc?: TPartialDocument;
|
|
1615
1707
|
doc_as_upsert?: boolean;
|
|
1616
|
-
script?: Script;
|
|
1708
|
+
script?: Script | string;
|
|
1617
1709
|
scripted_upsert?: boolean;
|
|
1618
1710
|
_source?: SearchSourceConfig;
|
|
1619
1711
|
upsert?: TDocument;
|
|
@@ -1635,6 +1727,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
|
|
1635
1727
|
lenient?: boolean;
|
|
1636
1728
|
pipeline?: string;
|
|
1637
1729
|
preference?: string;
|
|
1730
|
+
q?: string;
|
|
1638
1731
|
refresh?: boolean;
|
|
1639
1732
|
request_cache?: boolean;
|
|
1640
1733
|
requests_per_second?: float;
|
|
@@ -1654,7 +1747,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
|
|
1654
1747
|
wait_for_completion?: boolean;
|
|
1655
1748
|
max_docs?: long;
|
|
1656
1749
|
query?: QueryDslQueryContainer;
|
|
1657
|
-
script?: Script;
|
|
1750
|
+
script?: Script | string;
|
|
1658
1751
|
slice?: SlicedScroll;
|
|
1659
1752
|
conflicts?: Conflicts;
|
|
1660
1753
|
}
|
|
@@ -1885,6 +1978,7 @@ export interface GetStats {
|
|
|
1885
1978
|
time_in_millis: DurationValue<UnitMillis>;
|
|
1886
1979
|
total: long;
|
|
1887
1980
|
}
|
|
1981
|
+
export type GrokPattern = string;
|
|
1888
1982
|
export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
|
|
1889
1983
|
export type Host = string;
|
|
1890
1984
|
export type HttpHeaders = Record<string, string | string[]>;
|
|
@@ -1934,17 +2028,13 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
1934
2028
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
1935
2029
|
[property: string]: any;
|
|
1936
2030
|
};
|
|
1937
|
-
export interface InlineScript extends ScriptBase {
|
|
1938
|
-
lang?: ScriptLanguage;
|
|
1939
|
-
options?: Record<string, string>;
|
|
1940
|
-
source: string;
|
|
1941
|
-
}
|
|
1942
2031
|
export type Ip = string;
|
|
1943
2032
|
export interface KnnQuery extends QueryDslQueryBase {
|
|
1944
2033
|
field: Field;
|
|
1945
2034
|
query_vector?: QueryVector;
|
|
1946
2035
|
query_vector_builder?: QueryVectorBuilder;
|
|
1947
2036
|
num_candidates?: integer;
|
|
2037
|
+
k?: integer;
|
|
1948
2038
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
1949
2039
|
similarity?: float;
|
|
1950
2040
|
}
|
|
@@ -2011,8 +2101,6 @@ export interface NodeAttributes {
|
|
|
2011
2101
|
id?: NodeId;
|
|
2012
2102
|
name: NodeName;
|
|
2013
2103
|
transport_address: TransportAddress;
|
|
2014
|
-
roles?: NodeRoles;
|
|
2015
|
-
external_id?: string;
|
|
2016
2104
|
}
|
|
2017
2105
|
export type NodeId = string;
|
|
2018
2106
|
export type NodeIds = NodeId | NodeId[];
|
|
@@ -2071,7 +2159,7 @@ export interface QueryVectorBuilder {
|
|
|
2071
2159
|
export interface RRFRetriever extends RetrieverBase {
|
|
2072
2160
|
retrievers: RetrieverContainer[];
|
|
2073
2161
|
rank_constant?: integer;
|
|
2074
|
-
|
|
2162
|
+
rank_window_size?: integer;
|
|
2075
2163
|
}
|
|
2076
2164
|
export interface RankBase {
|
|
2077
2165
|
}
|
|
@@ -2122,24 +2210,27 @@ export interface RetrieverContainer {
|
|
|
2122
2210
|
export type Routing = string;
|
|
2123
2211
|
export interface RrfRank {
|
|
2124
2212
|
rank_constant?: long;
|
|
2125
|
-
|
|
2213
|
+
rank_window_size?: long;
|
|
2126
2214
|
}
|
|
2127
2215
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2128
2216
|
export interface ScoreSort {
|
|
2129
2217
|
order?: SortOrder;
|
|
2130
2218
|
}
|
|
2131
|
-
export
|
|
2132
|
-
|
|
2219
|
+
export interface Script {
|
|
2220
|
+
source?: string;
|
|
2221
|
+
id?: Id;
|
|
2133
2222
|
params?: Record<string, any>;
|
|
2223
|
+
lang?: ScriptLanguage;
|
|
2224
|
+
options?: Record<string, string>;
|
|
2134
2225
|
}
|
|
2135
2226
|
export interface ScriptField {
|
|
2136
|
-
script: Script;
|
|
2227
|
+
script: Script | string;
|
|
2137
2228
|
ignore_failure?: boolean;
|
|
2138
2229
|
}
|
|
2139
2230
|
export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | string;
|
|
2140
2231
|
export interface ScriptSort {
|
|
2141
2232
|
order?: SortOrder;
|
|
2142
|
-
script: Script;
|
|
2233
|
+
script: Script | string;
|
|
2143
2234
|
type?: ScriptSortType;
|
|
2144
2235
|
mode?: SortMode;
|
|
2145
2236
|
nested?: NestedSortValue;
|
|
@@ -2221,7 +2312,7 @@ export interface ShardStatistics {
|
|
|
2221
2312
|
skipped?: uint;
|
|
2222
2313
|
}
|
|
2223
2314
|
export interface ShardsOperationResponseBase {
|
|
2224
|
-
_shards
|
|
2315
|
+
_shards?: ShardStatistics;
|
|
2225
2316
|
}
|
|
2226
2317
|
export interface SlicedScroll {
|
|
2227
2318
|
field?: Field;
|
|
@@ -2265,9 +2356,6 @@ export interface StoredScript {
|
|
|
2265
2356
|
options?: Record<string, string>;
|
|
2266
2357
|
source: string;
|
|
2267
2358
|
}
|
|
2268
|
-
export interface StoredScriptId extends ScriptBase {
|
|
2269
|
-
id: Id;
|
|
2270
|
-
}
|
|
2271
2359
|
export type SuggestMode = 'missing' | 'popular' | 'always';
|
|
2272
2360
|
export type SuggestionName = string;
|
|
2273
2361
|
export interface TaskFailure {
|
|
@@ -2359,7 +2447,7 @@ export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMulti
|
|
|
2359
2447
|
export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2360
2448
|
[property: string]: AggregationsAggregate | string | long;
|
|
2361
2449
|
};
|
|
2362
|
-
export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsFrequentItemSetsAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2450
|
+
export type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsGeoHexGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsIpPrefixAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsFrequentItemSetsAggregate | AggregationsTimeSeriesAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2363
2451
|
export interface AggregationsAggregateBase {
|
|
2364
2452
|
meta?: Metadata;
|
|
2365
2453
|
}
|
|
@@ -2429,6 +2517,7 @@ export interface AggregationsAggregationContainer {
|
|
|
2429
2517
|
rare_terms?: AggregationsRareTermsAggregation;
|
|
2430
2518
|
rate?: AggregationsRateAggregation;
|
|
2431
2519
|
reverse_nested?: AggregationsReverseNestedAggregation;
|
|
2520
|
+
random_sampler?: AggregationsRandomSamplerAggregation;
|
|
2432
2521
|
sampler?: AggregationsSamplerAggregation;
|
|
2433
2522
|
scripted_metric?: AggregationsScriptedMetricAggregation;
|
|
2434
2523
|
serial_diff?: AggregationsSerialDifferencingAggregation;
|
|
@@ -2440,6 +2529,7 @@ export interface AggregationsAggregationContainer {
|
|
|
2440
2529
|
sum?: AggregationsSumAggregation;
|
|
2441
2530
|
sum_bucket?: AggregationsSumBucketAggregation;
|
|
2442
2531
|
terms?: AggregationsTermsAggregation;
|
|
2532
|
+
time_series?: AggregationsTimeSeriesAggregation;
|
|
2443
2533
|
top_hits?: AggregationsTopHitsAggregation;
|
|
2444
2534
|
t_test?: AggregationsTTestAggregation;
|
|
2445
2535
|
top_metrics?: AggregationsTopMetricsAggregation;
|
|
@@ -2468,7 +2558,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
|
|
|
2468
2558
|
missing?: DateTime;
|
|
2469
2559
|
offset?: string;
|
|
2470
2560
|
params?: Record<string, any>;
|
|
2471
|
-
script?: Script;
|
|
2561
|
+
script?: Script | string;
|
|
2472
2562
|
time_zone?: TimeZone;
|
|
2473
2563
|
}
|
|
2474
2564
|
export interface AggregationsAverageAggregation extends AggregationsFormatMetricAggregationBase {
|
|
@@ -2524,10 +2614,10 @@ export interface AggregationsBucketPathAggregation {
|
|
|
2524
2614
|
buckets_path?: AggregationsBucketsPath;
|
|
2525
2615
|
}
|
|
2526
2616
|
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
|
2527
|
-
script?: Script;
|
|
2617
|
+
script?: Script | string;
|
|
2528
2618
|
}
|
|
2529
2619
|
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
|
2530
|
-
script?: Script;
|
|
2620
|
+
script?: Script | string;
|
|
2531
2621
|
}
|
|
2532
2622
|
export interface AggregationsBucketSortAggregation {
|
|
2533
2623
|
from?: integer;
|
|
@@ -2585,7 +2675,7 @@ export interface AggregationsCompositeAggregationBase {
|
|
|
2585
2675
|
field?: Field;
|
|
2586
2676
|
missing_bucket?: boolean;
|
|
2587
2677
|
missing_order?: AggregationsMissingOrder;
|
|
2588
|
-
script?: Script;
|
|
2678
|
+
script?: Script | string;
|
|
2589
2679
|
value_type?: AggregationsValueType;
|
|
2590
2680
|
order?: SortOrder;
|
|
2591
2681
|
}
|
|
@@ -2645,7 +2735,7 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
|
|
2645
2735
|
offset?: Duration;
|
|
2646
2736
|
order?: AggregationsAggregateOrder;
|
|
2647
2737
|
params?: Record<string, any>;
|
|
2648
|
-
script?: Script;
|
|
2738
|
+
script?: Script | string;
|
|
2649
2739
|
time_zone?: TimeZone;
|
|
2650
2740
|
keyed?: boolean;
|
|
2651
2741
|
}
|
|
@@ -2680,7 +2770,7 @@ export interface AggregationsDerivativeAggregation extends AggregationsPipelineA
|
|
|
2680
2770
|
export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
2681
2771
|
execution_hint?: AggregationsSamplerAggregationExecutionHint;
|
|
2682
2772
|
max_docs_per_value?: integer;
|
|
2683
|
-
script?: Script;
|
|
2773
|
+
script?: Script | string;
|
|
2684
2774
|
shard_size?: integer;
|
|
2685
2775
|
field?: Field;
|
|
2686
2776
|
}
|
|
@@ -2889,7 +2979,7 @@ export interface AggregationsHistogramAggregation extends AggregationsBucketAggr
|
|
|
2889
2979
|
missing?: double;
|
|
2890
2980
|
offset?: double;
|
|
2891
2981
|
order?: AggregationsAggregateOrder;
|
|
2892
|
-
script?: Script;
|
|
2982
|
+
script?: Script | string;
|
|
2893
2983
|
format?: string;
|
|
2894
2984
|
keyed?: boolean;
|
|
2895
2985
|
}
|
|
@@ -3048,7 +3138,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregation extends Aggregat
|
|
|
3048
3138
|
export interface AggregationsMetricAggregationBase {
|
|
3049
3139
|
field?: Field;
|
|
3050
3140
|
missing?: AggregationsMissing;
|
|
3051
|
-
script?: Script;
|
|
3141
|
+
script?: Script | string;
|
|
3052
3142
|
}
|
|
3053
3143
|
export interface AggregationsMinAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3054
3144
|
}
|
|
@@ -3165,13 +3255,18 @@ export interface AggregationsPipelineAggregationBase extends AggregationsBucketP
|
|
|
3165
3255
|
format?: string;
|
|
3166
3256
|
gap_policy?: AggregationsGapPolicy;
|
|
3167
3257
|
}
|
|
3258
|
+
export interface AggregationsRandomSamplerAggregation extends AggregationsBucketAggregationBase {
|
|
3259
|
+
probability: double;
|
|
3260
|
+
seed?: integer;
|
|
3261
|
+
shard_seed?: integer;
|
|
3262
|
+
}
|
|
3168
3263
|
export interface AggregationsRangeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsRangeBucket> {
|
|
3169
3264
|
}
|
|
3170
3265
|
export interface AggregationsRangeAggregation extends AggregationsBucketAggregationBase {
|
|
3171
3266
|
field?: Field;
|
|
3172
3267
|
missing?: integer;
|
|
3173
3268
|
ranges?: AggregationsAggregationRange[];
|
|
3174
|
-
script?: Script;
|
|
3269
|
+
script?: Script | string;
|
|
3175
3270
|
keyed?: boolean;
|
|
3176
3271
|
format?: string;
|
|
3177
3272
|
}
|
|
@@ -3221,17 +3316,17 @@ export interface AggregationsSamplerAggregation extends AggregationsBucketAggreg
|
|
|
3221
3316
|
}
|
|
3222
3317
|
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash';
|
|
3223
3318
|
export interface AggregationsScriptedHeuristic {
|
|
3224
|
-
script: Script;
|
|
3319
|
+
script: Script | string;
|
|
3225
3320
|
}
|
|
3226
3321
|
export interface AggregationsScriptedMetricAggregate extends AggregationsAggregateBase {
|
|
3227
3322
|
value: any;
|
|
3228
3323
|
}
|
|
3229
3324
|
export interface AggregationsScriptedMetricAggregation extends AggregationsMetricAggregationBase {
|
|
3230
|
-
combine_script?: Script;
|
|
3231
|
-
init_script?: Script;
|
|
3232
|
-
map_script?: Script;
|
|
3325
|
+
combine_script?: Script | string;
|
|
3326
|
+
init_script?: Script | string;
|
|
3327
|
+
map_script?: Script | string;
|
|
3233
3328
|
params?: Record<string, any>;
|
|
3234
|
-
reduce_script?: Script;
|
|
3329
|
+
reduce_script?: Script | string;
|
|
3235
3330
|
}
|
|
3236
3331
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
3237
3332
|
lag?: integer;
|
|
@@ -3412,7 +3507,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3412
3507
|
missing_bucket?: boolean;
|
|
3413
3508
|
value_type?: string;
|
|
3414
3509
|
order?: AggregationsAggregateOrder;
|
|
3415
|
-
script?: Script;
|
|
3510
|
+
script?: Script | string;
|
|
3416
3511
|
shard_min_doc_count?: long;
|
|
3417
3512
|
shard_size?: integer;
|
|
3418
3513
|
show_term_doc_count_error?: boolean;
|
|
@@ -3432,9 +3527,21 @@ export interface AggregationsTermsPartition {
|
|
|
3432
3527
|
}
|
|
3433
3528
|
export interface AggregationsTestPopulation {
|
|
3434
3529
|
field: Field;
|
|
3435
|
-
script?: Script;
|
|
3530
|
+
script?: Script | string;
|
|
3436
3531
|
filter?: QueryDslQueryContainer;
|
|
3437
3532
|
}
|
|
3533
|
+
export interface AggregationsTimeSeriesAggregate extends AggregationsMultiBucketAggregateBase<AggregationsTimeSeriesBucket> {
|
|
3534
|
+
}
|
|
3535
|
+
export interface AggregationsTimeSeriesAggregation extends AggregationsBucketAggregationBase {
|
|
3536
|
+
size?: integer;
|
|
3537
|
+
keyed?: boolean;
|
|
3538
|
+
}
|
|
3539
|
+
export interface AggregationsTimeSeriesBucketKeys extends AggregationsMultiBucketBase {
|
|
3540
|
+
key: Record<Field, FieldValue>;
|
|
3541
|
+
}
|
|
3542
|
+
export type AggregationsTimeSeriesBucket = AggregationsTimeSeriesBucketKeys & {
|
|
3543
|
+
[property: string]: AggregationsAggregate | Record<Field, FieldValue> | long;
|
|
3544
|
+
};
|
|
3438
3545
|
export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase {
|
|
3439
3546
|
hits: SearchHitsMetadata<any>;
|
|
3440
3547
|
}
|
|
@@ -3491,7 +3598,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
|
|
3491
3598
|
buckets?: integer;
|
|
3492
3599
|
shard_size?: integer;
|
|
3493
3600
|
initial_buffer?: integer;
|
|
3494
|
-
script?: Script;
|
|
3601
|
+
script?: Script | string;
|
|
3495
3602
|
}
|
|
3496
3603
|
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
|
3497
3604
|
min: double;
|
|
@@ -3513,7 +3620,7 @@ export interface AggregationsWeightedAverageAggregation {
|
|
|
3513
3620
|
export interface AggregationsWeightedAverageValue {
|
|
3514
3621
|
field?: Field;
|
|
3515
3622
|
missing?: double;
|
|
3516
|
-
script?: Script;
|
|
3623
|
+
script?: Script | string;
|
|
3517
3624
|
}
|
|
3518
3625
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3519
3626
|
}
|
|
@@ -3551,7 +3658,7 @@ export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilter
|
|
|
3551
3658
|
export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
|
3552
3659
|
type: 'condition';
|
|
3553
3660
|
filter: string[];
|
|
3554
|
-
script: Script;
|
|
3661
|
+
script: Script | string;
|
|
3555
3662
|
}
|
|
3556
3663
|
export interface AnalysisCustomAnalyzer {
|
|
3557
3664
|
type: 'custom';
|
|
@@ -3862,18 +3969,18 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
|
|
|
3862
3969
|
export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
3863
3970
|
type: 'phonetic';
|
|
3864
3971
|
encoder: AnalysisPhoneticEncoder;
|
|
3865
|
-
languageset
|
|
3972
|
+
languageset?: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[];
|
|
3866
3973
|
max_code_len?: integer;
|
|
3867
|
-
name_type
|
|
3974
|
+
name_type?: AnalysisPhoneticNameType;
|
|
3868
3975
|
replace?: boolean;
|
|
3869
|
-
rule_type
|
|
3976
|
+
rule_type?: AnalysisPhoneticRuleType;
|
|
3870
3977
|
}
|
|
3871
3978
|
export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3872
3979
|
type: 'porter_stem';
|
|
3873
3980
|
}
|
|
3874
3981
|
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
|
3875
3982
|
type: 'predicate_token_filter';
|
|
3876
|
-
script: Script;
|
|
3983
|
+
script: Script | string;
|
|
3877
3984
|
}
|
|
3878
3985
|
export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilterBase {
|
|
3879
3986
|
type: 'remove_duplicates';
|
|
@@ -4111,8 +4218,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
|
|
4111
4218
|
}
|
|
4112
4219
|
export interface MappingDenseVectorIndexOptions {
|
|
4113
4220
|
type: string;
|
|
4114
|
-
m
|
|
4115
|
-
ef_construction
|
|
4221
|
+
m?: integer;
|
|
4222
|
+
ef_construction?: integer;
|
|
4223
|
+
confidence_interval?: float;
|
|
4116
4224
|
}
|
|
4117
4225
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4118
4226
|
type: 'dense_vector';
|
|
@@ -4139,7 +4247,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4139
4247
|
null_value?: FieldValue;
|
|
4140
4248
|
boost?: double;
|
|
4141
4249
|
coerce?: boolean;
|
|
4142
|
-
script?: Script;
|
|
4250
|
+
script?: Script | string;
|
|
4143
4251
|
on_script_error?: MappingOnScriptError;
|
|
4144
4252
|
ignore_malformed?: boolean;
|
|
4145
4253
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
@@ -4180,7 +4288,7 @@ export interface MappingFieldMapping {
|
|
|
4180
4288
|
export interface MappingFieldNamesField {
|
|
4181
4289
|
enabled: boolean;
|
|
4182
4290
|
}
|
|
4183
|
-
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4291
|
+
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'semantic_text' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4184
4292
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4185
4293
|
boost?: double;
|
|
4186
4294
|
depth_limit?: integer;
|
|
@@ -4207,7 +4315,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4207
4315
|
null_value?: GeoLocation;
|
|
4208
4316
|
index?: boolean;
|
|
4209
4317
|
on_script_error?: MappingOnScriptError;
|
|
4210
|
-
script?: Script;
|
|
4318
|
+
script?: Script | string;
|
|
4211
4319
|
type: 'geo_point';
|
|
4212
4320
|
}
|
|
4213
4321
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4263,7 +4371,7 @@ export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
|
4263
4371
|
ignore_malformed?: boolean;
|
|
4264
4372
|
null_value?: string;
|
|
4265
4373
|
on_script_error?: MappingOnScriptError;
|
|
4266
|
-
script?: Script;
|
|
4374
|
+
script?: Script | string;
|
|
4267
4375
|
time_series_dimension?: boolean;
|
|
4268
4376
|
type: 'ip';
|
|
4269
4377
|
}
|
|
@@ -4280,7 +4388,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4280
4388
|
eager_global_ordinals?: boolean;
|
|
4281
4389
|
index?: boolean;
|
|
4282
4390
|
index_options?: MappingIndexOptions;
|
|
4283
|
-
script?: Script;
|
|
4391
|
+
script?: Script | string;
|
|
4284
4392
|
on_script_error?: MappingOnScriptError;
|
|
4285
4393
|
normalizer?: string;
|
|
4286
4394
|
norms?: boolean;
|
|
@@ -4318,7 +4426,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
|
|
4318
4426
|
ignore_malformed?: boolean;
|
|
4319
4427
|
index?: boolean;
|
|
4320
4428
|
on_script_error?: MappingOnScriptError;
|
|
4321
|
-
script?: Script;
|
|
4429
|
+
script?: Script | string;
|
|
4322
4430
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4323
4431
|
time_series_dimension?: boolean;
|
|
4324
4432
|
}
|
|
@@ -4337,7 +4445,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4337
4445
|
null_value?: string;
|
|
4338
4446
|
type: 'point';
|
|
4339
4447
|
}
|
|
4340
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty |
|
|
4448
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
|
|
4341
4449
|
export interface MappingPropertyBase {
|
|
4342
4450
|
meta?: Record<string, string>;
|
|
4343
4451
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4367,7 +4475,7 @@ export interface MappingRuntimeField {
|
|
|
4367
4475
|
input_field?: Field;
|
|
4368
4476
|
target_field?: Field;
|
|
4369
4477
|
target_index?: IndexName;
|
|
4370
|
-
script?: Script;
|
|
4478
|
+
script?: Script | string;
|
|
4371
4479
|
type: MappingRuntimeFieldType;
|
|
4372
4480
|
}
|
|
4373
4481
|
export interface MappingRuntimeFieldFetchFields {
|
|
@@ -4392,6 +4500,11 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4392
4500
|
term_vector?: MappingTermVectorOption;
|
|
4393
4501
|
type: 'search_as_you_type';
|
|
4394
4502
|
}
|
|
4503
|
+
export interface MappingSemanticTextProperty {
|
|
4504
|
+
type: 'semantic_text';
|
|
4505
|
+
meta?: Record<string, string>;
|
|
4506
|
+
inference_id: Id;
|
|
4507
|
+
}
|
|
4395
4508
|
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
4396
4509
|
coerce?: boolean;
|
|
4397
4510
|
ignore_malformed?: boolean;
|
|
@@ -4519,25 +4632,19 @@ export interface QueryDslCommonTermsQuery extends QueryDslQueryBase {
|
|
|
4519
4632
|
export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
4520
4633
|
filter: QueryDslQueryContainer;
|
|
4521
4634
|
}
|
|
4522
|
-
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4635
|
+
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase<DateMath, Duration> {
|
|
4523
4636
|
}
|
|
4524
4637
|
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4525
4638
|
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4526
4639
|
};
|
|
4527
4640
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
4528
4641
|
}
|
|
4529
|
-
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase {
|
|
4530
|
-
gt?: DateMath;
|
|
4531
|
-
gte?: DateMath;
|
|
4532
|
-
lt?: DateMath;
|
|
4533
|
-
lte?: DateMath;
|
|
4534
|
-
from?: DateMath | null;
|
|
4535
|
-
to?: DateMath | null;
|
|
4642
|
+
export interface QueryDslDateRangeQuery extends QueryDslRangeQueryBase<DateMath> {
|
|
4536
4643
|
format?: DateFormat;
|
|
4537
4644
|
time_zone?: TimeZone;
|
|
4538
4645
|
}
|
|
4539
|
-
export type QueryDslDecayFunction = QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4540
|
-
export interface QueryDslDecayFunctionBase {
|
|
4646
|
+
export type QueryDslDecayFunction = QueryDslUntypedDecayFunction | QueryDslDateDecayFunction | QueryDslNumericDecayFunction | QueryDslGeoDecayFunction;
|
|
4647
|
+
export interface QueryDslDecayFunctionBase<TOrigin = unknown, TScale = unknown> {
|
|
4541
4648
|
multi_value_mode?: QueryDslMultiValueMode;
|
|
4542
4649
|
}
|
|
4543
4650
|
export interface QueryDslDecayPlacement<TOrigin = unknown, TScale = unknown> {
|
|
@@ -4550,7 +4657,7 @@ export interface QueryDslDisMaxQuery extends QueryDslQueryBase {
|
|
|
4550
4657
|
queries: QueryDslQueryContainer[];
|
|
4551
4658
|
tie_breaker?: double;
|
|
4552
4659
|
}
|
|
4553
|
-
export type QueryDslDistanceFeatureQuery = QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4660
|
+
export type QueryDslDistanceFeatureQuery = QueryDslUntypedDistanceFeatureQuery | QueryDslGeoDistanceFeatureQuery | QueryDslDateDistanceFeatureQuery;
|
|
4554
4661
|
export interface QueryDslDistanceFeatureQueryBase<TOrigin = unknown, TDistance = unknown> extends QueryDslQueryBase {
|
|
4555
4662
|
origin: TOrigin;
|
|
4556
4663
|
pivot: TDistance;
|
|
@@ -4613,7 +4720,7 @@ export interface QueryDslGeoBoundingBoxQueryKeys extends QueryDslQueryBase {
|
|
|
4613
4720
|
export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
4614
4721
|
[property: string]: GeoBounds | QueryDslGeoExecution | QueryDslGeoValidationMethod | boolean | float | string;
|
|
4615
4722
|
};
|
|
4616
|
-
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4723
|
+
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase<GeoLocation, Distance> {
|
|
4617
4724
|
}
|
|
4618
4725
|
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4619
4726
|
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
@@ -4698,7 +4805,7 @@ export interface QueryDslIntervalsFilter {
|
|
|
4698
4805
|
not_containing?: QueryDslIntervalsContainer;
|
|
4699
4806
|
not_overlapping?: QueryDslIntervalsContainer;
|
|
4700
4807
|
overlapping?: QueryDslIntervalsContainer;
|
|
4701
|
-
script?: Script;
|
|
4808
|
+
script?: Script | string;
|
|
4702
4809
|
}
|
|
4703
4810
|
export interface QueryDslIntervalsFuzzy {
|
|
4704
4811
|
analyzer?: string;
|
|
@@ -4835,15 +4942,9 @@ export interface QueryDslNestedQuery extends QueryDslQueryBase {
|
|
|
4835
4942
|
query: QueryDslQueryContainer;
|
|
4836
4943
|
score_mode?: QueryDslChildScoreMode;
|
|
4837
4944
|
}
|
|
4838
|
-
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
4839
|
-
gt?: double;
|
|
4840
|
-
gte?: double;
|
|
4841
|
-
lt?: double;
|
|
4842
|
-
lte?: double;
|
|
4843
|
-
from?: double | null;
|
|
4844
|
-
to?: double | null;
|
|
4945
|
+
export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase<double> {
|
|
4845
4946
|
}
|
|
4846
|
-
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4947
|
+
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase<double, double> {
|
|
4847
4948
|
}
|
|
4848
4949
|
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4849
4950
|
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
@@ -4920,9 +5021,10 @@ export interface QueryDslQueryContainer {
|
|
|
4920
5021
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4921
5022
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4922
5023
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4923
|
-
|
|
5024
|
+
rule?: QueryDslRuleQuery;
|
|
4924
5025
|
script?: QueryDslScriptQuery;
|
|
4925
5026
|
script_score?: QueryDslScriptScoreQuery;
|
|
5027
|
+
semantic?: QueryDslSemanticQuery;
|
|
4926
5028
|
shape?: QueryDslShapeQuery;
|
|
4927
5029
|
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
4928
5030
|
span_containing?: QueryDslSpanContainingQuery;
|
|
@@ -4934,6 +5036,7 @@ export interface QueryDslQueryContainer {
|
|
|
4934
5036
|
span_or?: QueryDslSpanOrQuery;
|
|
4935
5037
|
span_term?: Partial<Record<Field, QueryDslSpanTermQuery | string>>;
|
|
4936
5038
|
span_within?: QueryDslSpanWithinQuery;
|
|
5039
|
+
sparse_vector?: QueryDslSparseVectorQuery;
|
|
4937
5040
|
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
4938
5041
|
terms?: QueryDslTermsQuery;
|
|
4939
5042
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
@@ -4974,9 +5077,15 @@ export interface QueryDslRandomScoreFunction {
|
|
|
4974
5077
|
field?: Field;
|
|
4975
5078
|
seed?: long | string;
|
|
4976
5079
|
}
|
|
4977
|
-
export type QueryDslRangeQuery = QueryDslDateRangeQuery | QueryDslNumberRangeQuery;
|
|
4978
|
-
export interface QueryDslRangeQueryBase extends QueryDslQueryBase {
|
|
5080
|
+
export type QueryDslRangeQuery = QueryDslUntypedRangeQuery | QueryDslDateRangeQuery | QueryDslNumberRangeQuery | QueryDslTermRangeQuery;
|
|
5081
|
+
export interface QueryDslRangeQueryBase<T = unknown> extends QueryDslQueryBase {
|
|
4979
5082
|
relation?: QueryDslRangeRelation;
|
|
5083
|
+
gt?: T;
|
|
5084
|
+
gte?: T;
|
|
5085
|
+
lt?: T;
|
|
5086
|
+
lte?: T;
|
|
5087
|
+
from?: T | null;
|
|
5088
|
+
to?: T | null;
|
|
4980
5089
|
}
|
|
4981
5090
|
export type QueryDslRangeRelation = 'within' | 'contains' | 'intersects';
|
|
4982
5091
|
export interface QueryDslRankFeatureFunction {
|
|
@@ -5009,19 +5118,23 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
5009
5118
|
}
|
|
5010
5119
|
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
5011
5120
|
organic: QueryDslQueryContainer;
|
|
5012
|
-
|
|
5121
|
+
ruleset_ids: Id[];
|
|
5013
5122
|
match_criteria: any;
|
|
5014
5123
|
}
|
|
5015
5124
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
5016
|
-
script: Script;
|
|
5125
|
+
script: Script | string;
|
|
5017
5126
|
}
|
|
5018
5127
|
export interface QueryDslScriptScoreFunction {
|
|
5019
|
-
script: Script;
|
|
5128
|
+
script: Script | string;
|
|
5020
5129
|
}
|
|
5021
5130
|
export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
|
|
5022
5131
|
min_score?: float;
|
|
5023
5132
|
query: QueryDslQueryContainer;
|
|
5024
|
-
script: Script;
|
|
5133
|
+
script: Script | string;
|
|
5134
|
+
}
|
|
5135
|
+
export interface QueryDslSemanticQuery extends QueryDslQueryBase {
|
|
5136
|
+
field: string;
|
|
5137
|
+
query: string;
|
|
5025
5138
|
}
|
|
5026
5139
|
export interface QueryDslShapeFieldQuery {
|
|
5027
5140
|
indexed_shape?: QueryDslFieldLookup;
|
|
@@ -5101,10 +5214,20 @@ export interface QueryDslSpanWithinQuery extends QueryDslQueryBase {
|
|
|
5101
5214
|
big: QueryDslSpanQuery;
|
|
5102
5215
|
little: QueryDslSpanQuery;
|
|
5103
5216
|
}
|
|
5217
|
+
export interface QueryDslSparseVectorQuery extends QueryDslQueryBase {
|
|
5218
|
+
field: Field;
|
|
5219
|
+
query_vector?: Record<string, float>;
|
|
5220
|
+
inference_id?: Id;
|
|
5221
|
+
query?: string;
|
|
5222
|
+
prune?: boolean;
|
|
5223
|
+
pruning_config?: QueryDslTokenPruningConfig;
|
|
5224
|
+
}
|
|
5104
5225
|
export interface QueryDslTermQuery extends QueryDslQueryBase {
|
|
5105
5226
|
value: FieldValue;
|
|
5106
5227
|
case_insensitive?: boolean;
|
|
5107
5228
|
}
|
|
5229
|
+
export interface QueryDslTermRangeQuery extends QueryDslRangeQueryBase<string> {
|
|
5230
|
+
}
|
|
5108
5231
|
export interface QueryDslTermsLookup {
|
|
5109
5232
|
index: IndexName;
|
|
5110
5233
|
id: Id;
|
|
@@ -5118,8 +5241,9 @@ export type QueryDslTermsQuery = QueryDslTermsQueryKeys & {
|
|
|
5118
5241
|
};
|
|
5119
5242
|
export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup;
|
|
5120
5243
|
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
5244
|
+
minimum_should_match?: MinimumShouldMatch;
|
|
5121
5245
|
minimum_should_match_field?: Field;
|
|
5122
|
-
minimum_should_match_script?: Script;
|
|
5246
|
+
minimum_should_match_script?: Script | string;
|
|
5123
5247
|
terms: string[];
|
|
5124
5248
|
}
|
|
5125
5249
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
@@ -5136,6 +5260,17 @@ export interface QueryDslTokenPruningConfig {
|
|
|
5136
5260
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5137
5261
|
value: string;
|
|
5138
5262
|
}
|
|
5263
|
+
export interface QueryDslUntypedDecayFunctionKeys extends QueryDslDecayFunctionBase<any, any> {
|
|
5264
|
+
}
|
|
5265
|
+
export type QueryDslUntypedDecayFunction = QueryDslUntypedDecayFunctionKeys & {
|
|
5266
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
5267
|
+
};
|
|
5268
|
+
export interface QueryDslUntypedDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<any, any> {
|
|
5269
|
+
}
|
|
5270
|
+
export interface QueryDslUntypedRangeQuery extends QueryDslRangeQueryBase<any> {
|
|
5271
|
+
format?: DateFormat;
|
|
5272
|
+
time_zone?: TimeZone;
|
|
5273
|
+
}
|
|
5139
5274
|
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5140
5275
|
tokens: Record<string, float>;
|
|
5141
5276
|
pruning_config?: QueryDslTokenPruningConfig;
|
|
@@ -5351,28 +5486,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5351
5486
|
}
|
|
5352
5487
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5353
5488
|
export interface CatAllocationAllocationRecord {
|
|
5354
|
-
shards
|
|
5355
|
-
s
|
|
5356
|
-
'
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5489
|
+
shards: string;
|
|
5490
|
+
s: string;
|
|
5491
|
+
'shards.undesired': string | null;
|
|
5492
|
+
'write_load.forecast': double | null;
|
|
5493
|
+
wlf: double | null;
|
|
5494
|
+
writeLoadForecast: double | null;
|
|
5495
|
+
'disk.indices.forecast': ByteSize | null;
|
|
5496
|
+
dif: ByteSize | null;
|
|
5497
|
+
diskIndicesForecast: ByteSize | null;
|
|
5498
|
+
'disk.indices': ByteSize | null;
|
|
5499
|
+
di: ByteSize | null;
|
|
5500
|
+
diskIndices: ByteSize | null;
|
|
5501
|
+
'disk.used': ByteSize | null;
|
|
5502
|
+
du: ByteSize | null;
|
|
5503
|
+
diskUsed: ByteSize | null;
|
|
5504
|
+
'disk.avail': ByteSize | null;
|
|
5505
|
+
da: ByteSize | null;
|
|
5506
|
+
diskAvail: ByteSize | null;
|
|
5507
|
+
'disk.total': ByteSize | null;
|
|
5508
|
+
dt: ByteSize | null;
|
|
5509
|
+
diskTotal: ByteSize | null;
|
|
5510
|
+
'disk.percent': Percentage | null;
|
|
5511
|
+
dp: Percentage | null;
|
|
5512
|
+
diskPercent: Percentage | null;
|
|
5513
|
+
host: Host | null;
|
|
5514
|
+
h: Host | null;
|
|
5515
|
+
ip: Ip | null;
|
|
5516
|
+
node: string;
|
|
5517
|
+
n: string;
|
|
5518
|
+
'node.role': string | null;
|
|
5519
|
+
r: string | null;
|
|
5520
|
+
role: string | null;
|
|
5521
|
+
nodeRole: string | null;
|
|
5376
5522
|
}
|
|
5377
5523
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5378
5524
|
node_id?: NodeIds;
|
|
@@ -5516,6 +5662,7 @@ export interface CatIndicesIndicesRecord {
|
|
|
5516
5662
|
ss?: string | null;
|
|
5517
5663
|
storeSize?: string | null;
|
|
5518
5664
|
'pri.store.size'?: string | null;
|
|
5665
|
+
'dataset.size'?: string | null;
|
|
5519
5666
|
'completion.size'?: string;
|
|
5520
5667
|
cs?: string;
|
|
5521
5668
|
completionSize?: string;
|
|
@@ -6592,6 +6739,7 @@ export interface CatShardsShardsRecord {
|
|
|
6592
6739
|
dc?: string | null;
|
|
6593
6740
|
store?: string | null;
|
|
6594
6741
|
sto?: string | null;
|
|
6742
|
+
dataset?: string | null;
|
|
6595
6743
|
ip?: string | null;
|
|
6596
6744
|
id?: string;
|
|
6597
6745
|
node?: string | null;
|
|
@@ -7800,14 +7948,15 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
|
7800
7948
|
}
|
|
7801
7949
|
export interface ConnectorConnector {
|
|
7802
7950
|
api_key_id?: string;
|
|
7951
|
+
api_key_secret_id?: string;
|
|
7803
7952
|
configuration: ConnectorConnectorConfiguration;
|
|
7804
7953
|
custom_scheduling: ConnectorConnectorCustomScheduling;
|
|
7805
7954
|
description?: string;
|
|
7806
|
-
error?: string;
|
|
7955
|
+
error?: string | null;
|
|
7807
7956
|
features?: ConnectorConnectorFeatures;
|
|
7808
7957
|
filtering: ConnectorFilteringConfig[];
|
|
7809
7958
|
id?: Id;
|
|
7810
|
-
index_name?: IndexName;
|
|
7959
|
+
index_name?: IndexName | null;
|
|
7811
7960
|
is_native: boolean;
|
|
7812
7961
|
language?: string;
|
|
7813
7962
|
last_access_control_sync_error?: string;
|
|
@@ -7824,8 +7973,9 @@ export interface ConnectorConnector {
|
|
|
7824
7973
|
name?: string;
|
|
7825
7974
|
pipeline?: ConnectorIngestPipelineParams;
|
|
7826
7975
|
scheduling: ConnectorSchedulingConfiguration;
|
|
7827
|
-
service_type
|
|
7976
|
+
service_type?: string;
|
|
7828
7977
|
status: ConnectorConnectorStatus;
|
|
7978
|
+
sync_cursor?: any;
|
|
7829
7979
|
sync_now: boolean;
|
|
7830
7980
|
}
|
|
7831
7981
|
export interface ConnectorConnectorConfigProperties {
|
|
@@ -7839,19 +7989,18 @@ export interface ConnectorConnectorConfigProperties {
|
|
|
7839
7989
|
placeholder?: string;
|
|
7840
7990
|
required: boolean;
|
|
7841
7991
|
sensitive: boolean;
|
|
7842
|
-
tooltip?: string;
|
|
7843
|
-
type
|
|
7844
|
-
ui_restrictions
|
|
7845
|
-
validations
|
|
7846
|
-
value:
|
|
7992
|
+
tooltip?: string | null;
|
|
7993
|
+
type?: ConnectorConnectorFieldType;
|
|
7994
|
+
ui_restrictions?: string[];
|
|
7995
|
+
validations?: ConnectorValidation[];
|
|
7996
|
+
value: any;
|
|
7847
7997
|
}
|
|
7848
7998
|
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
|
|
7849
7999
|
export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
|
|
7850
8000
|
export interface ConnectorConnectorFeatures {
|
|
7851
8001
|
document_level_security?: ConnectorFeatureEnabled;
|
|
7852
|
-
filtering_advanced_config?: boolean;
|
|
7853
|
-
filtering_rules?: boolean;
|
|
7854
8002
|
incremental_sync?: ConnectorFeatureEnabled;
|
|
8003
|
+
native_connector_api_keys?: ConnectorFeatureEnabled;
|
|
7855
8004
|
sync_rules?: ConnectorSyncRulesFeature;
|
|
7856
8005
|
}
|
|
7857
8006
|
export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
|
|
@@ -7909,7 +8058,7 @@ export interface ConnectorFilteringAdvancedSnippet {
|
|
|
7909
8058
|
}
|
|
7910
8059
|
export interface ConnectorFilteringConfig {
|
|
7911
8060
|
active: ConnectorFilteringRules;
|
|
7912
|
-
domain
|
|
8061
|
+
domain?: string;
|
|
7913
8062
|
draft: ConnectorFilteringRules;
|
|
7914
8063
|
}
|
|
7915
8064
|
export type ConnectorFilteringPolicy = 'exclude' | 'include';
|
|
@@ -7944,7 +8093,7 @@ export interface ConnectorGreaterThanValidation {
|
|
|
7944
8093
|
}
|
|
7945
8094
|
export interface ConnectorIncludedInValidation {
|
|
7946
8095
|
type: 'included_in';
|
|
7947
|
-
constraint:
|
|
8096
|
+
constraint: ScalarValue[];
|
|
7948
8097
|
}
|
|
7949
8098
|
export interface ConnectorIngestPipelineParams {
|
|
7950
8099
|
extract_binary_content: boolean;
|
|
@@ -7958,7 +8107,7 @@ export interface ConnectorLessThanValidation {
|
|
|
7958
8107
|
}
|
|
7959
8108
|
export interface ConnectorListTypeValidation {
|
|
7960
8109
|
type: 'list_type';
|
|
7961
|
-
constraint:
|
|
8110
|
+
constraint: string;
|
|
7962
8111
|
}
|
|
7963
8112
|
export interface ConnectorRegexValidation {
|
|
7964
8113
|
type: 'regex';
|
|
@@ -7971,7 +8120,7 @@ export interface ConnectorSchedulingConfiguration {
|
|
|
7971
8120
|
}
|
|
7972
8121
|
export interface ConnectorSelectOption {
|
|
7973
8122
|
label: string;
|
|
7974
|
-
value:
|
|
8123
|
+
value: ScalarValue;
|
|
7975
8124
|
}
|
|
7976
8125
|
export interface ConnectorSyncJobConnectorReference {
|
|
7977
8126
|
configuration: ConnectorConnectorConfiguration;
|
|
@@ -7981,6 +8130,7 @@ export interface ConnectorSyncJobConnectorReference {
|
|
|
7981
8130
|
language?: string;
|
|
7982
8131
|
pipeline?: ConnectorIngestPipelineParams;
|
|
7983
8132
|
service_type: string;
|
|
8133
|
+
sync_cursor?: any;
|
|
7984
8134
|
}
|
|
7985
8135
|
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
|
|
7986
8136
|
export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
|
|
@@ -7998,7 +8148,7 @@ export interface ConnectorCheckInResponse {
|
|
|
7998
8148
|
}
|
|
7999
8149
|
export interface ConnectorDeleteRequest extends RequestBase {
|
|
8000
8150
|
connector_id: Id;
|
|
8001
|
-
delete_sync_jobs
|
|
8151
|
+
delete_sync_jobs?: boolean;
|
|
8002
8152
|
}
|
|
8003
8153
|
export type ConnectorDeleteResponse = AcknowledgedResponseBase;
|
|
8004
8154
|
export interface ConnectorGetRequest extends RequestBase {
|
|
@@ -8007,17 +8157,18 @@ export interface ConnectorGetRequest extends RequestBase {
|
|
|
8007
8157
|
export type ConnectorGetResponse = ConnectorConnector;
|
|
8008
8158
|
export interface ConnectorLastSyncRequest extends RequestBase {
|
|
8009
8159
|
connector_id: Id;
|
|
8010
|
-
last_access_control_sync_error?:
|
|
8160
|
+
last_access_control_sync_error?: string;
|
|
8011
8161
|
last_access_control_sync_scheduled_at?: DateTime;
|
|
8012
8162
|
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
8013
8163
|
last_deleted_document_count?: long;
|
|
8014
8164
|
last_incremental_sync_scheduled_at?: DateTime;
|
|
8015
8165
|
last_indexed_document_count?: long;
|
|
8016
|
-
last_seen?:
|
|
8017
|
-
last_sync_error?:
|
|
8166
|
+
last_seen?: DateTime;
|
|
8167
|
+
last_sync_error?: string;
|
|
8018
8168
|
last_sync_scheduled_at?: DateTime;
|
|
8019
8169
|
last_sync_status?: ConnectorSyncStatus;
|
|
8020
8170
|
last_synced?: DateTime;
|
|
8171
|
+
sync_cursor?: any;
|
|
8021
8172
|
}
|
|
8022
8173
|
export interface ConnectorLastSyncResponse {
|
|
8023
8174
|
result: Result;
|
|
@@ -8036,19 +8187,20 @@ export interface ConnectorListResponse {
|
|
|
8036
8187
|
}
|
|
8037
8188
|
export interface ConnectorPostRequest extends RequestBase {
|
|
8038
8189
|
description?: string;
|
|
8039
|
-
index_name
|
|
8190
|
+
index_name?: IndexName;
|
|
8040
8191
|
is_native?: boolean;
|
|
8041
8192
|
language?: string;
|
|
8042
8193
|
name?: string;
|
|
8043
8194
|
service_type?: string;
|
|
8044
8195
|
}
|
|
8045
8196
|
export interface ConnectorPostResponse {
|
|
8197
|
+
result: Result;
|
|
8046
8198
|
id: Id;
|
|
8047
8199
|
}
|
|
8048
8200
|
export interface ConnectorPutRequest extends RequestBase {
|
|
8049
|
-
connector_id
|
|
8201
|
+
connector_id?: Id;
|
|
8050
8202
|
description?: string;
|
|
8051
|
-
index_name
|
|
8203
|
+
index_name?: IndexName;
|
|
8052
8204
|
is_native?: boolean;
|
|
8053
8205
|
language?: string;
|
|
8054
8206
|
name?: string;
|
|
@@ -8056,6 +8208,7 @@ export interface ConnectorPutRequest extends RequestBase {
|
|
|
8056
8208
|
}
|
|
8057
8209
|
export interface ConnectorPutResponse {
|
|
8058
8210
|
result: Result;
|
|
8211
|
+
id: Id;
|
|
8059
8212
|
}
|
|
8060
8213
|
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
8061
8214
|
connector_sync_job_id: Id;
|
|
@@ -8076,7 +8229,7 @@ export interface ConnectorSyncJobListRequest extends RequestBase {
|
|
|
8076
8229
|
size?: integer;
|
|
8077
8230
|
status?: ConnectorSyncStatus;
|
|
8078
8231
|
connector_id?: Id;
|
|
8079
|
-
job_type?: ConnectorSyncJobType[];
|
|
8232
|
+
job_type?: ConnectorSyncJobType | ConnectorSyncJobType[];
|
|
8080
8233
|
}
|
|
8081
8234
|
export interface ConnectorSyncJobListResponse {
|
|
8082
8235
|
count: long;
|
|
@@ -8098,8 +8251,8 @@ export interface ConnectorUpdateActiveFilteringResponse {
|
|
|
8098
8251
|
}
|
|
8099
8252
|
export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
|
8100
8253
|
connector_id: Id;
|
|
8101
|
-
api_key_id?:
|
|
8102
|
-
api_key_secret_id?:
|
|
8254
|
+
api_key_id?: string;
|
|
8255
|
+
api_key_secret_id?: string;
|
|
8103
8256
|
}
|
|
8104
8257
|
export interface ConnectorUpdateApiKeyIdResponse {
|
|
8105
8258
|
result: Result;
|
|
@@ -8144,7 +8297,7 @@ export interface ConnectorUpdateIndexNameResponse {
|
|
|
8144
8297
|
}
|
|
8145
8298
|
export interface ConnectorUpdateNameRequest extends RequestBase {
|
|
8146
8299
|
connector_id: Id;
|
|
8147
|
-
name
|
|
8300
|
+
name?: string;
|
|
8148
8301
|
description?: string;
|
|
8149
8302
|
}
|
|
8150
8303
|
export interface ConnectorUpdateNameResponse {
|
|
@@ -8255,7 +8408,9 @@ export interface EnrichStatsCacheStats {
|
|
|
8255
8408
|
node_id: Id;
|
|
8256
8409
|
count: integer;
|
|
8257
8410
|
hits: integer;
|
|
8411
|
+
hits_time_in_millis: DurationValue<UnitMillis>;
|
|
8258
8412
|
misses: integer;
|
|
8413
|
+
misses_time_in_millis: DurationValue<UnitMillis>;
|
|
8259
8414
|
evictions: integer;
|
|
8260
8415
|
}
|
|
8261
8416
|
export interface EnrichStatsCoordinatorStats {
|
|
@@ -8293,11 +8448,12 @@ export interface EqlHitsEvent<TEvent = unknown> {
|
|
|
8293
8448
|
_index: IndexName;
|
|
8294
8449
|
_id: Id;
|
|
8295
8450
|
_source: TEvent;
|
|
8451
|
+
missing?: boolean;
|
|
8296
8452
|
fields?: Record<Field, any[]>;
|
|
8297
8453
|
}
|
|
8298
8454
|
export interface EqlHitsSequence<TEvent = unknown> {
|
|
8299
8455
|
events: EqlHitsEvent<TEvent>[];
|
|
8300
|
-
join_keys
|
|
8456
|
+
join_keys?: any[];
|
|
8301
8457
|
}
|
|
8302
8458
|
export interface EqlDeleteRequest extends RequestBase {
|
|
8303
8459
|
id: Id;
|
|
@@ -8342,8 +8498,9 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8342
8498
|
}
|
|
8343
8499
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8344
8500
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
8501
|
+
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8345
8502
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8346
|
-
format?:
|
|
8503
|
+
format?: EsqlQueryEsqlFormat;
|
|
8347
8504
|
delimiter?: string;
|
|
8348
8505
|
columnar?: boolean;
|
|
8349
8506
|
filter?: QueryDslQueryContainer;
|
|
@@ -8535,19 +8692,45 @@ export interface GraphExploreResponse {
|
|
|
8535
8692
|
took: long;
|
|
8536
8693
|
vertices: GraphVertex[];
|
|
8537
8694
|
}
|
|
8538
|
-
export
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8695
|
+
export interface IlmActions {
|
|
8696
|
+
allocate?: IlmAllocateAction;
|
|
8697
|
+
delete?: IlmDeleteAction;
|
|
8698
|
+
downsample?: IlmDownsampleAction;
|
|
8699
|
+
freeze?: EmptyObject;
|
|
8700
|
+
forcemerge?: IlmForceMergeAction;
|
|
8701
|
+
migrate?: IlmMigrateAction;
|
|
8702
|
+
readonly?: EmptyObject;
|
|
8703
|
+
rollover?: IlmRolloverAction;
|
|
8704
|
+
set_priority?: IlmSetPriorityAction;
|
|
8705
|
+
searchable_snapshot?: IlmSearchableSnapshotAction;
|
|
8706
|
+
shrink?: IlmShrinkAction;
|
|
8707
|
+
unfollow?: EmptyObject;
|
|
8708
|
+
wait_for_snapshot?: IlmWaitForSnapshotAction;
|
|
8709
|
+
}
|
|
8710
|
+
export interface IlmAllocateAction {
|
|
8711
|
+
number_of_replicas?: integer;
|
|
8712
|
+
total_shards_per_node?: integer;
|
|
8713
|
+
include?: Record<string, string>;
|
|
8714
|
+
exclude?: Record<string, string>;
|
|
8715
|
+
require?: Record<string, string>;
|
|
8716
|
+
}
|
|
8717
|
+
export interface IlmDeleteAction {
|
|
8718
|
+
delete_searchable_snapshot?: boolean;
|
|
8719
|
+
}
|
|
8720
|
+
export interface IlmDownsampleAction {
|
|
8721
|
+
fixed_interval: DurationLarge;
|
|
8722
|
+
wait_timeout?: Duration;
|
|
8543
8723
|
}
|
|
8544
|
-
export interface
|
|
8724
|
+
export interface IlmForceMergeAction {
|
|
8545
8725
|
max_num_segments: integer;
|
|
8726
|
+
index_codec?: string;
|
|
8727
|
+
}
|
|
8728
|
+
export interface IlmMigrateAction {
|
|
8729
|
+
enabled?: boolean;
|
|
8546
8730
|
}
|
|
8547
8731
|
export interface IlmPhase {
|
|
8548
8732
|
actions?: IlmActions;
|
|
8549
8733
|
min_age?: Duration | long;
|
|
8550
|
-
configurations?: IlmConfigurations;
|
|
8551
8734
|
}
|
|
8552
8735
|
export interface IlmPhases {
|
|
8553
8736
|
cold?: IlmPhase;
|
|
@@ -8560,8 +8743,32 @@ export interface IlmPolicy {
|
|
|
8560
8743
|
phases: IlmPhases;
|
|
8561
8744
|
_meta?: Metadata;
|
|
8562
8745
|
}
|
|
8563
|
-
export interface
|
|
8564
|
-
|
|
8746
|
+
export interface IlmRolloverAction {
|
|
8747
|
+
max_size?: ByteSize;
|
|
8748
|
+
max_primary_shard_size?: ByteSize;
|
|
8749
|
+
max_age?: Duration;
|
|
8750
|
+
max_docs?: long;
|
|
8751
|
+
max_primary_shard_docs?: long;
|
|
8752
|
+
min_size?: ByteSize;
|
|
8753
|
+
min_primary_shard_size?: ByteSize;
|
|
8754
|
+
min_age?: Duration;
|
|
8755
|
+
min_docs?: long;
|
|
8756
|
+
min_primary_shard_docs?: long;
|
|
8757
|
+
}
|
|
8758
|
+
export interface IlmSearchableSnapshotAction {
|
|
8759
|
+
snapshot_repository: string;
|
|
8760
|
+
force_merge_index?: boolean;
|
|
8761
|
+
}
|
|
8762
|
+
export interface IlmSetPriorityAction {
|
|
8763
|
+
priority?: integer;
|
|
8764
|
+
}
|
|
8765
|
+
export interface IlmShrinkAction {
|
|
8766
|
+
number_of_shards?: integer;
|
|
8767
|
+
max_primary_shard_size?: ByteSize;
|
|
8768
|
+
allow_write_after_shrink?: boolean;
|
|
8769
|
+
}
|
|
8770
|
+
export interface IlmWaitForSnapshotAction {
|
|
8771
|
+
policy: string;
|
|
8565
8772
|
}
|
|
8566
8773
|
export interface IlmDeleteLifecycleRequest extends RequestBase {
|
|
8567
8774
|
name: Name;
|
|
@@ -8646,13 +8853,13 @@ export interface IlmMigrateToDataTiersResponse {
|
|
|
8646
8853
|
}
|
|
8647
8854
|
export interface IlmMoveToStepRequest extends RequestBase {
|
|
8648
8855
|
index: IndexName;
|
|
8649
|
-
current_step
|
|
8650
|
-
next_step
|
|
8856
|
+
current_step: IlmMoveToStepStepKey;
|
|
8857
|
+
next_step: IlmMoveToStepStepKey;
|
|
8651
8858
|
}
|
|
8652
8859
|
export type IlmMoveToStepResponse = AcknowledgedResponseBase;
|
|
8653
8860
|
export interface IlmMoveToStepStepKey {
|
|
8654
|
-
action
|
|
8655
|
-
name
|
|
8861
|
+
action?: string;
|
|
8862
|
+
name?: string;
|
|
8656
8863
|
phase: string;
|
|
8657
8864
|
}
|
|
8658
8865
|
export interface IlmPutLifecycleRequest extends RequestBase {
|
|
@@ -8755,6 +8962,7 @@ export interface IndicesDataStreamTimestampField {
|
|
|
8755
8962
|
}
|
|
8756
8963
|
export interface IndicesDataStreamVisibility {
|
|
8757
8964
|
hidden?: boolean;
|
|
8965
|
+
allow_custom_routing?: boolean;
|
|
8758
8966
|
}
|
|
8759
8967
|
export interface IndicesDownsampleConfig {
|
|
8760
8968
|
fixed_interval: DurationLarge;
|
|
@@ -9039,8 +9247,8 @@ export interface IndicesSettingsSimilarityLmj {
|
|
|
9039
9247
|
}
|
|
9040
9248
|
export interface IndicesSettingsSimilarityScripted {
|
|
9041
9249
|
type: 'scripted';
|
|
9042
|
-
script: Script;
|
|
9043
|
-
weight_script?: Script;
|
|
9250
|
+
script: Script | string;
|
|
9251
|
+
weight_script?: Script | string;
|
|
9044
9252
|
}
|
|
9045
9253
|
export interface IndicesSlowlogSettings {
|
|
9046
9254
|
level?: string;
|
|
@@ -9787,6 +9995,8 @@ export type IndicesResolveClusterResponse = Record<ClusterAlias, IndicesResolveC
|
|
|
9787
9995
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9788
9996
|
name: Names;
|
|
9789
9997
|
expand_wildcards?: ExpandWildcards;
|
|
9998
|
+
ignore_unavailable?: boolean;
|
|
9999
|
+
allow_no_indices?: boolean;
|
|
9790
10000
|
}
|
|
9791
10001
|
export interface IndicesResolveIndexResolveIndexAliasItem {
|
|
9792
10002
|
name: Name;
|
|
@@ -10201,8 +10411,20 @@ export interface IndicesValidateQueryResponse {
|
|
|
10201
10411
|
export interface InferenceCompletionResult {
|
|
10202
10412
|
result: string;
|
|
10203
10413
|
}
|
|
10414
|
+
export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
|
|
10415
|
+
pipelines: string[];
|
|
10416
|
+
}
|
|
10204
10417
|
export type InferenceDenseByteVector = byte[];
|
|
10205
10418
|
export type InferenceDenseVector = float[];
|
|
10419
|
+
export interface InferenceInferenceEndpoint {
|
|
10420
|
+
service: string;
|
|
10421
|
+
service_settings: InferenceServiceSettings;
|
|
10422
|
+
task_settings: InferenceTaskSettings;
|
|
10423
|
+
}
|
|
10424
|
+
export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
|
|
10425
|
+
inference_id: string;
|
|
10426
|
+
task_type: InferenceTaskType;
|
|
10427
|
+
}
|
|
10206
10428
|
export interface InferenceInferenceResult {
|
|
10207
10429
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
10208
10430
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
@@ -10210,15 +10432,6 @@ export interface InferenceInferenceResult {
|
|
|
10210
10432
|
completion?: InferenceCompletionResult[];
|
|
10211
10433
|
rerank?: InferenceRankedDocument[];
|
|
10212
10434
|
}
|
|
10213
|
-
export interface InferenceModelConfig {
|
|
10214
|
-
service: string;
|
|
10215
|
-
service_settings: InferenceServiceSettings;
|
|
10216
|
-
task_settings: InferenceTaskSettings;
|
|
10217
|
-
}
|
|
10218
|
-
export interface InferenceModelConfigContainer extends InferenceModelConfig {
|
|
10219
|
-
model_id: string;
|
|
10220
|
-
task_type: InferenceTaskType;
|
|
10221
|
-
}
|
|
10222
10435
|
export interface InferenceRankedDocument {
|
|
10223
10436
|
index: integer;
|
|
10224
10437
|
score: float;
|
|
@@ -10237,17 +10450,19 @@ export interface InferenceTextEmbeddingByteResult {
|
|
|
10237
10450
|
export interface InferenceTextEmbeddingResult {
|
|
10238
10451
|
embedding: InferenceDenseVector;
|
|
10239
10452
|
}
|
|
10240
|
-
export interface
|
|
10453
|
+
export interface InferenceDeleteRequest extends RequestBase {
|
|
10241
10454
|
task_type?: InferenceTaskType;
|
|
10242
10455
|
inference_id: Id;
|
|
10456
|
+
dry_run?: boolean;
|
|
10457
|
+
force?: boolean;
|
|
10243
10458
|
}
|
|
10244
|
-
export type
|
|
10245
|
-
export interface
|
|
10459
|
+
export type InferenceDeleteResponse = InferenceDeleteInferenceEndpointResult;
|
|
10460
|
+
export interface InferenceGetRequest extends RequestBase {
|
|
10246
10461
|
task_type?: InferenceTaskType;
|
|
10247
|
-
inference_id
|
|
10462
|
+
inference_id?: Id;
|
|
10248
10463
|
}
|
|
10249
|
-
export interface
|
|
10250
|
-
|
|
10464
|
+
export interface InferenceGetResponse {
|
|
10465
|
+
endpoints: InferenceInferenceEndpointInfo[];
|
|
10251
10466
|
}
|
|
10252
10467
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
10253
10468
|
task_type?: InferenceTaskType;
|
|
@@ -10258,12 +10473,12 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
10258
10473
|
task_settings?: InferenceTaskSettings;
|
|
10259
10474
|
}
|
|
10260
10475
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
10261
|
-
export interface
|
|
10476
|
+
export interface InferencePutRequest extends RequestBase {
|
|
10262
10477
|
task_type?: InferenceTaskType;
|
|
10263
10478
|
inference_id: Id;
|
|
10264
|
-
|
|
10479
|
+
inference_config?: InferenceInferenceEndpoint;
|
|
10265
10480
|
}
|
|
10266
|
-
export type
|
|
10481
|
+
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10267
10482
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10268
10483
|
field: Field;
|
|
10269
10484
|
value: any[];
|
|
@@ -10307,6 +10522,10 @@ export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
|
10307
10522
|
target_fields: Fields;
|
|
10308
10523
|
trim?: boolean;
|
|
10309
10524
|
}
|
|
10525
|
+
export interface IngestDatabaseConfiguration {
|
|
10526
|
+
name: Name;
|
|
10527
|
+
maxmind: IngestMaxmind;
|
|
10528
|
+
}
|
|
10310
10529
|
export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
|
|
10311
10530
|
date_formats: string[];
|
|
10312
10531
|
date_rounding: string;
|
|
@@ -10352,6 +10571,19 @@ export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
|
10352
10571
|
ignore_missing?: boolean;
|
|
10353
10572
|
processor: IngestProcessorContainer;
|
|
10354
10573
|
}
|
|
10574
|
+
export interface IngestGeoGridProcessor extends IngestProcessorBase {
|
|
10575
|
+
field: string;
|
|
10576
|
+
tile_type: IngestGeoGridTileType;
|
|
10577
|
+
target_field?: Field;
|
|
10578
|
+
parent_field?: Field;
|
|
10579
|
+
children_field?: Field;
|
|
10580
|
+
non_children_field?: Field;
|
|
10581
|
+
precision_field?: Field;
|
|
10582
|
+
ignore_missing?: boolean;
|
|
10583
|
+
target_format?: IngestGeoGridTargetFormat;
|
|
10584
|
+
}
|
|
10585
|
+
export type IngestGeoGridTargetFormat = 'geojson' | 'wkt';
|
|
10586
|
+
export type IngestGeoGridTileType = 'geotile' | 'geohex' | 'geohash';
|
|
10355
10587
|
export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
10356
10588
|
database_file?: string;
|
|
10357
10589
|
field: Field;
|
|
@@ -10364,7 +10596,7 @@ export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
|
10364
10596
|
field: Field;
|
|
10365
10597
|
ignore_missing?: boolean;
|
|
10366
10598
|
pattern_definitions?: Record<string, string>;
|
|
10367
|
-
patterns:
|
|
10599
|
+
patterns: GrokPattern[];
|
|
10368
10600
|
trace_match?: boolean;
|
|
10369
10601
|
}
|
|
10370
10602
|
export interface IngestGsubProcessor extends IngestProcessorBase {
|
|
@@ -10374,6 +10606,11 @@ export interface IngestGsubProcessor extends IngestProcessorBase {
|
|
|
10374
10606
|
replacement: string;
|
|
10375
10607
|
target_field?: Field;
|
|
10376
10608
|
}
|
|
10609
|
+
export interface IngestHtmlStripProcessor extends IngestProcessorBase {
|
|
10610
|
+
field: Field;
|
|
10611
|
+
ignore_missing?: boolean;
|
|
10612
|
+
target_field?: Field;
|
|
10613
|
+
}
|
|
10377
10614
|
export interface IngestInferenceConfig {
|
|
10378
10615
|
regression?: IngestInferenceConfigRegression;
|
|
10379
10616
|
classification?: IngestInferenceConfigClassification;
|
|
@@ -10426,6 +10663,9 @@ export interface IngestLowercaseProcessor extends IngestProcessorBase {
|
|
|
10426
10663
|
ignore_missing?: boolean;
|
|
10427
10664
|
target_field?: Field;
|
|
10428
10665
|
}
|
|
10666
|
+
export interface IngestMaxmind {
|
|
10667
|
+
account_id: Id;
|
|
10668
|
+
}
|
|
10429
10669
|
export interface IngestPipeline {
|
|
10430
10670
|
description?: string;
|
|
10431
10671
|
on_failure?: IngestProcessorContainer[];
|
|
@@ -10450,41 +10690,54 @@ export interface IngestProcessorBase {
|
|
|
10450
10690
|
tag?: string;
|
|
10451
10691
|
}
|
|
10452
10692
|
export interface IngestProcessorContainer {
|
|
10453
|
-
attachment?: IngestAttachmentProcessor;
|
|
10454
10693
|
append?: IngestAppendProcessor;
|
|
10455
|
-
|
|
10694
|
+
attachment?: IngestAttachmentProcessor;
|
|
10695
|
+
bytes?: IngestBytesProcessor;
|
|
10696
|
+
circle?: IngestCircleProcessor;
|
|
10456
10697
|
convert?: IngestConvertProcessor;
|
|
10698
|
+
csv?: IngestCsvProcessor;
|
|
10457
10699
|
date?: IngestDateProcessor;
|
|
10458
10700
|
date_index_name?: IngestDateIndexNameProcessor;
|
|
10701
|
+
dissect?: IngestDissectProcessor;
|
|
10459
10702
|
dot_expander?: IngestDotExpanderProcessor;
|
|
10703
|
+
drop?: IngestDropProcessor;
|
|
10460
10704
|
enrich?: IngestEnrichProcessor;
|
|
10461
10705
|
fail?: IngestFailProcessor;
|
|
10462
10706
|
foreach?: IngestForeachProcessor;
|
|
10463
|
-
|
|
10464
|
-
user_agent?: IngestUserAgentProcessor;
|
|
10465
|
-
kv?: IngestKeyValueProcessor;
|
|
10707
|
+
geo_grid?: IngestGeoGridProcessor;
|
|
10466
10708
|
geoip?: IngestGeoIpProcessor;
|
|
10467
10709
|
grok?: IngestGrokProcessor;
|
|
10468
10710
|
gsub?: IngestGsubProcessor;
|
|
10711
|
+
html_strip?: IngestHtmlStripProcessor;
|
|
10712
|
+
inference?: IngestInferenceProcessor;
|
|
10469
10713
|
join?: IngestJoinProcessor;
|
|
10714
|
+
json?: IngestJsonProcessor;
|
|
10715
|
+
kv?: IngestKeyValueProcessor;
|
|
10470
10716
|
lowercase?: IngestLowercaseProcessor;
|
|
10717
|
+
pipeline?: IngestPipelineProcessor;
|
|
10718
|
+
redact?: IngestRedactProcessor;
|
|
10471
10719
|
remove?: IngestRemoveProcessor;
|
|
10472
10720
|
rename?: IngestRenameProcessor;
|
|
10473
10721
|
reroute?: IngestRerouteProcessor;
|
|
10474
10722
|
script?: IngestScriptProcessor;
|
|
10475
10723
|
set?: IngestSetProcessor;
|
|
10724
|
+
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10476
10725
|
sort?: IngestSortProcessor;
|
|
10477
10726
|
split?: IngestSplitProcessor;
|
|
10478
10727
|
trim?: IngestTrimProcessor;
|
|
10479
10728
|
uppercase?: IngestUppercaseProcessor;
|
|
10480
10729
|
urldecode?: IngestUrlDecodeProcessor;
|
|
10481
|
-
|
|
10482
|
-
|
|
10483
|
-
|
|
10484
|
-
|
|
10485
|
-
|
|
10486
|
-
|
|
10487
|
-
|
|
10730
|
+
uri_parts?: IngestUriPartsProcessor;
|
|
10731
|
+
user_agent?: IngestUserAgentProcessor;
|
|
10732
|
+
}
|
|
10733
|
+
export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
10734
|
+
field: Field;
|
|
10735
|
+
patterns: GrokPattern[];
|
|
10736
|
+
pattern_definitions?: Record<string, string>;
|
|
10737
|
+
prefix?: string;
|
|
10738
|
+
suffix?: string;
|
|
10739
|
+
ignore_missing?: boolean;
|
|
10740
|
+
skip_if_unlicensed?: boolean;
|
|
10488
10741
|
}
|
|
10489
10742
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10490
10743
|
field: Fields;
|
|
@@ -10542,6 +10795,13 @@ export interface IngestUppercaseProcessor extends IngestProcessorBase {
|
|
|
10542
10795
|
ignore_missing?: boolean;
|
|
10543
10796
|
target_field?: Field;
|
|
10544
10797
|
}
|
|
10798
|
+
export interface IngestUriPartsProcessor extends IngestProcessorBase {
|
|
10799
|
+
field: Field;
|
|
10800
|
+
ignore_missing?: boolean;
|
|
10801
|
+
keep_original?: boolean;
|
|
10802
|
+
remove_if_successful?: boolean;
|
|
10803
|
+
target_field?: Field;
|
|
10804
|
+
}
|
|
10545
10805
|
export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
10546
10806
|
field: Field;
|
|
10547
10807
|
ignore_missing?: boolean;
|
|
@@ -10555,6 +10815,12 @@ export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
|
10555
10815
|
target_field?: Field;
|
|
10556
10816
|
}
|
|
10557
10817
|
export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
10818
|
+
export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
|
|
10819
|
+
id: Ids;
|
|
10820
|
+
master_timeout?: Duration;
|
|
10821
|
+
timeout?: Duration;
|
|
10822
|
+
}
|
|
10823
|
+
export type IngestDeleteGeoipDatabaseResponse = AcknowledgedResponseBase;
|
|
10558
10824
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
10559
10825
|
id: Id;
|
|
10560
10826
|
master_timeout?: Duration;
|
|
@@ -10565,8 +10831,9 @@ export interface IngestGeoIpStatsGeoIpDownloadStatistics {
|
|
|
10565
10831
|
successful_downloads: integer;
|
|
10566
10832
|
failed_downloads: integer;
|
|
10567
10833
|
total_download_time: DurationValue<UnitMillis>;
|
|
10568
|
-
|
|
10834
|
+
databases_count: integer;
|
|
10569
10835
|
skipped_updates: integer;
|
|
10836
|
+
expired_databases: integer;
|
|
10570
10837
|
}
|
|
10571
10838
|
export interface IngestGeoIpStatsGeoIpNodeDatabaseName {
|
|
10572
10839
|
name: Name;
|
|
@@ -10581,6 +10848,19 @@ export interface IngestGeoIpStatsResponse {
|
|
|
10581
10848
|
stats: IngestGeoIpStatsGeoIpDownloadStatistics;
|
|
10582
10849
|
nodes: Record<Id, IngestGeoIpStatsGeoIpNodeDatabases>;
|
|
10583
10850
|
}
|
|
10851
|
+
export interface IngestGetGeoipDatabaseDatabaseConfigurationMetadata {
|
|
10852
|
+
id: Id;
|
|
10853
|
+
version: long;
|
|
10854
|
+
modified_date_millis: EpochTime<UnitMillis>;
|
|
10855
|
+
database: IngestDatabaseConfiguration;
|
|
10856
|
+
}
|
|
10857
|
+
export interface IngestGetGeoipDatabaseRequest extends RequestBase {
|
|
10858
|
+
id?: Ids;
|
|
10859
|
+
master_timeout?: Duration;
|
|
10860
|
+
}
|
|
10861
|
+
export interface IngestGetGeoipDatabaseResponse {
|
|
10862
|
+
databases: IngestGetGeoipDatabaseDatabaseConfigurationMetadata[];
|
|
10863
|
+
}
|
|
10584
10864
|
export interface IngestGetPipelineRequest extends RequestBase {
|
|
10585
10865
|
id?: Id;
|
|
10586
10866
|
master_timeout?: Duration;
|
|
@@ -10592,6 +10872,14 @@ export interface IngestProcessorGrokRequest extends RequestBase {
|
|
|
10592
10872
|
export interface IngestProcessorGrokResponse {
|
|
10593
10873
|
patterns: Record<string, string>;
|
|
10594
10874
|
}
|
|
10875
|
+
export interface IngestPutGeoipDatabaseRequest extends RequestBase {
|
|
10876
|
+
id: Id;
|
|
10877
|
+
master_timeout?: Duration;
|
|
10878
|
+
timeout?: Duration;
|
|
10879
|
+
name: Name;
|
|
10880
|
+
maxmind: IngestMaxmind;
|
|
10881
|
+
}
|
|
10882
|
+
export type IngestPutGeoipDatabaseResponse = AcknowledgedResponseBase;
|
|
10595
10883
|
export interface IngestPutPipelineRequest extends RequestBase {
|
|
10596
10884
|
id: Id;
|
|
10597
10885
|
master_timeout?: Duration;
|
|
@@ -10935,7 +11223,7 @@ export type MlCategorizationStatus = 'ok' | 'warn';
|
|
|
10935
11223
|
export interface MlCategory {
|
|
10936
11224
|
category_id: ulong;
|
|
10937
11225
|
examples: string[];
|
|
10938
|
-
grok_pattern?:
|
|
11226
|
+
grok_pattern?: GrokPattern;
|
|
10939
11227
|
job_id: Id;
|
|
10940
11228
|
max_matching_length: ulong;
|
|
10941
11229
|
partition_field_name?: string;
|
|
@@ -11020,8 +11308,8 @@ export interface MlDatafeedConfig {
|
|
|
11020
11308
|
datafeed_id?: Id;
|
|
11021
11309
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11022
11310
|
frequency?: Duration;
|
|
11023
|
-
indices?:
|
|
11024
|
-
indexes?:
|
|
11311
|
+
indices?: Indices;
|
|
11312
|
+
indexes?: Indices;
|
|
11025
11313
|
indices_options?: IndicesOptions;
|
|
11026
11314
|
job_id?: Id;
|
|
11027
11315
|
max_empty_searches?: integer;
|
|
@@ -11824,7 +12112,7 @@ export interface MlTrainedModelPrefixStrings {
|
|
|
11824
12112
|
}
|
|
11825
12113
|
export interface MlTrainedModelSizeStats {
|
|
11826
12114
|
model_size_bytes: ByteSize;
|
|
11827
|
-
required_native_memory_bytes:
|
|
12115
|
+
required_native_memory_bytes: ByteSize;
|
|
11828
12116
|
}
|
|
11829
12117
|
export interface MlTrainedModelStats {
|
|
11830
12118
|
deployment_stats?: MlTrainedModelDeploymentStats;
|
|
@@ -12307,14 +12595,14 @@ export interface MlGetRecordsResponse {
|
|
|
12307
12595
|
records: MlAnomaly[];
|
|
12308
12596
|
}
|
|
12309
12597
|
export interface MlGetTrainedModelsRequest extends RequestBase {
|
|
12310
|
-
model_id?:
|
|
12598
|
+
model_id?: Ids;
|
|
12311
12599
|
allow_no_match?: boolean;
|
|
12312
12600
|
decompress_definition?: boolean;
|
|
12313
12601
|
exclude_generated?: boolean;
|
|
12314
12602
|
from?: integer;
|
|
12315
12603
|
include?: MlInclude;
|
|
12316
12604
|
size?: integer;
|
|
12317
|
-
tags?: string;
|
|
12605
|
+
tags?: string | string[];
|
|
12318
12606
|
}
|
|
12319
12607
|
export interface MlGetTrainedModelsResponse {
|
|
12320
12608
|
count: integer;
|
|
@@ -12442,7 +12730,7 @@ export interface MlPutCalendarResponse {
|
|
|
12442
12730
|
}
|
|
12443
12731
|
export interface MlPutCalendarJobRequest extends RequestBase {
|
|
12444
12732
|
calendar_id: Id;
|
|
12445
|
-
job_id:
|
|
12733
|
+
job_id: Ids;
|
|
12446
12734
|
}
|
|
12447
12735
|
export interface MlPutCalendarJobResponse {
|
|
12448
12736
|
calendar_id: Id;
|
|
@@ -13065,6 +13353,22 @@ export interface NodesHttp {
|
|
|
13065
13353
|
current_open?: integer;
|
|
13066
13354
|
total_opened?: long;
|
|
13067
13355
|
clients?: NodesClient[];
|
|
13356
|
+
routes: Record<string, NodesHttpRoute>;
|
|
13357
|
+
}
|
|
13358
|
+
export interface NodesHttpRoute {
|
|
13359
|
+
requests: NodesHttpRouteRequests;
|
|
13360
|
+
responses: NodesHttpRouteResponses;
|
|
13361
|
+
}
|
|
13362
|
+
export interface NodesHttpRouteRequests {
|
|
13363
|
+
count: long;
|
|
13364
|
+
total_size_in_bytes: long;
|
|
13365
|
+
size_histogram: NodesSizeHttpHistogram[];
|
|
13366
|
+
}
|
|
13367
|
+
export interface NodesHttpRouteResponses {
|
|
13368
|
+
count: long;
|
|
13369
|
+
total_size_in_bytes: long;
|
|
13370
|
+
handling_time_histogram: NodesTimeHttpHistogram[];
|
|
13371
|
+
size_histogram: NodesSizeHttpHistogram[];
|
|
13068
13372
|
}
|
|
13069
13373
|
export interface NodesIndexingPressure {
|
|
13070
13374
|
memory?: NodesIndexingPressureMemory;
|
|
@@ -13076,15 +13380,23 @@ export interface NodesIndexingPressureMemory {
|
|
|
13076
13380
|
total?: NodesPressureMemory;
|
|
13077
13381
|
}
|
|
13078
13382
|
export interface NodesIngest {
|
|
13079
|
-
pipelines?: Record<string,
|
|
13383
|
+
pipelines?: Record<string, NodesIngestStats>;
|
|
13080
13384
|
total?: NodesIngestTotal;
|
|
13081
13385
|
}
|
|
13386
|
+
export interface NodesIngestStats {
|
|
13387
|
+
count: long;
|
|
13388
|
+
current: long;
|
|
13389
|
+
failed: long;
|
|
13390
|
+
processors: Record<string, NodesKeyedProcessor>[];
|
|
13391
|
+
time_in_millis: DurationValue<UnitMillis>;
|
|
13392
|
+
ingested_as_first_pipeline_in_bytes: long;
|
|
13393
|
+
produced_as_first_pipeline_in_bytes: long;
|
|
13394
|
+
}
|
|
13082
13395
|
export interface NodesIngestTotal {
|
|
13083
|
-
count
|
|
13084
|
-
current
|
|
13085
|
-
failed
|
|
13086
|
-
|
|
13087
|
-
time_in_millis?: DurationValue<UnitMillis>;
|
|
13396
|
+
count: long;
|
|
13397
|
+
current: long;
|
|
13398
|
+
failed: long;
|
|
13399
|
+
time_in_millis: DurationValue<UnitMillis>;
|
|
13088
13400
|
}
|
|
13089
13401
|
export interface NodesIoStatDevice {
|
|
13090
13402
|
device_name?: string;
|
|
@@ -13262,6 +13574,11 @@ export interface NodesSerializedClusterStateDetail {
|
|
|
13262
13574
|
compressed_size?: string;
|
|
13263
13575
|
compressed_size_in_bytes?: long;
|
|
13264
13576
|
}
|
|
13577
|
+
export interface NodesSizeHttpHistogram {
|
|
13578
|
+
count: long;
|
|
13579
|
+
ge_bytes?: long;
|
|
13580
|
+
lt_bytes?: long;
|
|
13581
|
+
}
|
|
13265
13582
|
export interface NodesStats {
|
|
13266
13583
|
adaptive_selection?: Record<string, NodesAdaptiveSelection>;
|
|
13267
13584
|
breakers?: Record<string, NodesBreaker>;
|
|
@@ -13294,6 +13611,11 @@ export interface NodesThreadCount {
|
|
|
13294
13611
|
rejected?: long;
|
|
13295
13612
|
threads?: long;
|
|
13296
13613
|
}
|
|
13614
|
+
export interface NodesTimeHttpHistogram {
|
|
13615
|
+
count: long;
|
|
13616
|
+
ge_millis?: long;
|
|
13617
|
+
lt_millis?: long;
|
|
13618
|
+
}
|
|
13297
13619
|
export interface NodesTransport {
|
|
13298
13620
|
inbound_handling_time_histogram?: NodesTransportHistogram[];
|
|
13299
13621
|
outbound_handling_time_histogram?: NodesTransportHistogram[];
|
|
@@ -13328,12 +13650,6 @@ export interface NodesGetRepositoriesMeteringInfoResponseBase extends NodesNodes
|
|
|
13328
13650
|
cluster_name: Name;
|
|
13329
13651
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
13330
13652
|
}
|
|
13331
|
-
export interface NodesHotThreadsHotThread {
|
|
13332
|
-
hosts: Host[];
|
|
13333
|
-
node_id: Id;
|
|
13334
|
-
node_name: Name;
|
|
13335
|
-
threads: string[];
|
|
13336
|
-
}
|
|
13337
13653
|
export interface NodesHotThreadsRequest extends RequestBase {
|
|
13338
13654
|
node_id?: NodeIds;
|
|
13339
13655
|
ignore_idle_threads?: boolean;
|
|
@@ -13346,7 +13662,6 @@ export interface NodesHotThreadsRequest extends RequestBase {
|
|
|
13346
13662
|
sort?: ThreadType;
|
|
13347
13663
|
}
|
|
13348
13664
|
export interface NodesHotThreadsResponse {
|
|
13349
|
-
hot_threads: NodesHotThreadsHotThread[];
|
|
13350
13665
|
}
|
|
13351
13666
|
export interface NodesInfoDeprecationIndexing {
|
|
13352
13667
|
enabled: boolean | string;
|
|
@@ -13702,52 +14017,75 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13702
14017
|
cluster_name: Name;
|
|
13703
14018
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13704
14019
|
}
|
|
13705
|
-
export interface
|
|
14020
|
+
export interface QueryRulesQueryRule {
|
|
13706
14021
|
rule_id: Id;
|
|
13707
|
-
type:
|
|
13708
|
-
criteria:
|
|
13709
|
-
actions:
|
|
14022
|
+
type: QueryRulesQueryRuleType;
|
|
14023
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
14024
|
+
actions: QueryRulesQueryRuleActions;
|
|
14025
|
+
priority?: integer;
|
|
13710
14026
|
}
|
|
13711
|
-
export interface
|
|
14027
|
+
export interface QueryRulesQueryRuleActions {
|
|
13712
14028
|
ids?: Id[];
|
|
13713
14029
|
docs?: QueryDslPinnedDoc[];
|
|
13714
14030
|
}
|
|
13715
|
-
export interface
|
|
13716
|
-
type:
|
|
13717
|
-
metadata
|
|
14031
|
+
export interface QueryRulesQueryRuleCriteria {
|
|
14032
|
+
type: QueryRulesQueryRuleCriteriaType;
|
|
14033
|
+
metadata?: string;
|
|
13718
14034
|
values?: any[];
|
|
13719
14035
|
}
|
|
13720
|
-
export type
|
|
13721
|
-
export type
|
|
13722
|
-
export interface
|
|
14036
|
+
export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
|
|
14037
|
+
export type QueryRulesQueryRuleType = 'pinned';
|
|
14038
|
+
export interface QueryRulesQueryRuleset {
|
|
14039
|
+
ruleset_id: Id;
|
|
14040
|
+
rules: QueryRulesQueryRule[];
|
|
14041
|
+
}
|
|
14042
|
+
export interface QueryRulesDeleteRuleRequest extends RequestBase {
|
|
14043
|
+
ruleset_id: Id;
|
|
14044
|
+
rule_id: Id;
|
|
14045
|
+
}
|
|
14046
|
+
export type QueryRulesDeleteRuleResponse = AcknowledgedResponseBase;
|
|
14047
|
+
export interface QueryRulesDeleteRulesetRequest extends RequestBase {
|
|
13723
14048
|
ruleset_id: Id;
|
|
13724
|
-
rules: QueryRulesetQueryRule[];
|
|
13725
14049
|
}
|
|
13726
|
-
export
|
|
14050
|
+
export type QueryRulesDeleteRulesetResponse = AcknowledgedResponseBase;
|
|
14051
|
+
export interface QueryRulesGetRuleRequest extends RequestBase {
|
|
13727
14052
|
ruleset_id: Id;
|
|
14053
|
+
rule_id: Id;
|
|
13728
14054
|
}
|
|
13729
|
-
export type
|
|
13730
|
-
export interface
|
|
14055
|
+
export type QueryRulesGetRuleResponse = QueryRulesQueryRule;
|
|
14056
|
+
export interface QueryRulesGetRulesetRequest extends RequestBase {
|
|
13731
14057
|
ruleset_id: Id;
|
|
13732
14058
|
}
|
|
13733
|
-
export type
|
|
13734
|
-
export interface
|
|
14059
|
+
export type QueryRulesGetRulesetResponse = QueryRulesQueryRuleset;
|
|
14060
|
+
export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
13735
14061
|
ruleset_id: Id;
|
|
13736
|
-
|
|
14062
|
+
rule_total_count: integer;
|
|
14063
|
+
rule_criteria_types_counts: Record<string, integer>;
|
|
13737
14064
|
}
|
|
13738
|
-
export interface
|
|
14065
|
+
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
13739
14066
|
from?: integer;
|
|
13740
14067
|
size?: integer;
|
|
13741
14068
|
}
|
|
13742
|
-
export interface
|
|
14069
|
+
export interface QueryRulesListRulesetsResponse {
|
|
13743
14070
|
count: long;
|
|
13744
|
-
results:
|
|
14071
|
+
results: QueryRulesListRulesetsQueryRulesetListItem[];
|
|
13745
14072
|
}
|
|
13746
|
-
export interface
|
|
14073
|
+
export interface QueryRulesPutRuleRequest extends RequestBase {
|
|
13747
14074
|
ruleset_id: Id;
|
|
13748
|
-
|
|
14075
|
+
rule_id: Id;
|
|
14076
|
+
type: QueryRulesQueryRuleType;
|
|
14077
|
+
criteria: QueryRulesQueryRuleCriteria | QueryRulesQueryRuleCriteria[];
|
|
14078
|
+
actions: QueryRulesQueryRuleActions;
|
|
14079
|
+
priority?: integer;
|
|
13749
14080
|
}
|
|
13750
|
-
export interface
|
|
14081
|
+
export interface QueryRulesPutRuleResponse {
|
|
14082
|
+
result: Result;
|
|
14083
|
+
}
|
|
14084
|
+
export interface QueryRulesPutRulesetRequest extends RequestBase {
|
|
14085
|
+
ruleset_id: Id;
|
|
14086
|
+
rules: QueryRulesQueryRule | QueryRulesQueryRule[];
|
|
14087
|
+
}
|
|
14088
|
+
export interface QueryRulesPutRulesetResponse {
|
|
13751
14089
|
result: Result;
|
|
13752
14090
|
}
|
|
13753
14091
|
export interface RollupDateHistogramGrouping {
|
|
@@ -13918,7 +14256,7 @@ export interface SearchApplicationSearchApplication {
|
|
|
13918
14256
|
template?: SearchApplicationSearchApplicationTemplate;
|
|
13919
14257
|
}
|
|
13920
14258
|
export interface SearchApplicationSearchApplicationTemplate {
|
|
13921
|
-
script:
|
|
14259
|
+
script: Script | string;
|
|
13922
14260
|
}
|
|
13923
14261
|
export interface SearchApplicationDeleteRequest extends RequestBase {
|
|
13924
14262
|
name: Name;
|
|
@@ -14052,6 +14390,10 @@ export interface SecurityApplicationPrivileges {
|
|
|
14052
14390
|
privileges: string[];
|
|
14053
14391
|
resources: string[];
|
|
14054
14392
|
}
|
|
14393
|
+
export interface SecurityBulkError {
|
|
14394
|
+
count: integer;
|
|
14395
|
+
details: Record<string, ErrorCause>;
|
|
14396
|
+
}
|
|
14055
14397
|
export interface SecurityClusterNode {
|
|
14056
14398
|
name: Name;
|
|
14057
14399
|
}
|
|
@@ -14089,23 +14431,25 @@ export interface SecurityRealmInfo {
|
|
|
14089
14431
|
type: string;
|
|
14090
14432
|
}
|
|
14091
14433
|
export interface SecurityRoleDescriptor {
|
|
14092
|
-
cluster?:
|
|
14434
|
+
cluster?: SecurityClusterPrivilege[];
|
|
14093
14435
|
indices?: SecurityIndicesPrivileges[];
|
|
14094
14436
|
index?: SecurityIndicesPrivileges[];
|
|
14095
14437
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14096
14438
|
applications?: SecurityApplicationPrivileges[];
|
|
14097
14439
|
metadata?: Metadata;
|
|
14098
14440
|
run_as?: string[];
|
|
14441
|
+
description?: string;
|
|
14099
14442
|
transient_metadata?: Record<string, any>;
|
|
14100
14443
|
}
|
|
14101
14444
|
export interface SecurityRoleDescriptorRead {
|
|
14102
|
-
cluster:
|
|
14445
|
+
cluster: SecurityClusterPrivilege[];
|
|
14103
14446
|
indices: SecurityIndicesPrivileges[];
|
|
14104
14447
|
index: SecurityIndicesPrivileges[];
|
|
14105
14448
|
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege;
|
|
14106
14449
|
applications?: SecurityApplicationPrivileges[];
|
|
14107
14450
|
metadata?: Metadata;
|
|
14108
14451
|
run_as?: string[];
|
|
14452
|
+
description?: string;
|
|
14109
14453
|
transient_metadata?: Record<string, any>;
|
|
14110
14454
|
}
|
|
14111
14455
|
export interface SecurityRoleMapping {
|
|
@@ -14123,18 +14467,19 @@ export interface SecurityRoleMappingRule {
|
|
|
14123
14467
|
}
|
|
14124
14468
|
export interface SecurityRoleTemplate {
|
|
14125
14469
|
format?: SecurityTemplateFormat;
|
|
14126
|
-
template: Script;
|
|
14470
|
+
template: Script | string;
|
|
14127
14471
|
}
|
|
14128
14472
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
14129
|
-
export interface
|
|
14473
|
+
export interface SecurityRoleTemplateQuery {
|
|
14474
|
+
template?: SecurityRoleTemplateScript | SecurityRoleTemplateInlineQuery;
|
|
14475
|
+
}
|
|
14476
|
+
export interface SecurityRoleTemplateScript {
|
|
14477
|
+
source?: SecurityRoleTemplateInlineQuery;
|
|
14478
|
+
id?: Id;
|
|
14479
|
+
params?: Record<string, any>;
|
|
14130
14480
|
lang?: ScriptLanguage;
|
|
14131
14481
|
options?: Record<string, string>;
|
|
14132
|
-
source: SecurityRoleTemplateInlineQuery;
|
|
14133
|
-
}
|
|
14134
|
-
export interface SecurityRoleTemplateQuery {
|
|
14135
|
-
template?: SecurityRoleTemplateScript;
|
|
14136
14482
|
}
|
|
14137
|
-
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
14138
14483
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14139
14484
|
export interface SecurityUser {
|
|
14140
14485
|
email?: string | null;
|
|
@@ -14202,6 +14547,25 @@ export interface SecurityAuthenticateToken {
|
|
|
14202
14547
|
name: Name;
|
|
14203
14548
|
type?: string;
|
|
14204
14549
|
}
|
|
14550
|
+
export interface SecurityBulkDeleteRoleRequest extends RequestBase {
|
|
14551
|
+
refresh?: Refresh;
|
|
14552
|
+
names: string[];
|
|
14553
|
+
}
|
|
14554
|
+
export interface SecurityBulkDeleteRoleResponse {
|
|
14555
|
+
deleted?: string[];
|
|
14556
|
+
not_found?: string[];
|
|
14557
|
+
errors?: SecurityBulkError;
|
|
14558
|
+
}
|
|
14559
|
+
export interface SecurityBulkPutRoleRequest extends RequestBase {
|
|
14560
|
+
refresh?: Refresh;
|
|
14561
|
+
roles: Record<string, SecurityRoleDescriptor>;
|
|
14562
|
+
}
|
|
14563
|
+
export interface SecurityBulkPutRoleResponse {
|
|
14564
|
+
created?: string[];
|
|
14565
|
+
updated?: string[];
|
|
14566
|
+
noop?: string[];
|
|
14567
|
+
errors?: SecurityBulkError;
|
|
14568
|
+
}
|
|
14205
14569
|
export interface SecurityChangePasswordRequest extends RequestBase {
|
|
14206
14570
|
username?: Username;
|
|
14207
14571
|
refresh?: Refresh;
|
|
@@ -14601,6 +14965,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14601
14965
|
indices?: SecurityIndicesPrivileges[];
|
|
14602
14966
|
metadata?: Metadata;
|
|
14603
14967
|
run_as?: string[];
|
|
14968
|
+
description?: string;
|
|
14604
14969
|
transient_metadata?: Record<string, any>;
|
|
14605
14970
|
}
|
|
14606
14971
|
export interface SecurityPutRoleResponse {
|
|
@@ -14687,6 +15052,64 @@ export interface SecurityQueryApiKeysResponse {
|
|
|
14687
15052
|
api_keys: SecurityApiKey[];
|
|
14688
15053
|
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>;
|
|
14689
15054
|
}
|
|
15055
|
+
export interface SecurityQueryRoleQueryRole extends SecurityRoleDescriptor {
|
|
15056
|
+
_sort?: SortResults;
|
|
15057
|
+
name: string;
|
|
15058
|
+
}
|
|
15059
|
+
export interface SecurityQueryRoleRequest extends RequestBase {
|
|
15060
|
+
query?: SecurityQueryRoleRoleQueryContainer;
|
|
15061
|
+
from?: integer;
|
|
15062
|
+
sort?: Sort;
|
|
15063
|
+
size?: integer;
|
|
15064
|
+
search_after?: SortResults;
|
|
15065
|
+
}
|
|
15066
|
+
export interface SecurityQueryRoleResponse {
|
|
15067
|
+
total: integer;
|
|
15068
|
+
count: integer;
|
|
15069
|
+
roles: SecurityQueryRoleQueryRole[];
|
|
15070
|
+
}
|
|
15071
|
+
export interface SecurityQueryRoleRoleQueryContainer {
|
|
15072
|
+
bool?: QueryDslBoolQuery;
|
|
15073
|
+
exists?: QueryDslExistsQuery;
|
|
15074
|
+
ids?: QueryDslIdsQuery;
|
|
15075
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
15076
|
+
match_all?: QueryDslMatchAllQuery;
|
|
15077
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
15078
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
15079
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
15080
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
15081
|
+
terms?: QueryDslTermsQuery;
|
|
15082
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
15083
|
+
}
|
|
15084
|
+
export interface SecurityQueryUserQueryUser extends SecurityUser {
|
|
15085
|
+
_sort?: SortResults;
|
|
15086
|
+
}
|
|
15087
|
+
export interface SecurityQueryUserRequest extends RequestBase {
|
|
15088
|
+
with_profile_uid?: boolean;
|
|
15089
|
+
query?: SecurityQueryUserUserQueryContainer;
|
|
15090
|
+
from?: integer;
|
|
15091
|
+
sort?: Sort;
|
|
15092
|
+
size?: integer;
|
|
15093
|
+
search_after?: SortResults;
|
|
15094
|
+
}
|
|
15095
|
+
export interface SecurityQueryUserResponse {
|
|
15096
|
+
total: integer;
|
|
15097
|
+
count: integer;
|
|
15098
|
+
users: SecurityQueryUserQueryUser[];
|
|
15099
|
+
}
|
|
15100
|
+
export interface SecurityQueryUserUserQueryContainer {
|
|
15101
|
+
ids?: QueryDslIdsQuery;
|
|
15102
|
+
bool?: QueryDslBoolQuery;
|
|
15103
|
+
exists?: QueryDslExistsQuery;
|
|
15104
|
+
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>;
|
|
15105
|
+
match_all?: QueryDslMatchAllQuery;
|
|
15106
|
+
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>;
|
|
15107
|
+
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
15108
|
+
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
15109
|
+
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
15110
|
+
terms?: QueryDslTermsQuery;
|
|
15111
|
+
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
15112
|
+
}
|
|
14690
15113
|
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
|
14691
15114
|
content: string;
|
|
14692
15115
|
ids: Ids;
|
|
@@ -15379,7 +15802,7 @@ export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
|
15379
15802
|
}
|
|
15380
15803
|
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
15381
15804
|
id: Id;
|
|
15382
|
-
synonyms_set: SynonymsSynonymRule[];
|
|
15805
|
+
synonyms_set: SynonymsSynonymRule | SynonymsSynonymRule[];
|
|
15383
15806
|
}
|
|
15384
15807
|
export interface SynonymsPutSynonymResponse {
|
|
15385
15808
|
result: Result;
|
|
@@ -15474,7 +15897,7 @@ export interface TextStructureFindStructureRequest<TJsonDocument = unknown> {
|
|
|
15474
15897
|
ecs_compatibility?: string;
|
|
15475
15898
|
explain?: boolean;
|
|
15476
15899
|
format?: string;
|
|
15477
|
-
grok_pattern?:
|
|
15900
|
+
grok_pattern?: GrokPattern;
|
|
15478
15901
|
has_header_row?: boolean;
|
|
15479
15902
|
line_merge_size_limit?: uint;
|
|
15480
15903
|
lines_to_sample?: uint;
|
|
@@ -15500,7 +15923,7 @@ export interface TextStructureFindStructureResponse {
|
|
|
15500
15923
|
num_lines_analyzed: integer;
|
|
15501
15924
|
column_names?: string[];
|
|
15502
15925
|
explanation?: string[];
|
|
15503
|
-
grok_pattern?:
|
|
15926
|
+
grok_pattern?: GrokPattern;
|
|
15504
15927
|
multiline_start_pattern?: string;
|
|
15505
15928
|
exclude_lines_pattern?: string;
|
|
15506
15929
|
java_timestamp_formats?: string[];
|
|
@@ -15524,7 +15947,7 @@ export interface TextStructureTestGrokPatternMatchedText {
|
|
|
15524
15947
|
}
|
|
15525
15948
|
export interface TextStructureTestGrokPatternRequest extends RequestBase {
|
|
15526
15949
|
ecs_compatibility?: string;
|
|
15527
|
-
grok_pattern:
|
|
15950
|
+
grok_pattern: GrokPattern;
|
|
15528
15951
|
text: string[];
|
|
15529
15952
|
}
|
|
15530
15953
|
export interface TextStructureTestGrokPatternResponse {
|
|
@@ -15659,9 +16082,9 @@ export interface TransformGetTransformStatsTransformIndexerStats {
|
|
|
15659
16082
|
export interface TransformGetTransformStatsTransformProgress {
|
|
15660
16083
|
docs_indexed: long;
|
|
15661
16084
|
docs_processed: long;
|
|
15662
|
-
docs_remaining
|
|
15663
|
-
percent_complete
|
|
15664
|
-
total_docs
|
|
16085
|
+
docs_remaining?: long;
|
|
16086
|
+
percent_complete?: double;
|
|
16087
|
+
total_docs?: long;
|
|
15665
16088
|
}
|
|
15666
16089
|
export interface TransformGetTransformStatsTransformStats {
|
|
15667
16090
|
checkpointing: TransformGetTransformStatsCheckpointing;
|