@elastic/elasticsearch 8.6.1 → 8.7.3
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/.buildkite/Dockerfile +14 -0
- package/.buildkite/functions/cleanup.sh +67 -0
- package/.buildkite/functions/imports.sh +60 -0
- package/.buildkite/functions/wait-for-container.sh +36 -0
- package/.buildkite/pipeline.yml +31 -0
- package/.buildkite/run-client.sh +31 -0
- package/.buildkite/run-elasticsearch.sh +152 -0
- package/.buildkite/run-tests.sh +16 -0
- package/Makefile +11 -0
- package/catalog-info.yaml +53 -0
- package/index.d.ts +1 -1
- package/lib/api/api/cluster.js +1 -1
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +3 -3
- package/lib/api/api/field_caps.js +2 -1
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/health_report.d.ts +10 -0
- package/lib/api/api/health_report.js +48 -0
- package/lib/api/api/health_report.js.map +1 -0
- package/lib/api/api/license.d.ts +3 -3
- package/lib/api/api/license.js +1 -0
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.js +10 -2
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/ml.d.ts +6 -3
- package/lib/api/api/ml.js +20 -3
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/search_mvt.js +1 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/snapshot.js +1 -1
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/transform.d.ts +3 -0
- package/lib/api/api/transform.js +17 -0
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/index.d.ts +2 -0
- package/lib/api/index.js +2 -0
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +525 -198
- package/lib/api/typesWithBodyKey.d.ts +525 -198
- package/package.json +16 -11
|
@@ -206,7 +206,7 @@ export interface DeleteByQueryResponse {
|
|
|
206
206
|
version_conflicts?: long;
|
|
207
207
|
}
|
|
208
208
|
export interface DeleteByQueryRethrottleRequest extends RequestBase {
|
|
209
|
-
task_id:
|
|
209
|
+
task_id: TaskId;
|
|
210
210
|
requests_per_second?: float;
|
|
211
211
|
}
|
|
212
212
|
export type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
|
|
@@ -300,13 +300,13 @@ export interface FieldCapsRequest extends RequestBase {
|
|
|
300
300
|
index?: Indices;
|
|
301
301
|
allow_no_indices?: boolean;
|
|
302
302
|
expand_wildcards?: ExpandWildcards;
|
|
303
|
-
fields: Fields;
|
|
304
303
|
ignore_unavailable?: boolean;
|
|
305
304
|
include_unmapped?: boolean;
|
|
306
305
|
filters?: string;
|
|
307
306
|
types?: string[];
|
|
308
307
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
309
308
|
body?: {
|
|
309
|
+
fields?: Fields;
|
|
310
310
|
index_filter?: QueryDslQueryContainer;
|
|
311
311
|
runtime_mappings?: MappingRuntimeFields;
|
|
312
312
|
};
|
|
@@ -393,6 +393,125 @@ export interface GetSourceRequest extends RequestBase {
|
|
|
393
393
|
version_type?: VersionType;
|
|
394
394
|
}
|
|
395
395
|
export type GetSourceResponse<TDocument = unknown> = TDocument;
|
|
396
|
+
export interface HealthReportBaseIndicator {
|
|
397
|
+
status: HealthReportIndicatorHealthStatus;
|
|
398
|
+
symptom: string;
|
|
399
|
+
impacts?: HealthReportImpact[];
|
|
400
|
+
diagnosis?: HealthReportDiagnosis[];
|
|
401
|
+
}
|
|
402
|
+
export interface HealthReportDiagnosis {
|
|
403
|
+
id: string;
|
|
404
|
+
action: string;
|
|
405
|
+
affected_resources: HealthReportDiagnosisAffectedResources;
|
|
406
|
+
cause: string;
|
|
407
|
+
help_url: string;
|
|
408
|
+
}
|
|
409
|
+
export interface HealthReportDiagnosisAffectedResources {
|
|
410
|
+
indices?: Indices;
|
|
411
|
+
nodes?: HealthReportIndicatorNode[];
|
|
412
|
+
slm_policies?: string[];
|
|
413
|
+
feature_states?: string[];
|
|
414
|
+
snapshot_repositories?: string[];
|
|
415
|
+
}
|
|
416
|
+
export interface HealthReportDiskIndicator extends HealthReportBaseIndicator {
|
|
417
|
+
details?: HealthReportDiskIndicatorDetails;
|
|
418
|
+
}
|
|
419
|
+
export interface HealthReportDiskIndicatorDetails {
|
|
420
|
+
indices_with_readonly_block: long;
|
|
421
|
+
nodes_with_enough_disk_space: long;
|
|
422
|
+
nodes_over_high_watermark: long;
|
|
423
|
+
nodes_over_flood_stage_watermark: long;
|
|
424
|
+
nodes_with_unknown_disk_status: long;
|
|
425
|
+
}
|
|
426
|
+
export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
427
|
+
details?: HealthReportIlmIndicatorDetails;
|
|
428
|
+
}
|
|
429
|
+
export interface HealthReportIlmIndicatorDetails {
|
|
430
|
+
ilm_status: LifecycleOperationMode;
|
|
431
|
+
policies: long;
|
|
432
|
+
}
|
|
433
|
+
export interface HealthReportImpact {
|
|
434
|
+
description: string;
|
|
435
|
+
id: string;
|
|
436
|
+
impact_areas: HealthReportImpactArea[];
|
|
437
|
+
severity: integer;
|
|
438
|
+
}
|
|
439
|
+
export type HealthReportImpactArea = 'search' | 'ingest' | 'backup' | 'deployment_management';
|
|
440
|
+
export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown';
|
|
441
|
+
export interface HealthReportIndicatorNode {
|
|
442
|
+
name: string | null;
|
|
443
|
+
node_id: string | null;
|
|
444
|
+
}
|
|
445
|
+
export interface HealthReportIndicators {
|
|
446
|
+
master_is_stable?: HealthReportMasterIsStableIndicator;
|
|
447
|
+
shards_availability?: HealthReportShardsAvailabilityIndicator;
|
|
448
|
+
disk?: HealthReportDiskIndicator;
|
|
449
|
+
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
450
|
+
ilm?: HealthReportIlmIndicator;
|
|
451
|
+
slm?: HealthReportSlmIndicator;
|
|
452
|
+
}
|
|
453
|
+
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
454
|
+
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
455
|
+
}
|
|
456
|
+
export interface HealthReportMasterIsStableIndicatorClusterFormationNode {
|
|
457
|
+
name?: string;
|
|
458
|
+
node_id: string;
|
|
459
|
+
cluster_formation_message: string;
|
|
460
|
+
}
|
|
461
|
+
export interface HealthReportMasterIsStableIndicatorDetails {
|
|
462
|
+
current_master: HealthReportIndicatorNode;
|
|
463
|
+
recent_masters: HealthReportIndicatorNode[];
|
|
464
|
+
exception_fetching_history?: HealthReportMasterIsStableIndicatorExceptionFetchingHistory;
|
|
465
|
+
cluster_formation?: HealthReportMasterIsStableIndicatorClusterFormationNode[];
|
|
466
|
+
}
|
|
467
|
+
export interface HealthReportMasterIsStableIndicatorExceptionFetchingHistory {
|
|
468
|
+
message: string;
|
|
469
|
+
stack_trace: string;
|
|
470
|
+
}
|
|
471
|
+
export interface HealthReportRepositoryIntegrityIndicator extends HealthReportBaseIndicator {
|
|
472
|
+
details?: HealthReportRepositoryIntegrityIndicatorDetails;
|
|
473
|
+
}
|
|
474
|
+
export interface HealthReportRepositoryIntegrityIndicatorDetails {
|
|
475
|
+
total_repositories?: long;
|
|
476
|
+
corrupted_repositories?: long;
|
|
477
|
+
corrupted?: string[];
|
|
478
|
+
}
|
|
479
|
+
export interface HealthReportRequest extends RequestBase {
|
|
480
|
+
feature?: string | string[];
|
|
481
|
+
timeout?: Duration;
|
|
482
|
+
verbose?: boolean;
|
|
483
|
+
size?: integer;
|
|
484
|
+
}
|
|
485
|
+
export interface HealthReportResponse {
|
|
486
|
+
cluster_name: string;
|
|
487
|
+
indicators: HealthReportIndicators;
|
|
488
|
+
}
|
|
489
|
+
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
490
|
+
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
491
|
+
}
|
|
492
|
+
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
493
|
+
creating_primaries: long;
|
|
494
|
+
initializing_primaries: long;
|
|
495
|
+
initializing_replicas: long;
|
|
496
|
+
restarting_primaries: long;
|
|
497
|
+
restarting_replicas: long;
|
|
498
|
+
started_primaries: long;
|
|
499
|
+
started_replicas: long;
|
|
500
|
+
unassigned_primaries: long;
|
|
501
|
+
unassigned_replicas: long;
|
|
502
|
+
}
|
|
503
|
+
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
504
|
+
details?: HealthReportSlmIndicatorDetails;
|
|
505
|
+
}
|
|
506
|
+
export interface HealthReportSlmIndicatorDetails {
|
|
507
|
+
slm_status: LifecycleOperationMode;
|
|
508
|
+
policies: long;
|
|
509
|
+
unhealthy_policies: HealthReportSlmIndicatorUnhealthyPolicies;
|
|
510
|
+
}
|
|
511
|
+
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
512
|
+
count: long;
|
|
513
|
+
invocations_since_last_success?: Record<string, long>;
|
|
514
|
+
}
|
|
396
515
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
397
516
|
id?: Id;
|
|
398
517
|
index: IndexName;
|
|
@@ -443,11 +562,10 @@ export interface KnnSearchResponse<TDocument = unknown> {
|
|
|
443
562
|
}
|
|
444
563
|
export interface KnnSearchQuery {
|
|
445
564
|
field: Field;
|
|
446
|
-
query_vector:
|
|
565
|
+
query_vector: QueryVector;
|
|
447
566
|
k: long;
|
|
448
567
|
num_candidates: long;
|
|
449
568
|
}
|
|
450
|
-
export type KnnSearchQueryVector = double[];
|
|
451
569
|
export interface MgetMultiGetError {
|
|
452
570
|
error: ErrorCause;
|
|
453
571
|
_id: Id;
|
|
@@ -498,7 +616,7 @@ export interface MsearchMultisearchBody {
|
|
|
498
616
|
ext?: Record<string, any>;
|
|
499
617
|
stored_fields?: Fields;
|
|
500
618
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
501
|
-
knn?: KnnQuery;
|
|
619
|
+
knn?: KnnQuery | KnnQuery[];
|
|
502
620
|
from?: integer;
|
|
503
621
|
highlight?: SearchHighlight;
|
|
504
622
|
indices_boost?: Record<IndexName, double>[];
|
|
@@ -625,6 +743,9 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
625
743
|
index: Indices;
|
|
626
744
|
keep_alive: Duration;
|
|
627
745
|
ignore_unavailable?: boolean;
|
|
746
|
+
preference?: string;
|
|
747
|
+
routing?: Routing;
|
|
748
|
+
expand_wildcards?: ExpandWildcards;
|
|
628
749
|
}
|
|
629
750
|
export interface OpenPointInTimeResponse {
|
|
630
751
|
id: Id;
|
|
@@ -701,7 +822,7 @@ export interface RankEvalRankEvalRequestItem {
|
|
|
701
822
|
params?: Record<string, any>;
|
|
702
823
|
}
|
|
703
824
|
export interface RankEvalRequest extends RequestBase {
|
|
704
|
-
index
|
|
825
|
+
index?: Indices;
|
|
705
826
|
allow_no_indices?: boolean;
|
|
706
827
|
expand_wildcards?: ExpandWildcards;
|
|
707
828
|
ignore_unavailable?: boolean;
|
|
@@ -901,7 +1022,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
901
1022
|
track_total_hits?: SearchTrackHits;
|
|
902
1023
|
indices_boost?: Record<IndexName, double>[];
|
|
903
1024
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
904
|
-
knn?: KnnQuery;
|
|
1025
|
+
knn?: KnnQuery | KnnQuery[];
|
|
905
1026
|
min_score?: double;
|
|
906
1027
|
post_filter?: QueryDslQueryContainer;
|
|
907
1028
|
profile?: boolean;
|
|
@@ -993,11 +1114,13 @@ export interface SearchAggregationProfileDebug {
|
|
|
993
1114
|
filters?: SearchAggregationProfileDelegateDebugFilter[];
|
|
994
1115
|
segments_counted?: integer;
|
|
995
1116
|
segments_collected?: integer;
|
|
1117
|
+
map_reducer?: string;
|
|
996
1118
|
}
|
|
997
1119
|
export interface SearchAggregationProfileDelegateDebugFilter {
|
|
998
1120
|
results_from_metadata?: integer;
|
|
999
1121
|
query?: string;
|
|
1000
1122
|
specialized_for?: string;
|
|
1123
|
+
segments_counted_in_constant_time?: integer;
|
|
1001
1124
|
}
|
|
1002
1125
|
export type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
|
|
1003
1126
|
export interface SearchCollector {
|
|
@@ -1031,8 +1154,7 @@ export interface SearchCompletionSuggestOption<TDocument = unknown> {
|
|
|
1031
1154
|
export interface SearchCompletionSuggester extends SearchSuggesterBase {
|
|
1032
1155
|
contexts?: Record<Field, SearchCompletionContext | SearchContext | (SearchCompletionContext | SearchContext)[]>;
|
|
1033
1156
|
fuzzy?: SearchSuggestFuzziness;
|
|
1034
|
-
|
|
1035
|
-
regex?: string;
|
|
1157
|
+
regex?: SearchRegexOptions;
|
|
1036
1158
|
skip_duplicates?: boolean;
|
|
1037
1159
|
}
|
|
1038
1160
|
export type SearchContext = string | GeoLocation;
|
|
@@ -1058,6 +1180,8 @@ export interface SearchFetchProfile {
|
|
|
1058
1180
|
children?: SearchFetchProfile[];
|
|
1059
1181
|
}
|
|
1060
1182
|
export interface SearchFetchProfileBreakdown {
|
|
1183
|
+
load_source?: integer;
|
|
1184
|
+
load_source_count?: integer;
|
|
1061
1185
|
load_stored_fields?: integer;
|
|
1062
1186
|
load_stored_fields_count?: integer;
|
|
1063
1187
|
next_reader?: integer;
|
|
@@ -1113,6 +1237,7 @@ export interface SearchHighlightBase {
|
|
|
1113
1237
|
export interface SearchHighlightField extends SearchHighlightBase {
|
|
1114
1238
|
fragment_offset?: integer;
|
|
1115
1239
|
matched_fields?: Fields;
|
|
1240
|
+
analyzer?: AnalysisAnalyzer;
|
|
1116
1241
|
}
|
|
1117
1242
|
export type SearchHighlighterEncoder = 'default' | 'html';
|
|
1118
1243
|
export type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
@@ -1197,8 +1322,9 @@ export interface SearchPhraseSuggestHighlight {
|
|
|
1197
1322
|
}
|
|
1198
1323
|
export interface SearchPhraseSuggestOption {
|
|
1199
1324
|
text: string;
|
|
1200
|
-
highlighted: string;
|
|
1201
1325
|
score: double;
|
|
1326
|
+
highlighted?: string;
|
|
1327
|
+
collate_match?: boolean;
|
|
1202
1328
|
}
|
|
1203
1329
|
export interface SearchPhraseSuggester extends SearchSuggesterBase {
|
|
1204
1330
|
collate?: SearchPhraseSuggestCollate;
|
|
@@ -1249,6 +1375,10 @@ export interface SearchQueryProfile {
|
|
|
1249
1375
|
type: string;
|
|
1250
1376
|
children?: SearchQueryProfile[];
|
|
1251
1377
|
}
|
|
1378
|
+
export interface SearchRegexOptions {
|
|
1379
|
+
flags?: integer | string;
|
|
1380
|
+
max_determinized_states?: integer;
|
|
1381
|
+
}
|
|
1252
1382
|
export interface SearchRescore {
|
|
1253
1383
|
query: SearchRescoreQuery;
|
|
1254
1384
|
window_size?: integer;
|
|
@@ -1318,8 +1448,10 @@ export interface SearchTermSuggest extends SearchSuggestBase {
|
|
|
1318
1448
|
}
|
|
1319
1449
|
export interface SearchTermSuggestOption {
|
|
1320
1450
|
text: string;
|
|
1321
|
-
freq: long;
|
|
1322
1451
|
score: double;
|
|
1452
|
+
freq: long;
|
|
1453
|
+
highlighted?: string;
|
|
1454
|
+
collate_match?: boolean;
|
|
1323
1455
|
}
|
|
1324
1456
|
export interface SearchTermSuggester extends SearchSuggesterBase {
|
|
1325
1457
|
lowercase_terms?: boolean;
|
|
@@ -1350,9 +1482,11 @@ export interface SearchMvtRequest extends RequestBase {
|
|
|
1350
1482
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
1351
1483
|
body?: {
|
|
1352
1484
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
1485
|
+
buffer?: integer;
|
|
1353
1486
|
exact_bounds?: boolean;
|
|
1354
1487
|
extent?: integer;
|
|
1355
1488
|
fields?: Fields;
|
|
1489
|
+
grid_agg?: SearchMvtGridAggregationType;
|
|
1356
1490
|
grid_precision?: integer;
|
|
1357
1491
|
grid_type?: SearchMvtGridType;
|
|
1358
1492
|
query?: QueryDslQueryContainer;
|
|
@@ -1360,10 +1494,12 @@ export interface SearchMvtRequest extends RequestBase {
|
|
|
1360
1494
|
size?: integer;
|
|
1361
1495
|
sort?: Sort;
|
|
1362
1496
|
track_total_hits?: SearchTrackHits;
|
|
1497
|
+
with_labels?: boolean;
|
|
1363
1498
|
};
|
|
1364
1499
|
}
|
|
1365
1500
|
export type SearchMvtResponse = MapboxVectorTiles;
|
|
1366
1501
|
export type SearchMvtCoordinate = integer;
|
|
1502
|
+
export type SearchMvtGridAggregationType = 'geotile' | 'geohex';
|
|
1367
1503
|
export type SearchMvtGridType = 'grid' | 'point' | 'centroid';
|
|
1368
1504
|
export type SearchMvtZoomLevel = integer;
|
|
1369
1505
|
export interface SearchShardsRequest extends RequestBase {
|
|
@@ -1714,7 +1850,7 @@ export interface FieldSort {
|
|
|
1714
1850
|
format?: string;
|
|
1715
1851
|
}
|
|
1716
1852
|
export type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
|
|
1717
|
-
export type FieldValue = long | double | string | boolean | any;
|
|
1853
|
+
export type FieldValue = long | double | string | boolean | null | any;
|
|
1718
1854
|
export interface FielddataStats {
|
|
1719
1855
|
evictions?: long;
|
|
1720
1856
|
memory_size?: ByteSize;
|
|
@@ -1746,6 +1882,7 @@ export interface GeoHashLocation {
|
|
|
1746
1882
|
geohash: GeoHash;
|
|
1747
1883
|
}
|
|
1748
1884
|
export type GeoHashPrecision = number | string;
|
|
1885
|
+
export type GeoHexCell = string;
|
|
1749
1886
|
export interface GeoLine {
|
|
1750
1887
|
type: string;
|
|
1751
1888
|
coordinates: double[][];
|
|
@@ -1793,6 +1930,7 @@ export interface IndexingStats {
|
|
|
1793
1930
|
index_total: long;
|
|
1794
1931
|
index_failed: long;
|
|
1795
1932
|
types?: Record<string, IndexingStats>;
|
|
1933
|
+
write_load?: double;
|
|
1796
1934
|
}
|
|
1797
1935
|
export type Indices = IndexName | IndexName[];
|
|
1798
1936
|
export interface IndicesOptions {
|
|
@@ -1823,7 +1961,8 @@ export interface InlineScript extends ScriptBase {
|
|
|
1823
1961
|
export type Ip = string;
|
|
1824
1962
|
export interface KnnQuery {
|
|
1825
1963
|
field: Field;
|
|
1826
|
-
query_vector
|
|
1964
|
+
query_vector?: QueryVector;
|
|
1965
|
+
query_vector_builder?: QueryVectorBuilder;
|
|
1827
1966
|
k: long;
|
|
1828
1967
|
num_candidates: long;
|
|
1829
1968
|
boost?: float;
|
|
@@ -1870,10 +2009,11 @@ export interface NestedSortValue {
|
|
|
1870
2009
|
export interface NodeAttributes {
|
|
1871
2010
|
attributes: Record<string, string>;
|
|
1872
2011
|
ephemeral_id: Id;
|
|
1873
|
-
id?:
|
|
2012
|
+
id?: NodeId;
|
|
1874
2013
|
name: NodeName;
|
|
1875
2014
|
transport_address: TransportAddress;
|
|
1876
2015
|
roles?: NodeRoles;
|
|
2016
|
+
external_id?: string;
|
|
1877
2017
|
}
|
|
1878
2018
|
export type NodeId = string;
|
|
1879
2019
|
export type NodeIds = NodeId | NodeId[];
|
|
@@ -1890,6 +2030,7 @@ export interface NodeShard {
|
|
|
1890
2030
|
recovery_source?: Record<string, Id>;
|
|
1891
2031
|
unassigned_info?: ClusterAllocationExplainUnassignedInformation;
|
|
1892
2032
|
relocating_node?: NodeId | null;
|
|
2033
|
+
relocation_failure_info?: RelocationFailureInfo;
|
|
1893
2034
|
}
|
|
1894
2035
|
export interface NodeStatistics {
|
|
1895
2036
|
failures?: ErrorCause[];
|
|
@@ -1912,7 +2053,6 @@ export interface PluginStats {
|
|
|
1912
2053
|
name: Name;
|
|
1913
2054
|
version: VersionString;
|
|
1914
2055
|
licensed: boolean;
|
|
1915
|
-
type: string;
|
|
1916
2056
|
}
|
|
1917
2057
|
export type PropertyName = string;
|
|
1918
2058
|
export interface QueryCacheStats {
|
|
@@ -1921,10 +2061,14 @@ export interface QueryCacheStats {
|
|
|
1921
2061
|
evictions: integer;
|
|
1922
2062
|
hit_count: integer;
|
|
1923
2063
|
memory_size?: ByteSize;
|
|
1924
|
-
memory_size_in_bytes:
|
|
2064
|
+
memory_size_in_bytes: long;
|
|
1925
2065
|
miss_count: integer;
|
|
1926
2066
|
total_count: integer;
|
|
1927
2067
|
}
|
|
2068
|
+
export type QueryVector = float[];
|
|
2069
|
+
export interface QueryVectorBuilder {
|
|
2070
|
+
text_embedding?: TextEmbedding;
|
|
2071
|
+
}
|
|
1928
2072
|
export interface RecoveryStats {
|
|
1929
2073
|
current_as_source: long;
|
|
1930
2074
|
current_as_target: long;
|
|
@@ -1941,6 +2085,9 @@ export interface RefreshStats {
|
|
|
1941
2085
|
total_time_in_millis: DurationValue<UnitMillis>;
|
|
1942
2086
|
}
|
|
1943
2087
|
export type RelationName = string;
|
|
2088
|
+
export interface RelocationFailureInfo {
|
|
2089
|
+
failed_attempts: integer;
|
|
2090
|
+
}
|
|
1944
2091
|
export interface RequestBase extends SpecUtilsCommonQueryParameters {
|
|
1945
2092
|
}
|
|
1946
2093
|
export interface RequestCacheStats {
|
|
@@ -1975,7 +2122,7 @@ export interface ScriptSort {
|
|
|
1975
2122
|
mode?: SortMode;
|
|
1976
2123
|
nested?: NestedSortValue;
|
|
1977
2124
|
}
|
|
1978
|
-
export type ScriptSortType = 'string' | 'number';
|
|
2125
|
+
export type ScriptSortType = 'string' | 'number' | 'version';
|
|
1979
2126
|
export interface ScriptTransform {
|
|
1980
2127
|
lang?: string;
|
|
1981
2128
|
params?: Record<string, any>;
|
|
@@ -2012,28 +2159,28 @@ export type SearchType = 'query_then_fetch' | 'dfs_query_then_fetch';
|
|
|
2012
2159
|
export interface SegmentsStats {
|
|
2013
2160
|
count: integer;
|
|
2014
2161
|
doc_values_memory?: ByteSize;
|
|
2015
|
-
doc_values_memory_in_bytes:
|
|
2162
|
+
doc_values_memory_in_bytes: long;
|
|
2016
2163
|
file_sizes: Record<string, IndicesStatsShardFileSizeInfo>;
|
|
2017
2164
|
fixed_bit_set?: ByteSize;
|
|
2018
|
-
fixed_bit_set_memory_in_bytes:
|
|
2165
|
+
fixed_bit_set_memory_in_bytes: long;
|
|
2019
2166
|
index_writer_memory?: ByteSize;
|
|
2020
|
-
index_writer_max_memory_in_bytes?:
|
|
2021
|
-
index_writer_memory_in_bytes:
|
|
2167
|
+
index_writer_max_memory_in_bytes?: long;
|
|
2168
|
+
index_writer_memory_in_bytes: long;
|
|
2022
2169
|
max_unsafe_auto_id_timestamp: long;
|
|
2023
2170
|
memory?: ByteSize;
|
|
2024
|
-
memory_in_bytes:
|
|
2171
|
+
memory_in_bytes: long;
|
|
2025
2172
|
norms_memory?: ByteSize;
|
|
2026
|
-
norms_memory_in_bytes:
|
|
2173
|
+
norms_memory_in_bytes: long;
|
|
2027
2174
|
points_memory?: ByteSize;
|
|
2028
|
-
points_memory_in_bytes:
|
|
2175
|
+
points_memory_in_bytes: long;
|
|
2029
2176
|
stored_memory?: ByteSize;
|
|
2030
|
-
stored_fields_memory_in_bytes:
|
|
2031
|
-
terms_memory_in_bytes:
|
|
2177
|
+
stored_fields_memory_in_bytes: long;
|
|
2178
|
+
terms_memory_in_bytes: long;
|
|
2032
2179
|
terms_memory?: ByteSize;
|
|
2033
2180
|
term_vectory_memory?: ByteSize;
|
|
2034
|
-
term_vectors_memory_in_bytes:
|
|
2181
|
+
term_vectors_memory_in_bytes: long;
|
|
2035
2182
|
version_map_memory?: ByteSize;
|
|
2036
|
-
version_map_memory_in_bytes:
|
|
2183
|
+
version_map_memory_in_bytes: long;
|
|
2037
2184
|
}
|
|
2038
2185
|
export type SequenceNumber = long;
|
|
2039
2186
|
export type Service = string;
|
|
@@ -2056,7 +2203,7 @@ export interface ShardsOperationResponseBase {
|
|
|
2056
2203
|
}
|
|
2057
2204
|
export interface SlicedScroll {
|
|
2058
2205
|
field?: Field;
|
|
2059
|
-
id:
|
|
2206
|
+
id: Id;
|
|
2060
2207
|
max: integer;
|
|
2061
2208
|
}
|
|
2062
2209
|
export type Slices = integer | SlicesCalculation;
|
|
@@ -2074,14 +2221,14 @@ export type SortOptions = SortOptionsKeys & {
|
|
|
2074
2221
|
[property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
|
|
2075
2222
|
};
|
|
2076
2223
|
export type SortOrder = 'asc' | 'desc';
|
|
2077
|
-
export type SortResults =
|
|
2224
|
+
export type SortResults = FieldValue[];
|
|
2078
2225
|
export interface StoreStats {
|
|
2079
2226
|
size?: ByteSize;
|
|
2080
|
-
size_in_bytes:
|
|
2227
|
+
size_in_bytes: long;
|
|
2081
2228
|
reserved?: ByteSize;
|
|
2082
|
-
reserved_in_bytes:
|
|
2229
|
+
reserved_in_bytes: long;
|
|
2083
2230
|
total_data_set_size?: ByteSize;
|
|
2084
|
-
total_data_set_size_in_bytes?:
|
|
2231
|
+
total_data_set_size_in_bytes?: long;
|
|
2085
2232
|
}
|
|
2086
2233
|
export interface StoredScript {
|
|
2087
2234
|
lang: ScriptLanguage;
|
|
@@ -2100,6 +2247,10 @@ export interface TaskFailure {
|
|
|
2100
2247
|
reason: ErrorCause;
|
|
2101
2248
|
}
|
|
2102
2249
|
export type TaskId = string | integer;
|
|
2250
|
+
export interface TextEmbedding {
|
|
2251
|
+
model_id: string;
|
|
2252
|
+
model_text: string;
|
|
2253
|
+
}
|
|
2103
2254
|
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2104
2255
|
export type TimeOfDay = string;
|
|
2105
2256
|
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
@@ -2172,11 +2323,12 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
|
|
|
2172
2323
|
filters?: Record<string, QueryDslQueryContainer>;
|
|
2173
2324
|
}
|
|
2174
2325
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2326
|
+
key: string;
|
|
2175
2327
|
}
|
|
2176
2328
|
export type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2177
|
-
[property: string]: AggregationsAggregate | long;
|
|
2329
|
+
[property: string]: AggregationsAggregate | string | long;
|
|
2178
2330
|
};
|
|
2179
|
-
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 | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2331
|
+
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 | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2180
2332
|
export interface AggregationsAggregateBase {
|
|
2181
2333
|
meta?: Metadata;
|
|
2182
2334
|
}
|
|
@@ -2223,6 +2375,7 @@ export interface AggregationsAggregationContainer {
|
|
|
2223
2375
|
global?: AggregationsGlobalAggregation;
|
|
2224
2376
|
histogram?: AggregationsHistogramAggregation;
|
|
2225
2377
|
ip_range?: AggregationsIpRangeAggregation;
|
|
2378
|
+
ip_prefix?: AggregationsIpPrefixAggregation;
|
|
2226
2379
|
inference?: AggregationsInferenceAggregation;
|
|
2227
2380
|
line?: AggregationsGeoLineAggregation;
|
|
2228
2381
|
matrix_stats?: AggregationsMatrixStatsAggregation;
|
|
@@ -2390,10 +2543,11 @@ export interface AggregationsChildrenAggregation extends AggregationsBucketAggre
|
|
|
2390
2543
|
type?: RelationName;
|
|
2391
2544
|
}
|
|
2392
2545
|
export interface AggregationsCompositeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsCompositeBucket> {
|
|
2393
|
-
after_key?:
|
|
2546
|
+
after_key?: AggregationsCompositeAggregateKey;
|
|
2394
2547
|
}
|
|
2548
|
+
export type AggregationsCompositeAggregateKey = Record<Field, FieldValue>;
|
|
2395
2549
|
export interface AggregationsCompositeAggregation extends AggregationsBucketAggregationBase {
|
|
2396
|
-
after?:
|
|
2550
|
+
after?: AggregationsCompositeAggregateKey;
|
|
2397
2551
|
size?: integer;
|
|
2398
2552
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2399
2553
|
}
|
|
@@ -2404,10 +2558,10 @@ export interface AggregationsCompositeAggregationSource {
|
|
|
2404
2558
|
geotile_grid?: AggregationsGeoTileGridAggregation;
|
|
2405
2559
|
}
|
|
2406
2560
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2407
|
-
key:
|
|
2561
|
+
key: AggregationsCompositeAggregateKey;
|
|
2408
2562
|
}
|
|
2409
2563
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2410
|
-
[property: string]: AggregationsAggregate |
|
|
2564
|
+
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2411
2565
|
};
|
|
2412
2566
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2413
2567
|
value: long;
|
|
@@ -2502,6 +2656,8 @@ export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAgg
|
|
|
2502
2656
|
variance_population: double | null;
|
|
2503
2657
|
variance_sampling: double | null;
|
|
2504
2658
|
std_deviation: double | null;
|
|
2659
|
+
std_deviation_population: double | null;
|
|
2660
|
+
std_deviation_sampling: double | null;
|
|
2505
2661
|
std_deviation_bounds?: AggregationsStandardDeviationBounds;
|
|
2506
2662
|
sum_of_squares_as_string?: string;
|
|
2507
2663
|
variance_as_string?: string;
|
|
@@ -2543,7 +2699,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2543
2699
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2544
2700
|
format?: string;
|
|
2545
2701
|
}
|
|
2546
|
-
export type AggregationsGapPolicy = 'skip' | 'insert_zeros';
|
|
2702
|
+
export type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
|
|
2547
2703
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2548
2704
|
bounds?: GeoBounds;
|
|
2549
2705
|
}
|
|
@@ -2582,9 +2738,18 @@ export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBuck
|
|
|
2582
2738
|
export type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
|
|
2583
2739
|
[property: string]: AggregationsAggregate | GeoHash | long;
|
|
2584
2740
|
};
|
|
2741
|
+
export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucketAggregateBase<AggregationsGeoHexGridBucket> {
|
|
2742
|
+
}
|
|
2743
|
+
export interface AggregationsGeoHexGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2744
|
+
key: GeoHexCell;
|
|
2745
|
+
}
|
|
2746
|
+
export type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys & {
|
|
2747
|
+
[property: string]: AggregationsAggregate | GeoHexCell | long;
|
|
2748
|
+
};
|
|
2585
2749
|
export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
|
|
2586
2750
|
type: string;
|
|
2587
2751
|
geometry: GeoLine;
|
|
2752
|
+
properties: any;
|
|
2588
2753
|
}
|
|
2589
2754
|
export interface AggregationsGeoLineAggregation {
|
|
2590
2755
|
point: AggregationsGeoLinePoint;
|
|
@@ -2712,6 +2877,25 @@ export interface AggregationsInferenceTopClassEntry {
|
|
|
2712
2877
|
class_probability: double;
|
|
2713
2878
|
class_score: double;
|
|
2714
2879
|
}
|
|
2880
|
+
export interface AggregationsIpPrefixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpPrefixBucket> {
|
|
2881
|
+
}
|
|
2882
|
+
export interface AggregationsIpPrefixAggregation extends AggregationsBucketAggregationBase {
|
|
2883
|
+
field: Field;
|
|
2884
|
+
prefix_length: integer;
|
|
2885
|
+
is_ipv6?: boolean;
|
|
2886
|
+
append_prefix_length?: boolean;
|
|
2887
|
+
keyed?: boolean;
|
|
2888
|
+
min_doc_count?: long;
|
|
2889
|
+
}
|
|
2890
|
+
export interface AggregationsIpPrefixBucketKeys extends AggregationsMultiBucketBase {
|
|
2891
|
+
is_ipv6: boolean;
|
|
2892
|
+
key: string;
|
|
2893
|
+
prefix_length: integer;
|
|
2894
|
+
netmask?: string;
|
|
2895
|
+
}
|
|
2896
|
+
export type AggregationsIpPrefixBucket = AggregationsIpPrefixBucketKeys & {
|
|
2897
|
+
[property: string]: AggregationsAggregate | boolean | string | integer | long;
|
|
2898
|
+
};
|
|
2715
2899
|
export interface AggregationsIpRangeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpRangeBucket> {
|
|
2716
2900
|
}
|
|
2717
2901
|
export interface AggregationsIpRangeAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2724,6 +2908,7 @@ export interface AggregationsIpRangeAggregationRange {
|
|
|
2724
2908
|
to?: string | null;
|
|
2725
2909
|
}
|
|
2726
2910
|
export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBase {
|
|
2911
|
+
key?: string;
|
|
2727
2912
|
from?: string;
|
|
2728
2913
|
to?: string;
|
|
2729
2914
|
}
|
|
@@ -2759,7 +2944,7 @@ export interface AggregationsMatrixAggregation extends AggregationsAggregation {
|
|
|
2759
2944
|
}
|
|
2760
2945
|
export interface AggregationsMatrixStatsAggregate extends AggregationsAggregateBase {
|
|
2761
2946
|
doc_count: long;
|
|
2762
|
-
fields
|
|
2947
|
+
fields?: AggregationsMatrixStatsFields[];
|
|
2763
2948
|
}
|
|
2764
2949
|
export interface AggregationsMatrixStatsAggregation extends AggregationsMatrixAggregation {
|
|
2765
2950
|
mode?: SortMode;
|
|
@@ -2832,6 +3017,7 @@ export interface AggregationsMultiBucketBase {
|
|
|
2832
3017
|
}
|
|
2833
3018
|
export interface AggregationsMultiTermLookup {
|
|
2834
3019
|
field: Field;
|
|
3020
|
+
missing?: AggregationsMissing;
|
|
2835
3021
|
}
|
|
2836
3022
|
export interface AggregationsMultiTermsAggregate extends AggregationsTermsAggregateBase<AggregationsMultiTermsBucket> {
|
|
2837
3023
|
}
|
|
@@ -2846,12 +3032,12 @@ export interface AggregationsMultiTermsAggregation extends AggregationsBucketAgg
|
|
|
2846
3032
|
terms: AggregationsMultiTermLookup[];
|
|
2847
3033
|
}
|
|
2848
3034
|
export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucketBase {
|
|
2849
|
-
key:
|
|
3035
|
+
key: FieldValue[];
|
|
2850
3036
|
key_as_string?: string;
|
|
2851
3037
|
doc_count_error_upper_bound?: long;
|
|
2852
3038
|
}
|
|
2853
3039
|
export type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
|
|
2854
|
-
[property: string]: AggregationsAggregate |
|
|
3040
|
+
[property: string]: AggregationsAggregate | FieldValue[] | string | long;
|
|
2855
3041
|
};
|
|
2856
3042
|
export interface AggregationsMutualInformationHeuristic {
|
|
2857
3043
|
background_is_superset?: boolean;
|
|
@@ -2975,7 +3161,7 @@ export interface AggregationsScriptedMetricAggregation extends AggregationsMetri
|
|
|
2975
3161
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
2976
3162
|
lag?: integer;
|
|
2977
3163
|
}
|
|
2978
|
-
export interface AggregationsSignificantLongTermsAggregate extends
|
|
3164
|
+
export interface AggregationsSignificantLongTermsAggregate extends AggregationsSignificantTermsAggregateBase<AggregationsSignificantLongTermsBucket> {
|
|
2979
3165
|
}
|
|
2980
3166
|
export interface AggregationsSignificantLongTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2981
3167
|
key: long;
|
|
@@ -2984,7 +3170,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
|
|
|
2984
3170
|
export type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
|
|
2985
3171
|
[property: string]: AggregationsAggregate | long | string | double;
|
|
2986
3172
|
};
|
|
2987
|
-
export interface AggregationsSignificantStringTermsAggregate extends
|
|
3173
|
+
export interface AggregationsSignificantStringTermsAggregate extends AggregationsSignificantTermsAggregateBase<AggregationsSignificantStringTermsBucket> {
|
|
2988
3174
|
}
|
|
2989
3175
|
export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
2990
3176
|
key: string;
|
|
@@ -2992,6 +3178,10 @@ export interface AggregationsSignificantStringTermsBucketKeys extends Aggregatio
|
|
|
2992
3178
|
export type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
|
|
2993
3179
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
2994
3180
|
};
|
|
3181
|
+
export interface AggregationsSignificantTermsAggregateBase<T = unknown> extends AggregationsMultiBucketAggregateBase<T> {
|
|
3182
|
+
bg_count?: long;
|
|
3183
|
+
doc_count?: long;
|
|
3184
|
+
}
|
|
2995
3185
|
export interface AggregationsSignificantTermsAggregation extends AggregationsBucketAggregationBase {
|
|
2996
3186
|
background_filter?: QueryDslQueryContainer;
|
|
2997
3187
|
chi_square?: AggregationsChiSquareHeuristic;
|
|
@@ -3103,10 +3293,10 @@ export interface AggregationsStringStatsAggregation extends AggregationsMetricAg
|
|
|
3103
3293
|
export interface AggregationsStringTermsAggregate extends AggregationsTermsAggregateBase<AggregationsStringTermsBucket> {
|
|
3104
3294
|
}
|
|
3105
3295
|
export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
|
|
3106
|
-
key:
|
|
3296
|
+
key: FieldValue;
|
|
3107
3297
|
}
|
|
3108
3298
|
export type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
|
|
3109
|
-
[property: string]: AggregationsAggregate |
|
|
3299
|
+
[property: string]: AggregationsAggregate | FieldValue | long;
|
|
3110
3300
|
};
|
|
3111
3301
|
export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3112
3302
|
}
|
|
@@ -3133,7 +3323,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
|
|
|
3133
3323
|
export type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
3134
3324
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
3135
3325
|
doc_count_error_upper_bound?: long;
|
|
3136
|
-
sum_other_doc_count
|
|
3326
|
+
sum_other_doc_count?: long;
|
|
3137
3327
|
}
|
|
3138
3328
|
export interface AggregationsTermsAggregation extends AggregationsBucketAggregationBase {
|
|
3139
3329
|
collect_mode?: AggregationsTermsAggregationCollectMode;
|
|
@@ -3208,7 +3398,7 @@ export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSi
|
|
|
3208
3398
|
export type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
|
|
3209
3399
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
3210
3400
|
};
|
|
3211
|
-
export interface AggregationsUnmappedSignificantTermsAggregate extends
|
|
3401
|
+
export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsSignificantTermsAggregateBase<void> {
|
|
3212
3402
|
}
|
|
3213
3403
|
export interface AggregationsUnmappedTermsAggregate extends AggregationsTermsAggregateBase<void> {
|
|
3214
3404
|
}
|
|
@@ -3491,7 +3681,7 @@ export interface AnalysisLetterTokenizer extends AnalysisTokenizerBase {
|
|
|
3491
3681
|
export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterBase {
|
|
3492
3682
|
type: 'limit';
|
|
3493
3683
|
consume_all_tokens?: boolean;
|
|
3494
|
-
max_token_count?: integer
|
|
3684
|
+
max_token_count?: SpecUtilsStringified<integer>;
|
|
3495
3685
|
}
|
|
3496
3686
|
export interface AnalysisLowercaseNormalizer {
|
|
3497
3687
|
type: 'lowercase';
|
|
@@ -3652,7 +3842,8 @@ export interface AnalysisStemmerOverrideTokenFilter extends AnalysisTokenFilterB
|
|
|
3652
3842
|
}
|
|
3653
3843
|
export interface AnalysisStemmerTokenFilter extends AnalysisTokenFilterBase {
|
|
3654
3844
|
type: 'stemmer';
|
|
3655
|
-
language
|
|
3845
|
+
language?: string;
|
|
3846
|
+
name?: string;
|
|
3656
3847
|
}
|
|
3657
3848
|
export interface AnalysisStopAnalyzer {
|
|
3658
3849
|
type: 'stop';
|
|
@@ -3764,6 +3955,7 @@ export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBas
|
|
|
3764
3955
|
type: 'aggregate_metric_double';
|
|
3765
3956
|
default_metric: string;
|
|
3766
3957
|
metrics: string[];
|
|
3958
|
+
time_series_metric?: MappingTimeSeriesMetricType;
|
|
3767
3959
|
}
|
|
3768
3960
|
export interface MappingAllField {
|
|
3769
3961
|
analyzer: string;
|
|
@@ -3787,7 +3979,7 @@ export interface MappingBooleanProperty extends MappingDocValuesPropertyBase {
|
|
|
3787
3979
|
null_value?: boolean;
|
|
3788
3980
|
type: 'boolean';
|
|
3789
3981
|
}
|
|
3790
|
-
export interface MappingByteNumberProperty extends
|
|
3982
|
+
export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
|
|
3791
3983
|
type: 'byte';
|
|
3792
3984
|
null_value?: byte;
|
|
3793
3985
|
}
|
|
@@ -3851,7 +4043,7 @@ export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
|
3851
4043
|
export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
|
|
3852
4044
|
doc_values?: boolean;
|
|
3853
4045
|
}
|
|
3854
|
-
export interface MappingDoubleNumberProperty extends
|
|
4046
|
+
export interface MappingDoubleNumberProperty extends MappingNumberPropertyBase {
|
|
3855
4047
|
type: 'double';
|
|
3856
4048
|
null_value?: double;
|
|
3857
4049
|
}
|
|
@@ -3917,7 +4109,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
|
3917
4109
|
split_queries_on_whitespace?: boolean;
|
|
3918
4110
|
type: 'flattened';
|
|
3919
4111
|
}
|
|
3920
|
-
export interface MappingFloatNumberProperty extends
|
|
4112
|
+
export interface MappingFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3921
4113
|
type: 'float';
|
|
3922
4114
|
null_value?: float;
|
|
3923
4115
|
}
|
|
@@ -3940,7 +4132,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
3940
4132
|
type: 'geo_shape';
|
|
3941
4133
|
}
|
|
3942
4134
|
export type MappingGeoStrategy = 'recursive' | 'term';
|
|
3943
|
-
export interface MappingHalfFloatNumberProperty extends
|
|
4135
|
+
export interface MappingHalfFloatNumberProperty extends MappingNumberPropertyBase {
|
|
3944
4136
|
type: 'half_float';
|
|
3945
4137
|
null_value?: float;
|
|
3946
4138
|
}
|
|
@@ -3952,7 +4144,7 @@ export interface MappingIndexField {
|
|
|
3952
4144
|
enabled: boolean;
|
|
3953
4145
|
}
|
|
3954
4146
|
export type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
|
|
3955
|
-
export interface MappingIntegerNumberProperty extends
|
|
4147
|
+
export interface MappingIntegerNumberProperty extends MappingNumberPropertyBase {
|
|
3956
4148
|
type: 'integer';
|
|
3957
4149
|
null_value?: integer;
|
|
3958
4150
|
}
|
|
@@ -3962,8 +4154,11 @@ export interface MappingIntegerRangeProperty extends MappingRangePropertyBase {
|
|
|
3962
4154
|
export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
3963
4155
|
boost?: double;
|
|
3964
4156
|
index?: boolean;
|
|
3965
|
-
null_value?: string;
|
|
3966
4157
|
ignore_malformed?: boolean;
|
|
4158
|
+
null_value?: string;
|
|
4159
|
+
on_script_error?: MappingOnScriptError;
|
|
4160
|
+
script?: Script;
|
|
4161
|
+
time_series_dimension?: boolean;
|
|
3967
4162
|
type: 'ip';
|
|
3968
4163
|
}
|
|
3969
4164
|
export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
@@ -3971,6 +4166,7 @@ export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
|
3971
4166
|
}
|
|
3972
4167
|
export interface MappingJoinProperty extends MappingPropertyBase {
|
|
3973
4168
|
relations?: Record<RelationName, RelationName | RelationName[]>;
|
|
4169
|
+
eager_global_ordinals?: boolean;
|
|
3974
4170
|
type: 'join';
|
|
3975
4171
|
}
|
|
3976
4172
|
export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
@@ -3985,7 +4181,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
3985
4181
|
time_series_dimension?: boolean;
|
|
3986
4182
|
type: 'keyword';
|
|
3987
4183
|
}
|
|
3988
|
-
export interface MappingLongNumberProperty extends
|
|
4184
|
+
export interface MappingLongNumberProperty extends MappingNumberPropertyBase {
|
|
3989
4185
|
type: 'long';
|
|
3990
4186
|
null_value?: long;
|
|
3991
4187
|
}
|
|
@@ -4009,9 +4205,14 @@ export interface MappingNestedProperty extends MappingCorePropertyBase {
|
|
|
4009
4205
|
type: 'nested';
|
|
4010
4206
|
}
|
|
4011
4207
|
export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase {
|
|
4012
|
-
|
|
4208
|
+
boost?: double;
|
|
4209
|
+
coerce?: boolean;
|
|
4013
4210
|
ignore_malformed?: boolean;
|
|
4211
|
+
index?: boolean;
|
|
4212
|
+
on_script_error?: MappingOnScriptError;
|
|
4213
|
+
script?: Script;
|
|
4014
4214
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4215
|
+
time_series_dimension?: boolean;
|
|
4015
4216
|
}
|
|
4016
4217
|
export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
4017
4218
|
enabled?: boolean;
|
|
@@ -4029,7 +4230,6 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4029
4230
|
}
|
|
4030
4231
|
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | 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;
|
|
4031
4232
|
export interface MappingPropertyBase {
|
|
4032
|
-
local_metadata?: Metadata;
|
|
4033
4233
|
meta?: Record<string, string>;
|
|
4034
4234
|
properties?: Record<PropertyName, MappingProperty>;
|
|
4035
4235
|
ignore_above?: integer;
|
|
@@ -4052,15 +4252,22 @@ export interface MappingRoutingField {
|
|
|
4052
4252
|
required: boolean;
|
|
4053
4253
|
}
|
|
4054
4254
|
export interface MappingRuntimeField {
|
|
4255
|
+
fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
|
|
4055
4256
|
format?: string;
|
|
4257
|
+
input_field?: Field;
|
|
4258
|
+
target_field?: Field;
|
|
4259
|
+
target_index?: IndexName;
|
|
4056
4260
|
script?: Script;
|
|
4057
4261
|
type: MappingRuntimeFieldType;
|
|
4058
4262
|
}
|
|
4059
|
-
export
|
|
4263
|
+
export interface MappingRuntimeFieldFetchFields {
|
|
4264
|
+
field: Field;
|
|
4265
|
+
format?: string;
|
|
4266
|
+
}
|
|
4267
|
+
export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
|
|
4060
4268
|
export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
4061
4269
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
4062
4270
|
type: 'scaled_float';
|
|
4063
|
-
coerce?: boolean;
|
|
4064
4271
|
null_value?: double;
|
|
4065
4272
|
scaling_factor?: double;
|
|
4066
4273
|
}
|
|
@@ -4082,7 +4289,7 @@ export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
4082
4289
|
orientation?: MappingGeoOrientation;
|
|
4083
4290
|
type: 'shape';
|
|
4084
4291
|
}
|
|
4085
|
-
export interface MappingShortNumberProperty extends
|
|
4292
|
+
export interface MappingShortNumberProperty extends MappingNumberPropertyBase {
|
|
4086
4293
|
type: 'short';
|
|
4087
4294
|
null_value?: short;
|
|
4088
4295
|
}
|
|
@@ -4095,12 +4302,9 @@ export interface MappingSourceField {
|
|
|
4095
4302
|
enabled?: boolean;
|
|
4096
4303
|
excludes?: string[];
|
|
4097
4304
|
includes?: string[];
|
|
4305
|
+
mode?: MappingSourceFieldMode;
|
|
4098
4306
|
}
|
|
4099
|
-
export
|
|
4100
|
-
coerce?: boolean;
|
|
4101
|
-
script?: Script;
|
|
4102
|
-
on_script_error?: MappingOnScriptError;
|
|
4103
|
-
}
|
|
4307
|
+
export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4104
4308
|
export interface MappingSuggestContext {
|
|
4105
4309
|
name: Name;
|
|
4106
4310
|
path?: Field;
|
|
@@ -4143,7 +4347,7 @@ export interface MappingTypeMapping {
|
|
|
4143
4347
|
date_detection?: boolean;
|
|
4144
4348
|
dynamic?: MappingDynamicMapping;
|
|
4145
4349
|
dynamic_date_formats?: string[];
|
|
4146
|
-
dynamic_templates?: Record<string, MappingDynamicTemplate>
|
|
4350
|
+
dynamic_templates?: Record<string, MappingDynamicTemplate>[];
|
|
4147
4351
|
_field_names?: MappingFieldNamesField;
|
|
4148
4352
|
index_field?: MappingIndexField;
|
|
4149
4353
|
_meta?: Metadata;
|
|
@@ -4902,7 +5106,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
4902
5106
|
track_total_hits?: SearchTrackHits;
|
|
4903
5107
|
indices_boost?: Record<IndexName, double>[];
|
|
4904
5108
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
4905
|
-
knn?: KnnQuery;
|
|
5109
|
+
knn?: KnnQuery | KnnQuery[];
|
|
4906
5110
|
min_score?: double;
|
|
4907
5111
|
post_filter?: QueryDslQueryContainer;
|
|
4908
5112
|
profile?: boolean;
|
|
@@ -4981,7 +5185,7 @@ export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' |
|
|
|
4981
5185
|
export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
|
|
4982
5186
|
export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
|
|
4983
5187
|
}
|
|
4984
|
-
export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
|
|
5188
|
+
export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'dfid' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
|
|
4985
5189
|
export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
|
|
4986
5190
|
export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
|
|
4987
5191
|
export type CatCatTransformColumns = CatCatTransformColumn | CatCatTransformColumn[];
|
|
@@ -5438,6 +5642,7 @@ export interface CatIndicesRequest extends CatCatRequestBase {
|
|
|
5438
5642
|
health?: HealthStatus;
|
|
5439
5643
|
include_unloaded_segments?: boolean;
|
|
5440
5644
|
pri?: boolean;
|
|
5645
|
+
time?: TimeUnit;
|
|
5441
5646
|
}
|
|
5442
5647
|
export type CatIndicesResponse = CatIndicesIndicesRecord[];
|
|
5443
5648
|
export interface CatMasterMasterRecord {
|
|
@@ -7039,6 +7244,25 @@ export interface ClusterGetSettingsResponse {
|
|
|
7039
7244
|
transient: Record<string, any>;
|
|
7040
7245
|
defaults?: Record<string, any>;
|
|
7041
7246
|
}
|
|
7247
|
+
export interface ClusterHealthHealthResponseBody {
|
|
7248
|
+
active_primary_shards: integer;
|
|
7249
|
+
active_shards: integer;
|
|
7250
|
+
active_shards_percent_as_number: Percentage;
|
|
7251
|
+
cluster_name: Name;
|
|
7252
|
+
delayed_unassigned_shards: integer;
|
|
7253
|
+
indices?: Record<IndexName, ClusterHealthIndexHealthStats>;
|
|
7254
|
+
initializing_shards: integer;
|
|
7255
|
+
number_of_data_nodes: integer;
|
|
7256
|
+
number_of_in_flight_fetch: integer;
|
|
7257
|
+
number_of_nodes: integer;
|
|
7258
|
+
number_of_pending_tasks: integer;
|
|
7259
|
+
relocating_shards: integer;
|
|
7260
|
+
status: HealthStatus;
|
|
7261
|
+
task_max_waiting_in_queue?: Duration;
|
|
7262
|
+
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7263
|
+
timed_out: boolean;
|
|
7264
|
+
unassigned_shards: integer;
|
|
7265
|
+
}
|
|
7042
7266
|
export interface ClusterHealthIndexHealthStats {
|
|
7043
7267
|
active_primary_shards: integer;
|
|
7044
7268
|
active_shards: integer;
|
|
@@ -7064,25 +7288,7 @@ export interface ClusterHealthRequest extends RequestBase {
|
|
|
7064
7288
|
wait_for_no_relocating_shards?: boolean;
|
|
7065
7289
|
wait_for_status?: HealthStatus;
|
|
7066
7290
|
}
|
|
7067
|
-
export
|
|
7068
|
-
active_primary_shards: integer;
|
|
7069
|
-
active_shards: integer;
|
|
7070
|
-
active_shards_percent_as_number: Percentage;
|
|
7071
|
-
cluster_name: Name;
|
|
7072
|
-
delayed_unassigned_shards: integer;
|
|
7073
|
-
indices?: Record<IndexName, ClusterHealthIndexHealthStats>;
|
|
7074
|
-
initializing_shards: integer;
|
|
7075
|
-
number_of_data_nodes: integer;
|
|
7076
|
-
number_of_in_flight_fetch: integer;
|
|
7077
|
-
number_of_nodes: integer;
|
|
7078
|
-
number_of_pending_tasks: integer;
|
|
7079
|
-
relocating_shards: integer;
|
|
7080
|
-
status: HealthStatus;
|
|
7081
|
-
task_max_waiting_in_queue?: Duration;
|
|
7082
|
-
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7083
|
-
timed_out: boolean;
|
|
7084
|
-
unassigned_shards: integer;
|
|
7085
|
-
}
|
|
7291
|
+
export type ClusterHealthResponse = ClusterHealthHealthResponseBody;
|
|
7086
7292
|
export interface ClusterHealthShardHealthStats {
|
|
7087
7293
|
active_shards: integer;
|
|
7088
7294
|
initializing_shards: integer;
|
|
@@ -7119,11 +7325,9 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7119
7325
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7120
7326
|
body?: {
|
|
7121
7327
|
template: IndicesIndexState;
|
|
7122
|
-
aliases?: Record<string, IndicesAliasDefinition>;
|
|
7123
|
-
mappings?: MappingTypeMapping;
|
|
7124
|
-
settings?: IndicesIndexSettings;
|
|
7125
7328
|
version?: VersionNumber;
|
|
7126
7329
|
_meta?: Metadata;
|
|
7330
|
+
allow_auto_create?: boolean;
|
|
7127
7331
|
};
|
|
7128
7332
|
}
|
|
7129
7333
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7228,7 +7432,7 @@ export interface ClusterRerouteRerouteParameters {
|
|
|
7228
7432
|
export interface ClusterRerouteResponse {
|
|
7229
7433
|
acknowledged: boolean;
|
|
7230
7434
|
explanations?: ClusterRerouteRerouteExplanation[];
|
|
7231
|
-
state
|
|
7435
|
+
state?: any;
|
|
7232
7436
|
}
|
|
7233
7437
|
export interface ClusterStateRequest extends RequestBase {
|
|
7234
7438
|
metric?: Metrics;
|
|
@@ -7387,11 +7591,18 @@ export interface ClusterStatsFieldTypes {
|
|
|
7387
7591
|
name: Name;
|
|
7388
7592
|
count: integer;
|
|
7389
7593
|
index_count: integer;
|
|
7594
|
+
indexed_vector_count?: long;
|
|
7595
|
+
indexed_vector_dim_max?: long;
|
|
7596
|
+
indexed_vector_dim_min?: long;
|
|
7390
7597
|
script_count?: integer;
|
|
7391
7598
|
}
|
|
7392
7599
|
export interface ClusterStatsFieldTypesMappings {
|
|
7393
7600
|
field_types: ClusterStatsFieldTypes[];
|
|
7394
7601
|
runtime_field_types?: ClusterStatsRuntimeFieldTypes[];
|
|
7602
|
+
total_field_count?: integer;
|
|
7603
|
+
total_deduplicated_field_count?: integer;
|
|
7604
|
+
total_deduplicated_mapping_size?: ByteSize;
|
|
7605
|
+
total_deduplicated_mapping_size_in_bytes?: long;
|
|
7395
7606
|
}
|
|
7396
7607
|
export interface ClusterStatsIndexingPressure {
|
|
7397
7608
|
memory: ClusterStatsIndexingPressureMemory;
|
|
@@ -7485,20 +7696,17 @@ export interface DanglingIndicesListDanglingIndicesRequest extends RequestBase {
|
|
|
7485
7696
|
export interface DanglingIndicesListDanglingIndicesResponse {
|
|
7486
7697
|
dangling_indices: DanglingIndicesListDanglingIndicesDanglingIndex[];
|
|
7487
7698
|
}
|
|
7488
|
-
export interface EnrichConfiguration {
|
|
7489
|
-
geo_match?: EnrichPolicy;
|
|
7490
|
-
match: EnrichPolicy;
|
|
7491
|
-
range: EnrichPolicy;
|
|
7492
|
-
}
|
|
7493
7699
|
export interface EnrichPolicy {
|
|
7494
7700
|
enrich_fields: Fields;
|
|
7495
7701
|
indices: Indices;
|
|
7496
7702
|
match_field: Field;
|
|
7497
7703
|
query?: string;
|
|
7498
7704
|
name?: Name;
|
|
7705
|
+
elasticsearch_version?: string;
|
|
7499
7706
|
}
|
|
7707
|
+
export type EnrichPolicyType = 'geo_match' | 'match' | 'range';
|
|
7500
7708
|
export interface EnrichSummary {
|
|
7501
|
-
config:
|
|
7709
|
+
config: Partial<Record<EnrichPolicyType, EnrichPolicy>>;
|
|
7502
7710
|
}
|
|
7503
7711
|
export interface EnrichDeletePolicyRequest extends RequestBase {
|
|
7504
7712
|
name: Name;
|
|
@@ -7653,7 +7861,7 @@ export interface FleetGlobalCheckpointsResponse {
|
|
|
7653
7861
|
timed_out: boolean;
|
|
7654
7862
|
}
|
|
7655
7863
|
export interface FleetMsearchRequest extends RequestBase {
|
|
7656
|
-
index
|
|
7864
|
+
index?: IndexName | IndexAlias;
|
|
7657
7865
|
allow_no_indices?: boolean;
|
|
7658
7866
|
ccs_minimize_roundtrips?: boolean;
|
|
7659
7867
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -7832,6 +8040,7 @@ export interface IlmPhase {
|
|
|
7832
8040
|
export interface IlmPhases {
|
|
7833
8041
|
cold?: IlmPhase;
|
|
7834
8042
|
delete?: IlmPhase;
|
|
8043
|
+
frozen?: IlmPhase;
|
|
7835
8044
|
hot?: IlmPhase;
|
|
7836
8045
|
warm?: IlmPhase;
|
|
7837
8046
|
}
|
|
@@ -8014,6 +8223,9 @@ export interface IndicesDataStreamTimestampField {
|
|
|
8014
8223
|
export interface IndicesDataStreamVisibility {
|
|
8015
8224
|
hidden?: boolean;
|
|
8016
8225
|
}
|
|
8226
|
+
export interface IndicesDownsampleConfig {
|
|
8227
|
+
fixed_interval: DurationLarge;
|
|
8228
|
+
}
|
|
8017
8229
|
export interface IndicesFielddataFrequencyFilter {
|
|
8018
8230
|
max: double;
|
|
8019
8231
|
min: double;
|
|
@@ -8056,7 +8268,7 @@ export interface IndicesIndexSettingBlocks {
|
|
|
8056
8268
|
read_only_allow_delete?: boolean;
|
|
8057
8269
|
read?: boolean;
|
|
8058
8270
|
write?: boolean | string;
|
|
8059
|
-
metadata?: boolean
|
|
8271
|
+
metadata?: SpecUtilsStringified<boolean>;
|
|
8060
8272
|
}
|
|
8061
8273
|
export interface IndicesIndexSettingsKeys {
|
|
8062
8274
|
index?: IndicesIndexSettings;
|
|
@@ -8069,7 +8281,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8069
8281
|
number_of_routing_shards?: integer;
|
|
8070
8282
|
check_on_startup?: IndicesIndexCheckOnStartup;
|
|
8071
8283
|
codec?: string;
|
|
8072
|
-
routing_partition_size?: integer
|
|
8284
|
+
routing_partition_size?: SpecUtilsStringified<integer>;
|
|
8073
8285
|
load_fixed_bitset_filters_eagerly?: boolean;
|
|
8074
8286
|
hidden?: boolean | string;
|
|
8075
8287
|
auto_expand_replicas?: string;
|
|
@@ -8170,6 +8382,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8170
8382
|
}
|
|
8171
8383
|
export interface IndicesIndexVersioning {
|
|
8172
8384
|
created?: VersionString;
|
|
8385
|
+
created_string?: string;
|
|
8173
8386
|
}
|
|
8174
8387
|
export interface IndicesIndexingPressure {
|
|
8175
8388
|
memory: IndicesIndexingPressureMemory;
|
|
@@ -8178,6 +8391,7 @@ export interface IndicesIndexingPressureMemory {
|
|
|
8178
8391
|
limit?: integer;
|
|
8179
8392
|
}
|
|
8180
8393
|
export interface IndicesMappingLimitSettings {
|
|
8394
|
+
coerce?: boolean;
|
|
8181
8395
|
total_fields?: IndicesMappingLimitSettingsTotalFields;
|
|
8182
8396
|
depth?: IndicesMappingLimitSettingsDepth;
|
|
8183
8397
|
nested_fields?: IndicesMappingLimitSettingsNestedFields;
|
|
@@ -8208,8 +8422,8 @@ export interface IndicesMerge {
|
|
|
8208
8422
|
scheduler?: IndicesMergeScheduler;
|
|
8209
8423
|
}
|
|
8210
8424
|
export interface IndicesMergeScheduler {
|
|
8211
|
-
max_thread_count?: integer
|
|
8212
|
-
max_merge_count?: integer
|
|
8425
|
+
max_thread_count?: SpecUtilsStringified<integer>;
|
|
8426
|
+
max_merge_count?: SpecUtilsStringified<integer>;
|
|
8213
8427
|
}
|
|
8214
8428
|
export interface IndicesNumericFielddata {
|
|
8215
8429
|
format: IndicesNumericFielddataFormat;
|
|
@@ -8228,13 +8442,13 @@ export type IndicesSegmentSortMissing = '_last' | '_first';
|
|
|
8228
8442
|
export type IndicesSegmentSortMode = 'min' | 'MIN' | 'max' | 'MAX';
|
|
8229
8443
|
export type IndicesSegmentSortOrder = 'asc' | 'ASC' | 'desc' | 'DESC';
|
|
8230
8444
|
export interface IndicesSettingsAnalyze {
|
|
8231
|
-
max_token_count?: integer
|
|
8445
|
+
max_token_count?: SpecUtilsStringified<integer>;
|
|
8232
8446
|
}
|
|
8233
8447
|
export interface IndicesSettingsHighlight {
|
|
8234
8448
|
max_analyzed_offset?: integer;
|
|
8235
8449
|
}
|
|
8236
8450
|
export interface IndicesSettingsQueryString {
|
|
8237
|
-
lenient: boolean
|
|
8451
|
+
lenient: SpecUtilsStringified<boolean>;
|
|
8238
8452
|
}
|
|
8239
8453
|
export interface IndicesSettingsSearch {
|
|
8240
8454
|
idle?: IndicesSearchIdle;
|
|
@@ -8250,7 +8464,7 @@ export interface IndicesSettingsSimilarity {
|
|
|
8250
8464
|
scripted_tfidf?: IndicesSettingsSimilarityScriptedTfidf;
|
|
8251
8465
|
}
|
|
8252
8466
|
export interface IndicesSettingsSimilarityBm25 {
|
|
8253
|
-
b:
|
|
8467
|
+
b: double;
|
|
8254
8468
|
discount_overlaps: boolean;
|
|
8255
8469
|
k1: double;
|
|
8256
8470
|
type: 'BM25';
|
|
@@ -8308,7 +8522,7 @@ export interface IndicesStorage {
|
|
|
8308
8522
|
type: IndicesStorageType;
|
|
8309
8523
|
allow_mmap?: boolean;
|
|
8310
8524
|
}
|
|
8311
|
-
export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs';
|
|
8525
|
+
export type IndicesStorageType = 'fs' | '' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
|
|
8312
8526
|
export interface IndicesTemplateMapping {
|
|
8313
8527
|
aliases: Record<IndexName, IndicesAlias>;
|
|
8314
8528
|
index_patterns: Name[];
|
|
@@ -8543,7 +8757,7 @@ export interface IndicesDownsampleRequest extends RequestBase {
|
|
|
8543
8757
|
index: IndexName;
|
|
8544
8758
|
target_index: IndexName;
|
|
8545
8759
|
/** @deprecated The use of the 'body' key has been deprecated, use 'config' instead. */
|
|
8546
|
-
body?:
|
|
8760
|
+
body?: IndicesDownsampleConfig;
|
|
8547
8761
|
}
|
|
8548
8762
|
export type IndicesDownsampleResponse = any;
|
|
8549
8763
|
export interface IndicesExistsRequest extends RequestBase {
|
|
@@ -8645,7 +8859,10 @@ export interface IndicesForcemergeRequest extends RequestBase {
|
|
|
8645
8859
|
only_expunge_deletes?: boolean;
|
|
8646
8860
|
wait_for_completion?: boolean;
|
|
8647
8861
|
}
|
|
8648
|
-
export type IndicesForcemergeResponse =
|
|
8862
|
+
export type IndicesForcemergeResponse = IndicesForcemergeForceMergeResponseBody;
|
|
8863
|
+
export interface IndicesForcemergeForceMergeResponseBody extends ShardsOperationResponseBase {
|
|
8864
|
+
task?: string;
|
|
8865
|
+
}
|
|
8649
8866
|
export type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
|
|
8650
8867
|
export type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
|
|
8651
8868
|
export interface IndicesGetRequest extends RequestBase {
|
|
@@ -9028,13 +9245,21 @@ export interface IndicesRolloverResponse {
|
|
|
9028
9245
|
shards_acknowledged: boolean;
|
|
9029
9246
|
}
|
|
9030
9247
|
export interface IndicesRolloverRolloverConditions {
|
|
9248
|
+
min_age?: Duration;
|
|
9031
9249
|
max_age?: Duration;
|
|
9032
9250
|
max_age_millis?: DurationValue<UnitMillis>;
|
|
9251
|
+
min_docs?: long;
|
|
9033
9252
|
max_docs?: long;
|
|
9034
|
-
max_size?:
|
|
9035
|
-
max_size_bytes?:
|
|
9253
|
+
max_size?: ByteSize;
|
|
9254
|
+
max_size_bytes?: long;
|
|
9255
|
+
min_size?: ByteSize;
|
|
9256
|
+
min_size_bytes?: long;
|
|
9036
9257
|
max_primary_shard_size?: ByteSize;
|
|
9037
|
-
max_primary_shard_size_bytes?:
|
|
9258
|
+
max_primary_shard_size_bytes?: long;
|
|
9259
|
+
min_primary_shard_size?: ByteSize;
|
|
9260
|
+
min_primary_shard_size_bytes?: long;
|
|
9261
|
+
max_primary_shard_docs?: long;
|
|
9262
|
+
min_primary_shard_docs?: long;
|
|
9038
9263
|
}
|
|
9039
9264
|
export interface IndicesSegmentsIndexSegment {
|
|
9040
9265
|
shards: Record<string, IndicesSegmentsShardsSegment | IndicesSegmentsShardsSegment[]>;
|
|
@@ -9056,7 +9281,6 @@ export interface IndicesSegmentsSegment {
|
|
|
9056
9281
|
compound: boolean;
|
|
9057
9282
|
deleted_docs: long;
|
|
9058
9283
|
generation: integer;
|
|
9059
|
-
memory_in_bytes: double;
|
|
9060
9284
|
search: boolean;
|
|
9061
9285
|
size_in_bytes: double;
|
|
9062
9286
|
num_docs: long;
|
|
@@ -9086,21 +9310,27 @@ export interface IndicesShardStoresRequest extends RequestBase {
|
|
|
9086
9310
|
export interface IndicesShardStoresResponse {
|
|
9087
9311
|
indices: Record<IndexName, IndicesShardStoresIndicesShardStores>;
|
|
9088
9312
|
}
|
|
9089
|
-
export interface
|
|
9313
|
+
export interface IndicesShardStoresShardStoreKeys {
|
|
9090
9314
|
allocation: IndicesShardStoresShardStoreAllocation;
|
|
9091
|
-
allocation_id
|
|
9092
|
-
|
|
9093
|
-
id: Id;
|
|
9094
|
-
legacy_version: VersionNumber;
|
|
9095
|
-
name: Name;
|
|
9096
|
-
store_exception: IndicesShardStoresShardStoreException;
|
|
9097
|
-
transport_address: TransportAddress;
|
|
9315
|
+
allocation_id?: Id;
|
|
9316
|
+
store_exception?: IndicesShardStoresShardStoreException;
|
|
9098
9317
|
}
|
|
9318
|
+
export type IndicesShardStoresShardStore = IndicesShardStoresShardStoreKeys & {
|
|
9319
|
+
[property: string]: IndicesShardStoresShardStoreNode | IndicesShardStoresShardStoreAllocation | Id | IndicesShardStoresShardStoreException;
|
|
9320
|
+
};
|
|
9099
9321
|
export type IndicesShardStoresShardStoreAllocation = 'primary' | 'replica' | 'unused';
|
|
9100
9322
|
export interface IndicesShardStoresShardStoreException {
|
|
9101
9323
|
reason: string;
|
|
9102
9324
|
type: string;
|
|
9103
9325
|
}
|
|
9326
|
+
export interface IndicesShardStoresShardStoreNode {
|
|
9327
|
+
attributes: Record<string, string>;
|
|
9328
|
+
ephemeral_id?: string;
|
|
9329
|
+
external_id?: string;
|
|
9330
|
+
name: Name;
|
|
9331
|
+
roles: string[];
|
|
9332
|
+
transport_address: TransportAddress;
|
|
9333
|
+
}
|
|
9104
9334
|
export type IndicesShardStoresShardStoreStatus = 'green' | 'yellow' | 'red' | 'all';
|
|
9105
9335
|
export interface IndicesShardStoresShardStoreWrapper {
|
|
9106
9336
|
stores: IndicesShardStoresShardStore[];
|
|
@@ -9207,6 +9437,11 @@ export interface IndicesStatsIndicesStats {
|
|
|
9207
9437
|
health?: HealthStatus;
|
|
9208
9438
|
status?: IndicesStatsIndexMetadataState;
|
|
9209
9439
|
}
|
|
9440
|
+
export interface IndicesStatsMappingStats {
|
|
9441
|
+
total_count: long;
|
|
9442
|
+
total_estimated_overhead?: ByteSize;
|
|
9443
|
+
total_estimated_overhead_in_bytes: long;
|
|
9444
|
+
}
|
|
9210
9445
|
export interface IndicesStatsRequest extends RequestBase {
|
|
9211
9446
|
metric?: Metrics;
|
|
9212
9447
|
index?: Indices;
|
|
@@ -9284,6 +9519,7 @@ export interface IndicesStatsShardStats {
|
|
|
9284
9519
|
flush?: FlushStats;
|
|
9285
9520
|
get?: GetStats;
|
|
9286
9521
|
indexing?: IndexingStats;
|
|
9522
|
+
mappings?: IndicesStatsMappingStats;
|
|
9287
9523
|
merges?: MergesStats;
|
|
9288
9524
|
shard_path?: IndicesStatsShardPath;
|
|
9289
9525
|
query_cache?: IndicesStatsShardQueryCache;
|
|
@@ -9299,7 +9535,7 @@ export interface IndicesStatsShardStats {
|
|
|
9299
9535
|
translog?: TranslogStats;
|
|
9300
9536
|
warmer?: WarmerStats;
|
|
9301
9537
|
bulk?: BulkStats;
|
|
9302
|
-
shards?:
|
|
9538
|
+
shards?: Record<IndexName, any>;
|
|
9303
9539
|
shard_stats?: IndicesStatsShardsTotalStats;
|
|
9304
9540
|
indices?: IndicesStatsIndicesStats;
|
|
9305
9541
|
}
|
|
@@ -9411,35 +9647,34 @@ export interface IngestBytesProcessor extends IngestProcessorBase {
|
|
|
9411
9647
|
export interface IngestCircleProcessor extends IngestProcessorBase {
|
|
9412
9648
|
error_distance: double;
|
|
9413
9649
|
field: Field;
|
|
9414
|
-
ignore_missing
|
|
9650
|
+
ignore_missing?: boolean;
|
|
9415
9651
|
shape_type: IngestShapeType;
|
|
9416
|
-
target_field
|
|
9652
|
+
target_field?: Field;
|
|
9417
9653
|
}
|
|
9418
9654
|
export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
9419
9655
|
field: Field;
|
|
9420
9656
|
ignore_missing?: boolean;
|
|
9421
|
-
target_field
|
|
9657
|
+
target_field?: Field;
|
|
9422
9658
|
type: IngestConvertType;
|
|
9423
9659
|
}
|
|
9424
9660
|
export type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
|
|
9425
9661
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
9426
|
-
empty_value
|
|
9427
|
-
description?: string;
|
|
9662
|
+
empty_value?: any;
|
|
9428
9663
|
field: Field;
|
|
9429
9664
|
ignore_missing?: boolean;
|
|
9430
9665
|
quote?: string;
|
|
9431
9666
|
separator?: string;
|
|
9432
9667
|
target_fields: Fields;
|
|
9433
|
-
trim
|
|
9668
|
+
trim?: boolean;
|
|
9434
9669
|
}
|
|
9435
9670
|
export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
|
|
9436
9671
|
date_formats: string[];
|
|
9437
9672
|
date_rounding: string;
|
|
9438
9673
|
field: Field;
|
|
9439
|
-
index_name_format
|
|
9440
|
-
index_name_prefix
|
|
9441
|
-
locale
|
|
9442
|
-
timezone
|
|
9674
|
+
index_name_format?: string;
|
|
9675
|
+
index_name_prefix?: string;
|
|
9676
|
+
locale?: string;
|
|
9677
|
+
timezone?: string;
|
|
9443
9678
|
}
|
|
9444
9679
|
export interface IngestDateProcessor extends IngestProcessorBase {
|
|
9445
9680
|
field: Field;
|
|
@@ -9449,9 +9684,9 @@ export interface IngestDateProcessor extends IngestProcessorBase {
|
|
|
9449
9684
|
timezone?: string;
|
|
9450
9685
|
}
|
|
9451
9686
|
export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
9452
|
-
append_separator
|
|
9687
|
+
append_separator?: string;
|
|
9453
9688
|
field: Field;
|
|
9454
|
-
ignore_missing
|
|
9689
|
+
ignore_missing?: boolean;
|
|
9455
9690
|
pattern: string;
|
|
9456
9691
|
}
|
|
9457
9692
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
@@ -9478,17 +9713,17 @@ export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
|
9478
9713
|
processor: IngestProcessorContainer;
|
|
9479
9714
|
}
|
|
9480
9715
|
export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
9481
|
-
database_file
|
|
9716
|
+
database_file?: string;
|
|
9482
9717
|
field: Field;
|
|
9483
|
-
first_only
|
|
9484
|
-
ignore_missing
|
|
9485
|
-
properties
|
|
9486
|
-
target_field
|
|
9718
|
+
first_only?: boolean;
|
|
9719
|
+
ignore_missing?: boolean;
|
|
9720
|
+
properties?: string[];
|
|
9721
|
+
target_field?: Field;
|
|
9487
9722
|
}
|
|
9488
9723
|
export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
9489
9724
|
field: Field;
|
|
9490
9725
|
ignore_missing?: boolean;
|
|
9491
|
-
pattern_definitions
|
|
9726
|
+
pattern_definitions?: Record<string, string>;
|
|
9492
9727
|
patterns: string[];
|
|
9493
9728
|
trace_match?: boolean;
|
|
9494
9729
|
}
|
|
@@ -9516,7 +9751,7 @@ export interface IngestInferenceConfigRegression {
|
|
|
9516
9751
|
}
|
|
9517
9752
|
export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
9518
9753
|
model_id: Id;
|
|
9519
|
-
target_field
|
|
9754
|
+
target_field?: Field;
|
|
9520
9755
|
field_map?: Record<Field, any>;
|
|
9521
9756
|
inference_config?: IngestInferenceConfig;
|
|
9522
9757
|
}
|
|
@@ -9526,10 +9761,13 @@ export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
|
9526
9761
|
target_field?: Field;
|
|
9527
9762
|
}
|
|
9528
9763
|
export interface IngestJsonProcessor extends IngestProcessorBase {
|
|
9529
|
-
add_to_root
|
|
9764
|
+
add_to_root?: boolean;
|
|
9765
|
+
add_to_root_conflict_strategy?: IngestJsonProcessorConflictStrategy;
|
|
9766
|
+
allow_duplicate_keys?: boolean;
|
|
9530
9767
|
field: Field;
|
|
9531
|
-
target_field
|
|
9768
|
+
target_field?: Field;
|
|
9532
9769
|
}
|
|
9770
|
+
export type IngestJsonProcessorConflictStrategy = 'replace' | 'merge';
|
|
9533
9771
|
export interface IngestKeyValueProcessor extends IngestProcessorBase {
|
|
9534
9772
|
exclude_keys?: string[];
|
|
9535
9773
|
field: Field;
|
|
@@ -9561,8 +9799,10 @@ export interface IngestPipelineConfig {
|
|
|
9561
9799
|
}
|
|
9562
9800
|
export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
9563
9801
|
name: Name;
|
|
9802
|
+
ignore_missing_pipeline?: boolean;
|
|
9564
9803
|
}
|
|
9565
9804
|
export interface IngestProcessorBase {
|
|
9805
|
+
description?: string;
|
|
9566
9806
|
if?: string;
|
|
9567
9807
|
ignore_failure?: boolean;
|
|
9568
9808
|
on_failure?: IngestProcessorContainer[];
|
|
@@ -9614,9 +9854,12 @@ export interface IngestRenameProcessor extends IngestProcessorBase {
|
|
|
9614
9854
|
target_field: Field;
|
|
9615
9855
|
}
|
|
9616
9856
|
export interface IngestSetProcessor extends IngestProcessorBase {
|
|
9857
|
+
copy_from?: Field;
|
|
9617
9858
|
field: Field;
|
|
9859
|
+
ignore_empty_value?: boolean;
|
|
9860
|
+
media_type?: string;
|
|
9618
9861
|
override?: boolean;
|
|
9619
|
-
value
|
|
9862
|
+
value?: any;
|
|
9620
9863
|
}
|
|
9621
9864
|
export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
9622
9865
|
field: Field;
|
|
@@ -9625,8 +9868,8 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
9625
9868
|
export type IngestShapeType = 'geo_shape' | 'shape';
|
|
9626
9869
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
9627
9870
|
field: Field;
|
|
9628
|
-
order
|
|
9629
|
-
target_field
|
|
9871
|
+
order?: SortOrder;
|
|
9872
|
+
target_field?: Field;
|
|
9630
9873
|
}
|
|
9631
9874
|
export interface IngestSplitProcessor extends IngestProcessorBase {
|
|
9632
9875
|
field: Field;
|
|
@@ -9652,10 +9895,10 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
|
9652
9895
|
}
|
|
9653
9896
|
export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
9654
9897
|
field: Field;
|
|
9655
|
-
ignore_missing
|
|
9656
|
-
options
|
|
9657
|
-
regex_file
|
|
9658
|
-
target_field
|
|
9898
|
+
ignore_missing?: boolean;
|
|
9899
|
+
options?: IngestUserAgentProperty[];
|
|
9900
|
+
regex_file?: string;
|
|
9901
|
+
target_field?: Field;
|
|
9659
9902
|
}
|
|
9660
9903
|
export type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
9661
9904
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
@@ -9715,14 +9958,18 @@ export interface IngestSimulateDocument {
|
|
|
9715
9958
|
_index?: IndexName;
|
|
9716
9959
|
_source: any;
|
|
9717
9960
|
}
|
|
9718
|
-
export interface
|
|
9961
|
+
export interface IngestSimulateDocumentSimulationKeys {
|
|
9719
9962
|
_id: Id;
|
|
9720
9963
|
_index: IndexName;
|
|
9721
9964
|
_ingest: IngestSimulateIngest;
|
|
9722
|
-
_parent?: string;
|
|
9723
9965
|
_routing?: string;
|
|
9724
9966
|
_source: Record<string, any>;
|
|
9967
|
+
_version?: SpecUtilsStringified<VersionNumber>;
|
|
9968
|
+
_version_type?: VersionType;
|
|
9725
9969
|
}
|
|
9970
|
+
export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
9971
|
+
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
9972
|
+
};
|
|
9726
9973
|
export interface IngestSimulateIngest {
|
|
9727
9974
|
timestamp: DateTime;
|
|
9728
9975
|
pipeline?: Name;
|
|
@@ -9803,7 +10050,7 @@ export interface LicensePostRequest extends RequestBase {
|
|
|
9803
10050
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9804
10051
|
body?: {
|
|
9805
10052
|
license?: LicenseLicense;
|
|
9806
|
-
licenses
|
|
10053
|
+
licenses?: LicenseLicense[];
|
|
9807
10054
|
};
|
|
9808
10055
|
}
|
|
9809
10056
|
export interface LicensePostResponse {
|
|
@@ -9910,7 +10157,7 @@ export interface MigrationPostFeatureUpgradeResponse {
|
|
|
9910
10157
|
features: MigrationPostFeatureUpgradeMigrationFeature[];
|
|
9911
10158
|
}
|
|
9912
10159
|
export interface MlAnalysisConfig {
|
|
9913
|
-
bucket_span
|
|
10160
|
+
bucket_span?: Duration;
|
|
9914
10161
|
categorization_analyzer?: MlCategorizationAnalyzer;
|
|
9915
10162
|
categorization_field_name?: Field;
|
|
9916
10163
|
categorization_filters?: string[];
|
|
@@ -9944,6 +10191,7 @@ export interface MlAnalysisMemoryLimit {
|
|
|
9944
10191
|
}
|
|
9945
10192
|
export interface MlAnomaly {
|
|
9946
10193
|
actual?: double[];
|
|
10194
|
+
anomaly_score_explanation?: MlAnomalyExplanation;
|
|
9947
10195
|
bucket_span: DurationValue<UnitSeconds>;
|
|
9948
10196
|
by_field_name?: string;
|
|
9949
10197
|
by_field_value?: string;
|
|
@@ -9952,6 +10200,7 @@ export interface MlAnomaly {
|
|
|
9952
10200
|
field_name?: string;
|
|
9953
10201
|
function?: string;
|
|
9954
10202
|
function_description?: string;
|
|
10203
|
+
geo_results?: MlGeoResults;
|
|
9955
10204
|
influencers?: MlInfluence[];
|
|
9956
10205
|
initial_record_score: double;
|
|
9957
10206
|
is_interim: boolean;
|
|
@@ -9982,6 +10231,18 @@ export interface MlAnomalyCause {
|
|
|
9982
10231
|
probability: double;
|
|
9983
10232
|
typical: double[];
|
|
9984
10233
|
}
|
|
10234
|
+
export interface MlAnomalyExplanation {
|
|
10235
|
+
anomaly_characteristics_impact?: integer;
|
|
10236
|
+
anomaly_length?: integer;
|
|
10237
|
+
anomaly_type?: string;
|
|
10238
|
+
high_variance_penalty?: boolean;
|
|
10239
|
+
incomplete_bucket_penalty?: boolean;
|
|
10240
|
+
lower_confidence_bound?: double;
|
|
10241
|
+
multi_bucket_impact?: integer;
|
|
10242
|
+
single_bucket_impact?: integer;
|
|
10243
|
+
typical_value?: double;
|
|
10244
|
+
upper_confidence_bound?: double;
|
|
10245
|
+
}
|
|
9985
10246
|
export interface MlApiKeyAuthorization {
|
|
9986
10247
|
id: string;
|
|
9987
10248
|
name: string;
|
|
@@ -10115,12 +10376,12 @@ export interface MlDatafeedConfig {
|
|
|
10115
10376
|
datafeed_id?: Id;
|
|
10116
10377
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
10117
10378
|
frequency?: Duration;
|
|
10379
|
+
indices?: string[];
|
|
10118
10380
|
indexes?: string[];
|
|
10119
|
-
indices: string[];
|
|
10120
10381
|
indices_options?: IndicesOptions;
|
|
10121
10382
|
job_id?: Id;
|
|
10122
10383
|
max_empty_searches?: integer;
|
|
10123
|
-
query
|
|
10384
|
+
query?: QueryDslQueryContainer;
|
|
10124
10385
|
query_delay?: Duration;
|
|
10125
10386
|
runtime_mappings?: MappingRuntimeFields;
|
|
10126
10387
|
script_fields?: Record<string, ScriptField>;
|
|
@@ -10379,7 +10640,7 @@ export interface MlDetector {
|
|
|
10379
10640
|
detector_index?: integer;
|
|
10380
10641
|
exclude_frequent?: MlExcludeFrequent;
|
|
10381
10642
|
field_name?: Field;
|
|
10382
|
-
function
|
|
10643
|
+
function?: string;
|
|
10383
10644
|
over_field_name?: Field;
|
|
10384
10645
|
partition_field_name?: Field;
|
|
10385
10646
|
use_null?: boolean;
|
|
@@ -10424,6 +10685,10 @@ export interface MlFilterRef {
|
|
|
10424
10685
|
filter_type?: MlFilterType;
|
|
10425
10686
|
}
|
|
10426
10687
|
export type MlFilterType = 'include' | 'exclude';
|
|
10688
|
+
export interface MlGeoResults {
|
|
10689
|
+
actual_point: string;
|
|
10690
|
+
typical_point: string;
|
|
10691
|
+
}
|
|
10427
10692
|
export interface MlHyperparameter {
|
|
10428
10693
|
absolute_importance?: double;
|
|
10429
10694
|
name: Name;
|
|
@@ -10636,6 +10901,7 @@ export interface MlNerInferenceOptions {
|
|
|
10636
10901
|
tokenization?: MlTokenizationConfigContainer;
|
|
10637
10902
|
results_field?: string;
|
|
10638
10903
|
classification_labels?: string[];
|
|
10904
|
+
vocabulary?: MlVocabulary;
|
|
10639
10905
|
}
|
|
10640
10906
|
export interface MlNerInferenceUpdateOptions {
|
|
10641
10907
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
@@ -10687,6 +10953,7 @@ export interface MlPage {
|
|
|
10687
10953
|
export interface MlPassThroughInferenceOptions {
|
|
10688
10954
|
tokenization?: MlTokenizationConfigContainer;
|
|
10689
10955
|
results_field?: string;
|
|
10956
|
+
vocabulary?: MlVocabulary;
|
|
10690
10957
|
}
|
|
10691
10958
|
export interface MlPassThroughInferenceUpdateOptions {
|
|
10692
10959
|
tokenization?: MlNlpTokenizationUpdateOptions;
|
|
@@ -10779,6 +11046,7 @@ export interface MlTotalFeatureImportanceStatistics {
|
|
|
10779
11046
|
}
|
|
10780
11047
|
export interface MlTrainedModelAssignment {
|
|
10781
11048
|
assignment_state: MlDeploymentAssignmentState;
|
|
11049
|
+
max_assigned_allocations?: integer;
|
|
10782
11050
|
routing_table: Record<string, MlTrainedModelAssignmentRoutingTable>;
|
|
10783
11051
|
start_time: DateTime;
|
|
10784
11052
|
task_parameters: MlTrainedModelAssignmentTaskParameters;
|
|
@@ -10794,6 +11062,7 @@ export interface MlTrainedModelAssignmentTaskParameters {
|
|
|
10794
11062
|
model_id: Id;
|
|
10795
11063
|
cache_size: ByteSize;
|
|
10796
11064
|
number_of_allocations: integer;
|
|
11065
|
+
priority: MlTrainingPriority;
|
|
10797
11066
|
queue_capacity: integer;
|
|
10798
11067
|
threads_per_allocation: integer;
|
|
10799
11068
|
}
|
|
@@ -10846,6 +11115,7 @@ export interface MlTrainedModelDeploymentNodesStats {
|
|
|
10846
11115
|
}
|
|
10847
11116
|
export interface MlTrainedModelDeploymentStats {
|
|
10848
11117
|
allocation_status: MlTrainedModelDeploymentAllocationStatus;
|
|
11118
|
+
cache_size?: ByteSize;
|
|
10849
11119
|
error_count: integer;
|
|
10850
11120
|
inference_count: integer;
|
|
10851
11121
|
model_id: Id;
|
|
@@ -10901,6 +11171,7 @@ export interface MlTrainedModelStats {
|
|
|
10901
11171
|
pipeline_count: integer;
|
|
10902
11172
|
}
|
|
10903
11173
|
export type MlTrainedModelType = 'tree_ensemble' | 'lang_ident' | 'pytorch';
|
|
11174
|
+
export type MlTrainingPriority = 'normal' | 'low';
|
|
10904
11175
|
export interface MlTransformAuthorization {
|
|
10905
11176
|
api_key?: MlApiKeyAuthorization;
|
|
10906
11177
|
roles?: string[];
|
|
@@ -10910,6 +11181,9 @@ export interface MlValidationLoss {
|
|
|
10910
11181
|
fold_values: string[];
|
|
10911
11182
|
loss_type: string;
|
|
10912
11183
|
}
|
|
11184
|
+
export interface MlVocabulary {
|
|
11185
|
+
index: IndexName;
|
|
11186
|
+
}
|
|
10913
11187
|
export interface MlZeroShotClassificationInferenceOptions {
|
|
10914
11188
|
tokenization?: MlTokenizationConfigContainer;
|
|
10915
11189
|
hypothesis_template?: string;
|
|
@@ -10924,6 +11198,12 @@ export interface MlZeroShotClassificationInferenceUpdateOptions {
|
|
|
10924
11198
|
multi_label?: boolean;
|
|
10925
11199
|
labels: string[];
|
|
10926
11200
|
}
|
|
11201
|
+
export interface MlClearTrainedModelDeploymentCacheRequest extends RequestBase {
|
|
11202
|
+
model_id: Id;
|
|
11203
|
+
}
|
|
11204
|
+
export interface MlClearTrainedModelDeploymentCacheResponse {
|
|
11205
|
+
cleared: boolean;
|
|
11206
|
+
}
|
|
10927
11207
|
export interface MlCloseJobRequest extends RequestBase {
|
|
10928
11208
|
job_id: Id;
|
|
10929
11209
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -10990,6 +11270,7 @@ export type MlDeleteForecastResponse = AcknowledgedResponseBase;
|
|
|
10990
11270
|
export interface MlDeleteJobRequest extends RequestBase {
|
|
10991
11271
|
job_id: Id;
|
|
10992
11272
|
force?: boolean;
|
|
11273
|
+
delete_user_annotations?: boolean;
|
|
10993
11274
|
wait_for_completion?: boolean;
|
|
10994
11275
|
}
|
|
10995
11276
|
export type MlDeleteJobResponse = AcknowledgedResponseBase;
|
|
@@ -11479,6 +11760,7 @@ export interface MlOpenJobRequest extends RequestBase {
|
|
|
11479
11760
|
}
|
|
11480
11761
|
export interface MlOpenJobResponse {
|
|
11481
11762
|
opened: boolean;
|
|
11763
|
+
node: NodeId;
|
|
11482
11764
|
}
|
|
11483
11765
|
export interface MlPostCalendarEventsRequest extends RequestBase {
|
|
11484
11766
|
calendar_id: Id;
|
|
@@ -11533,15 +11815,15 @@ export interface MlPreviewDataFrameAnalyticsResponse {
|
|
|
11533
11815
|
}
|
|
11534
11816
|
export interface MlPreviewDatafeedRequest extends RequestBase {
|
|
11535
11817
|
datafeed_id?: Id;
|
|
11818
|
+
start?: DateTime;
|
|
11819
|
+
end?: DateTime;
|
|
11536
11820
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
11537
11821
|
body?: {
|
|
11538
11822
|
datafeed_config?: MlDatafeedConfig;
|
|
11539
11823
|
job_config?: MlJobConfig;
|
|
11540
11824
|
};
|
|
11541
11825
|
}
|
|
11542
|
-
export
|
|
11543
|
-
data: TDocument[];
|
|
11544
|
-
}
|
|
11826
|
+
export type MlPreviewDatafeedResponse<TDocument = unknown> = TDocument[];
|
|
11545
11827
|
export interface MlPutCalendarRequest extends RequestBase {
|
|
11546
11828
|
calendar_id: Id;
|
|
11547
11829
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -11620,16 +11902,16 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
11620
11902
|
};
|
|
11621
11903
|
}
|
|
11622
11904
|
export interface MlPutDatafeedResponse {
|
|
11623
|
-
aggregations
|
|
11905
|
+
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
11624
11906
|
authorization?: MlDatafeedAuthorization;
|
|
11625
11907
|
chunking_config: MlChunkingConfig;
|
|
11626
11908
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11627
11909
|
datafeed_id: Id;
|
|
11628
|
-
frequency
|
|
11910
|
+
frequency?: Duration;
|
|
11629
11911
|
indices: string[];
|
|
11630
11912
|
job_id: Id;
|
|
11631
11913
|
indices_options?: IndicesOptions;
|
|
11632
|
-
max_empty_searches
|
|
11914
|
+
max_empty_searches?: integer;
|
|
11633
11915
|
query: QueryDslQueryContainer;
|
|
11634
11916
|
query_delay: Duration;
|
|
11635
11917
|
runtime_mappings?: MappingRuntimeFields;
|
|
@@ -11735,7 +12017,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
11735
12017
|
definition?: MlPutTrainedModelDefinition;
|
|
11736
12018
|
description?: string;
|
|
11737
12019
|
inference_config: MlInferenceConfigCreateContainer;
|
|
11738
|
-
input
|
|
12020
|
+
input?: MlPutTrainedModelInput;
|
|
11739
12021
|
metadata?: any;
|
|
11740
12022
|
model_type?: MlTrainedModelType;
|
|
11741
12023
|
model_size_bytes?: long;
|
|
@@ -11803,6 +12085,7 @@ export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
|
11803
12085
|
export interface MlResetJobRequest extends RequestBase {
|
|
11804
12086
|
job_id: Id;
|
|
11805
12087
|
wait_for_completion?: boolean;
|
|
12088
|
+
delete_user_annotations?: boolean;
|
|
11806
12089
|
}
|
|
11807
12090
|
export type MlResetJobResponse = AcknowledgedResponseBase;
|
|
11808
12091
|
export interface MlRevertModelSnapshotRequest extends RequestBase {
|
|
@@ -11846,6 +12129,7 @@ export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
|
11846
12129
|
model_id: Id;
|
|
11847
12130
|
cache_size?: ByteSize;
|
|
11848
12131
|
number_of_allocations?: integer;
|
|
12132
|
+
priority?: MlTrainingPriority;
|
|
11849
12133
|
queue_capacity?: integer;
|
|
11850
12134
|
threads_per_allocation?: integer;
|
|
11851
12135
|
timeout?: Duration;
|
|
@@ -11922,6 +12206,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
11922
12206
|
indices?: string[];
|
|
11923
12207
|
indexes?: string[];
|
|
11924
12208
|
indices_options?: IndicesOptions;
|
|
12209
|
+
job_id?: Id;
|
|
11925
12210
|
max_empty_searches?: integer;
|
|
11926
12211
|
query?: QueryDslQueryContainer;
|
|
11927
12212
|
query_delay?: Duration;
|
|
@@ -11932,15 +12217,15 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
11932
12217
|
}
|
|
11933
12218
|
export interface MlUpdateDatafeedResponse {
|
|
11934
12219
|
authorization?: MlDatafeedAuthorization;
|
|
11935
|
-
aggregations
|
|
12220
|
+
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
11936
12221
|
chunking_config: MlChunkingConfig;
|
|
11937
12222
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11938
12223
|
datafeed_id: Id;
|
|
11939
|
-
frequency
|
|
12224
|
+
frequency?: Duration;
|
|
11940
12225
|
indices: string[];
|
|
11941
12226
|
indices_options?: IndicesOptions;
|
|
11942
12227
|
job_id: Id;
|
|
11943
|
-
max_empty_searches
|
|
12228
|
+
max_empty_searches?: integer;
|
|
11944
12229
|
query: QueryDslQueryContainer;
|
|
11945
12230
|
query_delay: Duration;
|
|
11946
12231
|
runtime_mappings?: MappingRuntimeFields;
|
|
@@ -11972,6 +12257,7 @@ export interface MlUpdateJobRequest extends RequestBase {
|
|
|
11972
12257
|
categorization_filters?: string[];
|
|
11973
12258
|
description?: string;
|
|
11974
12259
|
model_plot_config?: MlModelPlotConfig;
|
|
12260
|
+
model_prune_window?: Duration;
|
|
11975
12261
|
daily_model_snapshot_retention_after_days?: long;
|
|
11976
12262
|
model_snapshot_retention_days?: long;
|
|
11977
12263
|
renormalization_window_days?: long;
|
|
@@ -12063,9 +12349,9 @@ export interface MonitoringBulkResponse {
|
|
|
12063
12349
|
}
|
|
12064
12350
|
export interface NodesAdaptiveSelection {
|
|
12065
12351
|
avg_queue_size?: long;
|
|
12066
|
-
avg_response_time?:
|
|
12352
|
+
avg_response_time?: Duration;
|
|
12067
12353
|
avg_response_time_ns?: long;
|
|
12068
|
-
avg_service_time?:
|
|
12354
|
+
avg_service_time?: Duration;
|
|
12069
12355
|
avg_service_time_ns?: long;
|
|
12070
12356
|
outgoing_searches?: long;
|
|
12071
12357
|
rank?: string;
|
|
@@ -12217,6 +12503,7 @@ export interface NodesIndexingPressure {
|
|
|
12217
12503
|
memory?: NodesIndexingPressureMemory;
|
|
12218
12504
|
}
|
|
12219
12505
|
export interface NodesIndexingPressureMemory {
|
|
12506
|
+
limit?: ByteSize;
|
|
12220
12507
|
limit_in_bytes?: long;
|
|
12221
12508
|
current?: NodesPressureMemory;
|
|
12222
12509
|
total?: NodesPressureMemory;
|
|
@@ -12317,11 +12604,16 @@ export interface NodesPool {
|
|
|
12317
12604
|
peak_max_in_bytes?: long;
|
|
12318
12605
|
}
|
|
12319
12606
|
export interface NodesPressureMemory {
|
|
12607
|
+
all?: ByteSize;
|
|
12608
|
+
all_in_bytes?: long;
|
|
12609
|
+
combined_coordinating_and_primary?: ByteSize;
|
|
12320
12610
|
combined_coordinating_and_primary_in_bytes?: long;
|
|
12611
|
+
coordinating?: ByteSize;
|
|
12321
12612
|
coordinating_in_bytes?: long;
|
|
12613
|
+
primary?: ByteSize;
|
|
12322
12614
|
primary_in_bytes?: long;
|
|
12615
|
+
replica?: ByteSize;
|
|
12323
12616
|
replica_in_bytes?: long;
|
|
12324
|
-
all_in_bytes?: long;
|
|
12325
12617
|
coordinating_rejections?: long;
|
|
12326
12618
|
primary_rejections?: long;
|
|
12327
12619
|
replica_rejections?: long;
|
|
@@ -12388,6 +12680,7 @@ export interface NodesScriptCache {
|
|
|
12388
12680
|
export interface NodesScripting {
|
|
12389
12681
|
cache_evictions?: long;
|
|
12390
12682
|
compilations?: long;
|
|
12683
|
+
compilations_history?: Record<string, long>;
|
|
12391
12684
|
compilation_limit_triggered?: long;
|
|
12392
12685
|
contexts?: NodesContext[];
|
|
12393
12686
|
}
|
|
@@ -12749,8 +13042,8 @@ export interface NodesInfoNodeJvmInfo {
|
|
|
12749
13042
|
vm_name: Name;
|
|
12750
13043
|
vm_vendor: string;
|
|
12751
13044
|
vm_version: VersionString;
|
|
12752
|
-
bundled_jdk: boolean;
|
|
12753
13045
|
using_bundled_jdk: boolean;
|
|
13046
|
+
bundled_jdk: boolean;
|
|
12754
13047
|
using_compressed_ordinary_object_pointers?: boolean | string;
|
|
12755
13048
|
input_arguments: string[];
|
|
12756
13049
|
}
|
|
@@ -12922,11 +13215,16 @@ export interface RollupGetRollupCapsRollupCapabilities {
|
|
|
12922
13215
|
rollup_jobs: RollupGetRollupCapsRollupCapabilitySummary[];
|
|
12923
13216
|
}
|
|
12924
13217
|
export interface RollupGetRollupCapsRollupCapabilitySummary {
|
|
12925
|
-
fields: Record<Field,
|
|
13218
|
+
fields: Record<Field, RollupGetRollupCapsRollupFieldSummary[]>;
|
|
12926
13219
|
index_pattern: string;
|
|
12927
13220
|
job_id: string;
|
|
12928
13221
|
rollup_index: string;
|
|
12929
13222
|
}
|
|
13223
|
+
export interface RollupGetRollupCapsRollupFieldSummary {
|
|
13224
|
+
agg: string;
|
|
13225
|
+
calendar_interval?: Duration;
|
|
13226
|
+
time_zone?: TimeZone;
|
|
13227
|
+
}
|
|
12930
13228
|
export interface RollupGetRollupIndexCapsIndexCapabilities {
|
|
12931
13229
|
rollup_jobs: RollupGetRollupIndexCapsRollupJobSummary[];
|
|
12932
13230
|
}
|
|
@@ -13078,7 +13376,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
13078
13376
|
export interface SecurityClusterNode {
|
|
13079
13377
|
name: Name;
|
|
13080
13378
|
}
|
|
13081
|
-
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client';
|
|
13379
|
+
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client' | string;
|
|
13082
13380
|
export interface SecurityCreatedStatus {
|
|
13083
13381
|
created: boolean;
|
|
13084
13382
|
}
|
|
@@ -13091,15 +13389,15 @@ export interface SecurityFieldRule {
|
|
|
13091
13389
|
}
|
|
13092
13390
|
export interface SecurityFieldSecurity {
|
|
13093
13391
|
except?: Fields;
|
|
13094
|
-
grant
|
|
13392
|
+
grant?: Fields;
|
|
13095
13393
|
}
|
|
13096
13394
|
export interface SecurityGlobalPrivilege {
|
|
13097
13395
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
13098
13396
|
}
|
|
13099
13397
|
export type SecurityGrantType = 'password' | 'access_token';
|
|
13100
|
-
export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write';
|
|
13398
|
+
export type SecurityIndexPrivilege = 'none' | 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
|
|
13101
13399
|
export interface SecurityIndicesPrivileges {
|
|
13102
|
-
field_security?: SecurityFieldSecurity
|
|
13400
|
+
field_security?: SecurityFieldSecurity;
|
|
13103
13401
|
names: Indices;
|
|
13104
13402
|
privileges: SecurityIndexPrivilege[];
|
|
13105
13403
|
query?: SecurityIndicesPrivilegesQuery;
|
|
@@ -13149,15 +13447,16 @@ export interface SecurityRoleMappingRule {
|
|
|
13149
13447
|
field?: SecurityFieldRule;
|
|
13150
13448
|
except?: SecurityRoleMappingRule;
|
|
13151
13449
|
}
|
|
13450
|
+
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
13152
13451
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
13153
13452
|
lang?: ScriptLanguage;
|
|
13154
13453
|
options?: Record<string, string>;
|
|
13155
|
-
source:
|
|
13454
|
+
source: SecurityRoleTemplateInlineQuery;
|
|
13156
13455
|
}
|
|
13157
13456
|
export interface SecurityRoleTemplateQuery {
|
|
13158
13457
|
template?: SecurityRoleTemplateScript;
|
|
13159
13458
|
}
|
|
13160
|
-
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript |
|
|
13459
|
+
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13161
13460
|
export interface SecurityTransientMetadataConfig {
|
|
13162
13461
|
enabled: boolean;
|
|
13163
13462
|
}
|
|
@@ -13170,6 +13469,13 @@ export interface SecurityUser {
|
|
|
13170
13469
|
enabled: boolean;
|
|
13171
13470
|
profile_uid?: SecurityUserProfileId;
|
|
13172
13471
|
}
|
|
13472
|
+
export interface SecurityUserIndicesPrivileges {
|
|
13473
|
+
field_security?: SecurityFieldSecurity[];
|
|
13474
|
+
names: Indices;
|
|
13475
|
+
privileges: SecurityIndexPrivilege[];
|
|
13476
|
+
query?: SecurityIndicesPrivilegesQuery[];
|
|
13477
|
+
allow_restricted_indices: boolean;
|
|
13478
|
+
}
|
|
13173
13479
|
export interface SecurityUserProfile {
|
|
13174
13480
|
uid: SecurityUserProfileId;
|
|
13175
13481
|
user: SecurityUserProfileUser;
|
|
@@ -13508,7 +13814,7 @@ export interface SecurityGetUserPrivilegesResponse {
|
|
|
13508
13814
|
applications: SecurityApplicationPrivileges[];
|
|
13509
13815
|
cluster: string[];
|
|
13510
13816
|
global: SecurityGlobalPrivilege[];
|
|
13511
|
-
indices:
|
|
13817
|
+
indices: SecurityUserIndicesPrivileges[];
|
|
13512
13818
|
run_as: string[];
|
|
13513
13819
|
}
|
|
13514
13820
|
export interface SecurityGetUserProfileGetUserProfileErrors {
|
|
@@ -13871,7 +14177,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
13871
14177
|
export type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
13872
14178
|
export interface SlmConfiguration {
|
|
13873
14179
|
ignore_unavailable?: boolean;
|
|
13874
|
-
indices
|
|
14180
|
+
indices?: Indices;
|
|
13875
14181
|
include_global_state?: boolean;
|
|
13876
14182
|
feature_states?: string[];
|
|
13877
14183
|
metadata?: Metadata;
|
|
@@ -13888,10 +14194,10 @@ export interface SlmInvocation {
|
|
|
13888
14194
|
time: DateTime;
|
|
13889
14195
|
}
|
|
13890
14196
|
export interface SlmPolicy {
|
|
13891
|
-
config
|
|
14197
|
+
config?: SlmConfiguration;
|
|
13892
14198
|
name: Name;
|
|
13893
14199
|
repository: string;
|
|
13894
|
-
retention
|
|
14200
|
+
retention?: SlmRetention;
|
|
13895
14201
|
schedule: WatcherCronExpression;
|
|
13896
14202
|
}
|
|
13897
14203
|
export interface SlmRetention {
|
|
@@ -14060,7 +14366,7 @@ export interface SnapshotSnapshotInfo {
|
|
|
14060
14366
|
}
|
|
14061
14367
|
export interface SnapshotSnapshotShardFailure {
|
|
14062
14368
|
index: IndexName;
|
|
14063
|
-
node_id
|
|
14369
|
+
node_id?: Id;
|
|
14064
14370
|
reason: string;
|
|
14065
14371
|
shard_id: Id;
|
|
14066
14372
|
status: string;
|
|
@@ -14196,6 +14502,7 @@ export interface SnapshotRestoreRequest extends RequestBase {
|
|
|
14196
14502
|
wait_for_completion?: boolean;
|
|
14197
14503
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14198
14504
|
body?: {
|
|
14505
|
+
feature_states?: string[];
|
|
14199
14506
|
ignore_index_settings?: string[];
|
|
14200
14507
|
ignore_unavailable?: boolean;
|
|
14201
14508
|
include_aliases?: boolean;
|
|
@@ -14331,6 +14638,7 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14331
14638
|
expiry: DateTime;
|
|
14332
14639
|
format: string;
|
|
14333
14640
|
has_private_key: boolean;
|
|
14641
|
+
issuer?: string;
|
|
14334
14642
|
path: string;
|
|
14335
14643
|
serial_number: string;
|
|
14336
14644
|
subject_dn: string;
|
|
@@ -14511,6 +14819,7 @@ export interface TransformSettings {
|
|
|
14511
14819
|
deduce_mappings?: boolean;
|
|
14512
14820
|
docs_per_second?: float;
|
|
14513
14821
|
max_page_search_size?: integer;
|
|
14822
|
+
unattended?: boolean;
|
|
14514
14823
|
}
|
|
14515
14824
|
export interface TransformSource {
|
|
14516
14825
|
index: Indices;
|
|
@@ -14578,6 +14887,7 @@ export interface TransformGetTransformStatsRequest extends RequestBase {
|
|
|
14578
14887
|
allow_no_match?: boolean;
|
|
14579
14888
|
from?: long;
|
|
14580
14889
|
size?: long;
|
|
14890
|
+
timeout?: Duration;
|
|
14581
14891
|
}
|
|
14582
14892
|
export interface TransformGetTransformStatsResponse {
|
|
14583
14893
|
count: long;
|
|
@@ -14611,12 +14921,16 @@ export interface TransformGetTransformStatsTransformProgress {
|
|
|
14611
14921
|
}
|
|
14612
14922
|
export interface TransformGetTransformStatsTransformStats {
|
|
14613
14923
|
checkpointing: TransformGetTransformStatsCheckpointing;
|
|
14924
|
+
health?: TransformGetTransformStatsTransformStatsHealth;
|
|
14614
14925
|
id: Id;
|
|
14615
14926
|
node?: NodeAttributes;
|
|
14616
14927
|
reason?: string;
|
|
14617
14928
|
state: string;
|
|
14618
14929
|
stats: TransformGetTransformStatsTransformIndexerStats;
|
|
14619
14930
|
}
|
|
14931
|
+
export interface TransformGetTransformStatsTransformStatsHealth {
|
|
14932
|
+
status: HealthStatus;
|
|
14933
|
+
}
|
|
14620
14934
|
export interface TransformPreviewTransformRequest extends RequestBase {
|
|
14621
14935
|
transform_id?: Id;
|
|
14622
14936
|
timeout?: Duration;
|
|
@@ -14661,9 +14975,15 @@ export interface TransformResetTransformRequest extends RequestBase {
|
|
|
14661
14975
|
force?: boolean;
|
|
14662
14976
|
}
|
|
14663
14977
|
export type TransformResetTransformResponse = AcknowledgedResponseBase;
|
|
14978
|
+
export interface TransformScheduleNowTransformRequest extends RequestBase {
|
|
14979
|
+
transform_id: Id;
|
|
14980
|
+
timeout?: Duration;
|
|
14981
|
+
}
|
|
14982
|
+
export type TransformScheduleNowTransformResponse = AcknowledgedResponseBase;
|
|
14664
14983
|
export interface TransformStartTransformRequest extends RequestBase {
|
|
14665
14984
|
transform_id: Id;
|
|
14666
14985
|
timeout?: Duration;
|
|
14986
|
+
from?: string;
|
|
14667
14987
|
}
|
|
14668
14988
|
export type TransformStartTransformResponse = AcknowledgedResponseBase;
|
|
14669
14989
|
export interface TransformStopTransformRequest extends RequestBase {
|
|
@@ -15344,13 +15664,6 @@ export interface XpackInfoResponse {
|
|
|
15344
15664
|
license: XpackInfoMinimalLicenseInformation;
|
|
15345
15665
|
tagline: string;
|
|
15346
15666
|
}
|
|
15347
|
-
export interface XpackUsageAllJobs {
|
|
15348
|
-
count: integer;
|
|
15349
|
-
detectors: Record<string, integer>;
|
|
15350
|
-
created_by: Record<string, string | integer>;
|
|
15351
|
-
model_size: Record<string, integer>;
|
|
15352
|
-
forecasts: Record<string, integer>;
|
|
15353
|
-
}
|
|
15354
15667
|
export interface XpackUsageAnalytics extends XpackUsageBase {
|
|
15355
15668
|
stats: XpackUsageAnalyticsStatistics;
|
|
15356
15669
|
}
|
|
@@ -15457,6 +15770,9 @@ export interface XpackUsageFlattened extends XpackUsageBase {
|
|
|
15457
15770
|
export interface XpackUsageFrozenIndices extends XpackUsageBase {
|
|
15458
15771
|
indices_count: long;
|
|
15459
15772
|
}
|
|
15773
|
+
export interface XpackUsageHealthStatistics extends XpackUsageBase {
|
|
15774
|
+
invocations: XpackUsageInvocations;
|
|
15775
|
+
}
|
|
15460
15776
|
export interface XpackUsageIlm {
|
|
15461
15777
|
policy_count: integer;
|
|
15462
15778
|
policy_stats: XpackUsageIlmPolicyStatistics[];
|
|
@@ -15465,19 +15781,23 @@ export interface XpackUsageIlmPolicyStatistics {
|
|
|
15465
15781
|
indices_managed: integer;
|
|
15466
15782
|
phases: IlmPhases;
|
|
15467
15783
|
}
|
|
15784
|
+
export interface XpackUsageInvocations {
|
|
15785
|
+
total: long;
|
|
15786
|
+
}
|
|
15468
15787
|
export interface XpackUsageIpFilter {
|
|
15469
15788
|
http: boolean;
|
|
15470
15789
|
transport: boolean;
|
|
15471
15790
|
}
|
|
15472
|
-
export interface
|
|
15473
|
-
|
|
15791
|
+
export interface XpackUsageJobUsage {
|
|
15792
|
+
count: integer;
|
|
15793
|
+
created_by: Record<string, long>;
|
|
15794
|
+
detectors: MlJobStatistics;
|
|
15795
|
+
forecasts: XpackUsageMlJobForecasts;
|
|
15796
|
+
model_size: MlJobStatistics;
|
|
15474
15797
|
}
|
|
15475
|
-
export type XpackUsageJobs = XpackUsageJobsKeys & {
|
|
15476
|
-
[property: string]: MlJob | XpackUsageAllJobs;
|
|
15477
|
-
};
|
|
15478
15798
|
export interface XpackUsageMachineLearning extends XpackUsageBase {
|
|
15479
15799
|
datafeeds: Record<string, XpackUsageDatafeed>;
|
|
15480
|
-
jobs:
|
|
15800
|
+
jobs: Record<string, XpackUsageJobUsage>;
|
|
15481
15801
|
node_count: integer;
|
|
15482
15802
|
data_frame_analytics_jobs: XpackUsageMlDataFrameAnalyticsJobs;
|
|
15483
15803
|
inference: XpackUsageMlInference;
|
|
@@ -15538,9 +15858,15 @@ export interface XpackUsageMlInferenceTrainedModelsCount {
|
|
|
15538
15858
|
total: long;
|
|
15539
15859
|
prepackaged: long;
|
|
15540
15860
|
other: long;
|
|
15861
|
+
pass_through?: long;
|
|
15541
15862
|
regression?: long;
|
|
15542
15863
|
classification?: long;
|
|
15543
15864
|
ner?: long;
|
|
15865
|
+
text_embedding?: long;
|
|
15866
|
+
}
|
|
15867
|
+
export interface XpackUsageMlJobForecasts {
|
|
15868
|
+
total: long;
|
|
15869
|
+
forecasted_jobs: long;
|
|
15544
15870
|
}
|
|
15545
15871
|
export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
15546
15872
|
collection_enabled: boolean;
|
|
@@ -15583,6 +15909,7 @@ export interface XpackUsageResponse {
|
|
|
15583
15909
|
flattened?: XpackUsageFlattened;
|
|
15584
15910
|
frozen_indices: XpackUsageFrozenIndices;
|
|
15585
15911
|
graph: XpackUsageBase;
|
|
15912
|
+
health_api?: XpackUsageHealthStatistics;
|
|
15586
15913
|
ilm: XpackUsageIlm;
|
|
15587
15914
|
logstash: XpackUsageBase;
|
|
15588
15915
|
ml: XpackUsageMachineLearning;
|