@elastic/elasticsearch 8.9.2 → 8.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +5 -4
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/cluster.js +1 -1
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +58 -58
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +73 -73
- package/lib/api/api/ml.js +1 -1
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_ruleset.d.ts +39 -0
- package/lib/api/api/query_ruleset.js +116 -0
- package/lib/api/api/query_ruleset.js.map +1 -0
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +57 -57
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +12 -12
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +40 -12
- package/lib/api/api/synonyms.js +108 -11
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +1 -1
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/index.d.ts +4 -0
- package/lib/api/index.js +14 -2
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +241 -81
- package/lib/api/typesWithBodyKey.d.ts +250 -81
- package/lib/helpers.js +3 -2
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -7
package/lib/api/types.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ export interface HealthReportIndicators {
|
|
|
428
428
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
429
429
|
ilm?: HealthReportIlmIndicator;
|
|
430
430
|
slm?: HealthReportSlmIndicator;
|
|
431
|
+
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
431
432
|
}
|
|
432
433
|
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
433
434
|
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
@@ -464,6 +465,7 @@ export interface HealthReportRequest extends RequestBase {
|
|
|
464
465
|
export interface HealthReportResponse {
|
|
465
466
|
cluster_name: string;
|
|
466
467
|
indicators: HealthReportIndicators;
|
|
468
|
+
status?: HealthReportIndicatorHealthStatus;
|
|
467
469
|
}
|
|
468
470
|
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
469
471
|
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
@@ -479,6 +481,17 @@ export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
|
479
481
|
unassigned_primaries: long;
|
|
480
482
|
unassigned_replicas: long;
|
|
481
483
|
}
|
|
484
|
+
export interface HealthReportShardsCapacityIndicator extends HealthReportBaseIndicator {
|
|
485
|
+
details?: HealthReportShardsCapacityIndicatorDetails;
|
|
486
|
+
}
|
|
487
|
+
export interface HealthReportShardsCapacityIndicatorDetails {
|
|
488
|
+
data: HealthReportShardsCapacityIndicatorTierDetail;
|
|
489
|
+
frozen: HealthReportShardsCapacityIndicatorTierDetail;
|
|
490
|
+
}
|
|
491
|
+
export interface HealthReportShardsCapacityIndicatorTierDetail {
|
|
492
|
+
max_shards_in_cluster: integer;
|
|
493
|
+
current_used_shards?: integer;
|
|
494
|
+
}
|
|
482
495
|
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
483
496
|
details?: HealthReportSlmIndicatorDetails;
|
|
484
497
|
}
|
|
@@ -575,7 +588,7 @@ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | Mg
|
|
|
575
588
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
576
589
|
status?: integer;
|
|
577
590
|
}
|
|
578
|
-
export interface MsearchMultiSearchResult<TDocument = unknown
|
|
591
|
+
export interface MsearchMultiSearchResult<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
579
592
|
took: long;
|
|
580
593
|
responses: MsearchResponseItem<TDocument>[];
|
|
581
594
|
}
|
|
@@ -643,7 +656,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
643
656
|
searches?: MsearchRequestItem[];
|
|
644
657
|
}
|
|
645
658
|
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
646
|
-
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
659
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
647
660
|
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
648
661
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
649
662
|
index?: Indices;
|
|
@@ -655,7 +668,7 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
655
668
|
search_templates?: MsearchTemplateRequestItem[];
|
|
656
669
|
}
|
|
657
670
|
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
658
|
-
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
671
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
659
672
|
export interface MsearchTemplateTemplateConfig {
|
|
660
673
|
explain?: boolean;
|
|
661
674
|
id?: Id;
|
|
@@ -959,6 +972,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
959
972
|
_source_includes?: Fields;
|
|
960
973
|
q?: string;
|
|
961
974
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
975
|
+
/** @alias aggregations */
|
|
962
976
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
963
977
|
collapse?: SearchFieldCollapse;
|
|
964
978
|
explain?: boolean;
|
|
@@ -1668,6 +1682,7 @@ export interface SpecUtilsBaseNode {
|
|
|
1668
1682
|
roles?: NodeRoles;
|
|
1669
1683
|
transport_address: TransportAddress;
|
|
1670
1684
|
}
|
|
1685
|
+
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1671
1686
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1672
1687
|
export interface AcknowledgedResponseBase {
|
|
1673
1688
|
acknowledged: boolean;
|
|
@@ -1694,12 +1709,23 @@ export interface BulkStats {
|
|
|
1694
1709
|
export type ByteSize = long | string;
|
|
1695
1710
|
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1696
1711
|
export type CategoryId = string;
|
|
1712
|
+
export type ClusterAlias = string;
|
|
1713
|
+
export interface ClusterDetails {
|
|
1714
|
+
status: ClusterSearchStatus;
|
|
1715
|
+
indices: string;
|
|
1716
|
+
took?: DurationValue<UnitMillis>;
|
|
1717
|
+
timed_out: boolean;
|
|
1718
|
+
_shards?: ShardStatistics;
|
|
1719
|
+
failures?: ShardFailure[];
|
|
1720
|
+
}
|
|
1697
1721
|
export type ClusterInfoTarget = '_all' | 'http' | 'ingest' | 'thread_pool' | 'script';
|
|
1698
1722
|
export type ClusterInfoTargets = ClusterInfoTarget | ClusterInfoTarget[];
|
|
1723
|
+
export type ClusterSearchStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
1699
1724
|
export interface ClusterStatistics {
|
|
1700
1725
|
skipped: integer;
|
|
1701
1726
|
successful: integer;
|
|
1702
1727
|
total: integer;
|
|
1728
|
+
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1703
1729
|
}
|
|
1704
1730
|
export interface CompletionStats {
|
|
1705
1731
|
size_in_bytes: long;
|
|
@@ -2492,11 +2518,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2492
2518
|
size?: integer;
|
|
2493
2519
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2494
2520
|
}
|
|
2521
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2522
|
+
field?: Field;
|
|
2523
|
+
missing_bucket?: boolean;
|
|
2524
|
+
missing_order?: AggregationsMissingOrder;
|
|
2525
|
+
script?: Script;
|
|
2526
|
+
value_type?: AggregationsValueType;
|
|
2527
|
+
order?: SortOrder;
|
|
2528
|
+
}
|
|
2495
2529
|
export interface AggregationsCompositeAggregationSource {
|
|
2496
|
-
terms?:
|
|
2497
|
-
histogram?:
|
|
2498
|
-
date_histogram?:
|
|
2499
|
-
geotile_grid?:
|
|
2530
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2531
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2532
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2533
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2500
2534
|
}
|
|
2501
2535
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2502
2536
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2504,6 +2538,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2504
2538
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2505
2539
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2506
2540
|
};
|
|
2541
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2542
|
+
format?: string;
|
|
2543
|
+
calendar_interval?: DurationLarge;
|
|
2544
|
+
fixed_interval?: DurationLarge;
|
|
2545
|
+
offset?: Duration;
|
|
2546
|
+
time_zone?: TimeZone;
|
|
2547
|
+
}
|
|
2548
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2549
|
+
precision?: integer;
|
|
2550
|
+
bounds?: GeoBounds;
|
|
2551
|
+
}
|
|
2552
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2553
|
+
interval: double;
|
|
2554
|
+
}
|
|
2555
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2556
|
+
}
|
|
2507
2557
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2508
2558
|
value: long;
|
|
2509
2559
|
value_as_string?: string;
|
|
@@ -3482,7 +3532,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3482
3532
|
type: 'elision';
|
|
3483
3533
|
articles?: string[];
|
|
3484
3534
|
articles_path?: string;
|
|
3485
|
-
articles_case?: boolean
|
|
3535
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3486
3536
|
}
|
|
3487
3537
|
export interface AnalysisFingerprintAnalyzer {
|
|
3488
3538
|
type: 'fingerprint';
|
|
@@ -3700,11 +3750,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3700
3750
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3701
3751
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3702
3752
|
type: 'path_hierarchy';
|
|
3703
|
-
buffer_size: integer
|
|
3753
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3704
3754
|
delimiter: string;
|
|
3705
3755
|
replacement: string;
|
|
3706
|
-
reverse: boolean
|
|
3707
|
-
skip: integer
|
|
3756
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3757
|
+
skip: SpecUtilsStringified<integer>;
|
|
3708
3758
|
}
|
|
3709
3759
|
export interface AnalysisPatternAnalyzer {
|
|
3710
3760
|
type: 'pattern';
|
|
@@ -3734,9 +3784,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3734
3784
|
}
|
|
3735
3785
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3736
3786
|
type: 'pattern';
|
|
3737
|
-
flags
|
|
3738
|
-
group
|
|
3739
|
-
pattern
|
|
3787
|
+
flags?: string;
|
|
3788
|
+
group?: integer;
|
|
3789
|
+
pattern?: string;
|
|
3740
3790
|
}
|
|
3741
3791
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3742
3792
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4469,7 +4519,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4469
4519
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4470
4520
|
}
|
|
4471
4521
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4472
|
-
distance
|
|
4522
|
+
distance: Distance;
|
|
4473
4523
|
distance_type?: GeoDistanceType;
|
|
4474
4524
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4475
4525
|
}
|
|
@@ -4767,6 +4817,7 @@ export interface QueryDslQueryContainer {
|
|
|
4767
4817
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4768
4818
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4769
4819
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4820
|
+
rule_query?: QueryDslRuleQuery;
|
|
4770
4821
|
script?: QueryDslScriptQuery;
|
|
4771
4822
|
script_score?: QueryDslScriptScoreQuery;
|
|
4772
4823
|
shape?: QueryDslShapeQuery;
|
|
@@ -4852,6 +4903,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4852
4903
|
rewrite?: MultiTermQueryRewrite;
|
|
4853
4904
|
value: string;
|
|
4854
4905
|
}
|
|
4906
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4907
|
+
organic: QueryDslQueryContainer;
|
|
4908
|
+
ruleset_id: Id;
|
|
4909
|
+
match_criteria: any;
|
|
4910
|
+
}
|
|
4855
4911
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4856
4912
|
script: Script;
|
|
4857
4913
|
}
|
|
@@ -4874,8 +4930,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4874
4930
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4875
4931
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4876
4932
|
};
|
|
4877
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4878
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
4933
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
4934
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4879
4935
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4880
4936
|
analyzer?: string;
|
|
4881
4937
|
analyze_wildcard?: boolean;
|
|
@@ -5007,6 +5063,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5007
5063
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5008
5064
|
start_time?: DateTime;
|
|
5009
5065
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5066
|
+
completion_time?: DateTime;
|
|
5067
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5010
5068
|
}
|
|
5011
5069
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5012
5070
|
id: Id;
|
|
@@ -5025,6 +5083,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5025
5083
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5026
5084
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5027
5085
|
_shards: ShardStatistics;
|
|
5086
|
+
_clusters?: ClusterStatistics;
|
|
5028
5087
|
completion_status?: integer;
|
|
5029
5088
|
}
|
|
5030
5089
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5062,6 +5121,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5062
5121
|
_source_includes?: Fields;
|
|
5063
5122
|
q?: string;
|
|
5064
5123
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5124
|
+
/** @alias aggregations */
|
|
5065
5125
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5066
5126
|
collapse?: SearchFieldCollapse;
|
|
5067
5127
|
explain?: boolean;
|
|
@@ -6655,7 +6715,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6655
6715
|
actions?: string[];
|
|
6656
6716
|
detailed?: boolean;
|
|
6657
6717
|
node_id?: string[];
|
|
6658
|
-
|
|
6718
|
+
parent_task_id?: string;
|
|
6659
6719
|
}
|
|
6660
6720
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6661
6721
|
export interface CatTasksTasksRecord {
|
|
@@ -7178,9 +7238,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7178
7238
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7179
7239
|
name?: Name;
|
|
7180
7240
|
flat_settings?: boolean;
|
|
7241
|
+
include_defaults?: boolean;
|
|
7181
7242
|
local?: boolean;
|
|
7182
7243
|
master_timeout?: Duration;
|
|
7183
|
-
include_defaults?: boolean;
|
|
7184
7244
|
}
|
|
7185
7245
|
export interface ClusterGetComponentTemplateResponse {
|
|
7186
7246
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7284,10 +7344,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7284
7344
|
name: Name;
|
|
7285
7345
|
create?: boolean;
|
|
7286
7346
|
master_timeout?: Duration;
|
|
7347
|
+
allow_auto_create?: boolean;
|
|
7287
7348
|
template: IndicesIndexState;
|
|
7288
7349
|
version?: VersionNumber;
|
|
7289
7350
|
_meta?: Metadata;
|
|
7290
|
-
allow_auto_create?: boolean;
|
|
7291
7351
|
}
|
|
7292
7352
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
7293
7353
|
export interface ClusterPutSettingsRequest extends RequestBase {
|
|
@@ -7401,14 +7461,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7401
7461
|
}
|
|
7402
7462
|
export type ClusterStateResponse = any;
|
|
7403
7463
|
export interface ClusterStatsCharFilterTypes {
|
|
7404
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7405
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7406
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7407
7464
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7465
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7408
7466
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7409
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7410
7467
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7411
|
-
|
|
7468
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7469
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7470
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7471
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7412
7472
|
}
|
|
7413
7473
|
export interface ClusterStatsClusterFileSystem {
|
|
7414
7474
|
available_in_bytes: long;
|
|
@@ -7416,6 +7476,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7416
7476
|
total_in_bytes: long;
|
|
7417
7477
|
}
|
|
7418
7478
|
export interface ClusterStatsClusterIndices {
|
|
7479
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7419
7480
|
completion: CompletionStats;
|
|
7420
7481
|
count: long;
|
|
7421
7482
|
docs: DocStats;
|
|
@@ -7425,7 +7486,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7425
7486
|
shards: ClusterStatsClusterIndicesShards;
|
|
7426
7487
|
store: StoreStats;
|
|
7427
7488
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7428
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7429
7489
|
versions?: ClusterStatsIndicesVersions[];
|
|
7430
7490
|
}
|
|
7431
7491
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7469,23 +7529,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7469
7529
|
export interface ClusterStatsClusterNodeCount {
|
|
7470
7530
|
coordinating_only: integer;
|
|
7471
7531
|
data: integer;
|
|
7472
|
-
ingest: integer;
|
|
7473
|
-
master: integer;
|
|
7474
|
-
total: integer;
|
|
7475
|
-
voting_only: integer;
|
|
7476
7532
|
data_cold: integer;
|
|
7477
|
-
data_frozen?: integer;
|
|
7478
7533
|
data_content: integer;
|
|
7479
|
-
|
|
7534
|
+
data_frozen?: integer;
|
|
7480
7535
|
data_hot: integer;
|
|
7536
|
+
data_warm: integer;
|
|
7537
|
+
ingest: integer;
|
|
7538
|
+
master: integer;
|
|
7481
7539
|
ml: integer;
|
|
7482
7540
|
remote_cluster_client: integer;
|
|
7541
|
+
total: integer;
|
|
7483
7542
|
transform: integer;
|
|
7543
|
+
voting_only: integer;
|
|
7484
7544
|
}
|
|
7485
7545
|
export interface ClusterStatsClusterNodes {
|
|
7486
7546
|
count: ClusterStatsClusterNodeCount;
|
|
7487
7547
|
discovery_types: Record<string, integer>;
|
|
7488
7548
|
fs: ClusterStatsClusterFileSystem;
|
|
7549
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7489
7550
|
ingest: ClusterStatsClusterIngest;
|
|
7490
7551
|
jvm: ClusterStatsClusterJvm;
|
|
7491
7552
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7494,19 +7555,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7494
7555
|
plugins: PluginStats[];
|
|
7495
7556
|
process: ClusterStatsClusterProcess;
|
|
7496
7557
|
versions: VersionString[];
|
|
7497
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7498
7558
|
}
|
|
7499
7559
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7500
7560
|
allocated_processors: integer;
|
|
7561
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7501
7562
|
available_processors: integer;
|
|
7502
7563
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7503
7564
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7504
7565
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7505
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7506
7566
|
}
|
|
7507
7567
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7508
|
-
count: integer;
|
|
7509
7568
|
arch: string;
|
|
7569
|
+
count: integer;
|
|
7510
7570
|
}
|
|
7511
7571
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7512
7572
|
count: integer;
|
|
@@ -7561,8 +7621,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7561
7621
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7562
7622
|
}
|
|
7563
7623
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7564
|
-
limit_in_bytes: long;
|
|
7565
7624
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7625
|
+
limit_in_bytes: long;
|
|
7566
7626
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7567
7627
|
}
|
|
7568
7628
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7587,12 +7647,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7587
7647
|
type: string;
|
|
7588
7648
|
}
|
|
7589
7649
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7650
|
+
adjusted_total_in_bytes?: long;
|
|
7590
7651
|
free_in_bytes: long;
|
|
7591
7652
|
free_percent: integer;
|
|
7592
7653
|
total_in_bytes: long;
|
|
7593
7654
|
used_in_bytes: long;
|
|
7594
7655
|
used_percent: integer;
|
|
7595
|
-
adjusted_total_in_bytes?: long;
|
|
7596
7656
|
}
|
|
7597
7657
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7598
7658
|
node_id?: NodeIds;
|
|
@@ -7601,20 +7661,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7601
7661
|
}
|
|
7602
7662
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7603
7663
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7604
|
-
|
|
7664
|
+
chars_max: integer;
|
|
7665
|
+
chars_total: integer;
|
|
7605
7666
|
count: integer;
|
|
7667
|
+
doc_max: integer;
|
|
7668
|
+
doc_total: integer;
|
|
7606
7669
|
index_count: integer;
|
|
7607
|
-
scriptless_count: integer;
|
|
7608
|
-
shadowed_count: integer;
|
|
7609
7670
|
lang: string[];
|
|
7610
7671
|
lines_max: integer;
|
|
7611
7672
|
lines_total: integer;
|
|
7612
|
-
|
|
7613
|
-
|
|
7673
|
+
name: Name;
|
|
7674
|
+
scriptless_count: integer;
|
|
7675
|
+
shadowed_count: integer;
|
|
7614
7676
|
source_max: integer;
|
|
7615
7677
|
source_total: integer;
|
|
7616
|
-
doc_max: integer;
|
|
7617
|
-
doc_total: integer;
|
|
7618
7678
|
}
|
|
7619
7679
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7620
7680
|
cluster_name: Name;
|
|
@@ -7860,6 +7920,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7860
7920
|
wait_for_checkpoints?: FleetCheckpoint[];
|
|
7861
7921
|
allow_partial_search_results?: boolean;
|
|
7862
7922
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
7923
|
+
/** @alias aggregations */
|
|
7863
7924
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7864
7925
|
collapse?: SearchFieldCollapse;
|
|
7865
7926
|
explain?: boolean;
|
|
@@ -8138,19 +8199,19 @@ export interface IndicesDataLifecycleWithRollover {
|
|
|
8138
8199
|
rollover?: IndicesDlmRolloverConditions;
|
|
8139
8200
|
}
|
|
8140
8201
|
export interface IndicesDataStream {
|
|
8141
|
-
|
|
8142
|
-
|
|
8143
|
-
indices: IndicesDataStreamIndex[];
|
|
8202
|
+
_meta?: Metadata;
|
|
8203
|
+
allow_custom_routing?: boolean;
|
|
8144
8204
|
generation: integer;
|
|
8145
|
-
template: Name;
|
|
8146
8205
|
hidden: boolean;
|
|
8147
|
-
replicated?: boolean;
|
|
8148
|
-
system?: boolean;
|
|
8149
|
-
status: HealthStatus;
|
|
8150
8206
|
ilm_policy?: Name;
|
|
8151
|
-
|
|
8152
|
-
allow_custom_routing?: boolean;
|
|
8207
|
+
indices: IndicesDataStreamIndex[];
|
|
8153
8208
|
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8209
|
+
name: DataStreamName;
|
|
8210
|
+
replicated?: boolean;
|
|
8211
|
+
status: HealthStatus;
|
|
8212
|
+
system?: boolean;
|
|
8213
|
+
template: Name;
|
|
8214
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8154
8215
|
}
|
|
8155
8216
|
export interface IndicesDataStreamIndex {
|
|
8156
8217
|
index_name: IndexName;
|
|
@@ -8647,9 +8708,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8647
8708
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8648
8709
|
backing_indices: integer;
|
|
8649
8710
|
data_stream: Name;
|
|
8711
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8650
8712
|
store_size?: ByteSize;
|
|
8651
8713
|
store_size_bytes: integer;
|
|
8652
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8653
8714
|
}
|
|
8654
8715
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8655
8716
|
name?: IndexName;
|
|
@@ -8659,9 +8720,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8659
8720
|
_shards: ShardStatistics;
|
|
8660
8721
|
backing_indices: integer;
|
|
8661
8722
|
data_stream_count: integer;
|
|
8723
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8662
8724
|
total_store_sizes?: ByteSize;
|
|
8663
8725
|
total_store_size_bytes: integer;
|
|
8664
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8665
8726
|
}
|
|
8666
8727
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8667
8728
|
index: Indices;
|
|
@@ -8954,8 +9015,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
8954
9015
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
8955
9016
|
}
|
|
8956
9017
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
8957
|
-
index: IndexName;
|
|
8958
9018
|
data_stream: DataStreamName;
|
|
9019
|
+
index: IndexName;
|
|
8959
9020
|
}
|
|
8960
9021
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
8961
9022
|
actions: IndicesModifyDataStreamAction[];
|
|
@@ -9170,16 +9231,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9170
9231
|
reloaded_analyzers: string[];
|
|
9171
9232
|
reloaded_node_ids: string[];
|
|
9172
9233
|
}
|
|
9234
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9235
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9236
|
+
_shards: ShardStatistics;
|
|
9237
|
+
}
|
|
9173
9238
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9174
9239
|
index: Indices;
|
|
9175
9240
|
allow_no_indices?: boolean;
|
|
9176
9241
|
expand_wildcards?: ExpandWildcards;
|
|
9177
9242
|
ignore_unavailable?: boolean;
|
|
9178
9243
|
}
|
|
9179
|
-
export
|
|
9180
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9181
|
-
_shards: ShardStatistics;
|
|
9182
|
-
}
|
|
9244
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9183
9245
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9184
9246
|
name: Names;
|
|
9185
9247
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10623,6 +10685,7 @@ export interface MlDiscoveryNode {
|
|
|
10623
10685
|
}
|
|
10624
10686
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10625
10687
|
export interface MlFillMaskInferenceOptions {
|
|
10688
|
+
mask_token?: string;
|
|
10626
10689
|
num_top_classes?: integer;
|
|
10627
10690
|
tokenization?: MlTokenizationConfigContainer;
|
|
10628
10691
|
results_field?: string;
|
|
@@ -11794,6 +11857,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
11794
11857
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
11795
11858
|
frequency?: Duration;
|
|
11796
11859
|
indices?: Indices;
|
|
11860
|
+
/** @alias indices */
|
|
11797
11861
|
indexes?: Indices;
|
|
11798
11862
|
indices_options?: IndicesOptions;
|
|
11799
11863
|
job_id?: Id;
|
|
@@ -11969,6 +12033,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
11969
12033
|
model_id: Id;
|
|
11970
12034
|
vocabulary: string[];
|
|
11971
12035
|
merges?: string[];
|
|
12036
|
+
scores?: double[];
|
|
11972
12037
|
}
|
|
11973
12038
|
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
11974
12039
|
export interface MlResetJobRequest extends RequestBase {
|
|
@@ -12011,6 +12076,7 @@ export interface MlStartDatafeedResponse {
|
|
|
12011
12076
|
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
12012
12077
|
model_id: Id;
|
|
12013
12078
|
cache_size?: ByteSize;
|
|
12079
|
+
deployment_id?: string;
|
|
12014
12080
|
number_of_allocations?: integer;
|
|
12015
12081
|
priority?: MlTrainingPriority;
|
|
12016
12082
|
queue_capacity?: integer;
|
|
@@ -12079,6 +12145,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12079
12145
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12080
12146
|
frequency?: Duration;
|
|
12081
12147
|
indices?: string[];
|
|
12148
|
+
/** @alias indices */
|
|
12082
12149
|
indexes?: string[];
|
|
12083
12150
|
indices_options?: IndicesOptions;
|
|
12084
12151
|
job_id?: Id;
|
|
@@ -12990,6 +13057,54 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
12990
13057
|
cluster_name: Name;
|
|
12991
13058
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
12992
13059
|
}
|
|
13060
|
+
export interface QueryRulesetQueryRule {
|
|
13061
|
+
rule_id: Id;
|
|
13062
|
+
type: QueryRulesetQueryRuleType;
|
|
13063
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13064
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13065
|
+
}
|
|
13066
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13067
|
+
ids?: Id[];
|
|
13068
|
+
docs?: QueryDslPinnedDoc[];
|
|
13069
|
+
}
|
|
13070
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13071
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13072
|
+
metadata: string;
|
|
13073
|
+
values?: any[];
|
|
13074
|
+
}
|
|
13075
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13076
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13077
|
+
export interface QueryRulesetQueryRuleset {
|
|
13078
|
+
ruleset_id: Id;
|
|
13079
|
+
rules: QueryRulesetQueryRule[];
|
|
13080
|
+
}
|
|
13081
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13082
|
+
ruleset_id: Id;
|
|
13083
|
+
}
|
|
13084
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13085
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13086
|
+
ruleset_id: Id;
|
|
13087
|
+
}
|
|
13088
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13089
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13090
|
+
ruleset_id: Id;
|
|
13091
|
+
rules_count: integer;
|
|
13092
|
+
}
|
|
13093
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13094
|
+
from?: integer;
|
|
13095
|
+
size?: integer;
|
|
13096
|
+
}
|
|
13097
|
+
export interface QueryRulesetListResponse {
|
|
13098
|
+
count: long;
|
|
13099
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13100
|
+
}
|
|
13101
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13102
|
+
ruleset_id: Id;
|
|
13103
|
+
rules: QueryRulesetQueryRule[];
|
|
13104
|
+
}
|
|
13105
|
+
export interface QueryRulesetPutResponse {
|
|
13106
|
+
result: Result;
|
|
13107
|
+
}
|
|
12993
13108
|
export interface RollupDateHistogramGrouping {
|
|
12994
13109
|
delay?: Duration;
|
|
12995
13110
|
field: Field;
|
|
@@ -13117,6 +13232,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13117
13232
|
rest_total_hits_as_int?: boolean;
|
|
13118
13233
|
typed_keys?: boolean;
|
|
13119
13234
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13235
|
+
/** @alias aggregations */
|
|
13120
13236
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13121
13237
|
query?: QueryDslQueryContainer;
|
|
13122
13238
|
size?: integer;
|
|
@@ -14469,6 +14585,68 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14469
14585
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14470
14586
|
}
|
|
14471
14587
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14588
|
+
export interface SynonymsSynonymRule {
|
|
14589
|
+
id?: Id;
|
|
14590
|
+
synonyms: SynonymsSynonymString;
|
|
14591
|
+
}
|
|
14592
|
+
export interface SynonymsSynonymRuleRead {
|
|
14593
|
+
id: Id;
|
|
14594
|
+
synonyms: SynonymsSynonymString;
|
|
14595
|
+
}
|
|
14596
|
+
export type SynonymsSynonymString = string;
|
|
14597
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
14598
|
+
result: Result;
|
|
14599
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
14600
|
+
}
|
|
14601
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
14602
|
+
id: Id;
|
|
14603
|
+
}
|
|
14604
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
14605
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
14606
|
+
set_id: Id;
|
|
14607
|
+
rule_id: Id;
|
|
14608
|
+
}
|
|
14609
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14610
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
14611
|
+
id: Id;
|
|
14612
|
+
from?: integer;
|
|
14613
|
+
size?: integer;
|
|
14614
|
+
}
|
|
14615
|
+
export interface SynonymsGetSynonymResponse {
|
|
14616
|
+
count: integer;
|
|
14617
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
14618
|
+
}
|
|
14619
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
14620
|
+
set_id: Id;
|
|
14621
|
+
rule_id: Id;
|
|
14622
|
+
}
|
|
14623
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
14624
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
14625
|
+
from?: integer;
|
|
14626
|
+
size?: integer;
|
|
14627
|
+
}
|
|
14628
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
14629
|
+
count: integer;
|
|
14630
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
14631
|
+
}
|
|
14632
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
14633
|
+
synonyms_set: Id;
|
|
14634
|
+
count: integer;
|
|
14635
|
+
}
|
|
14636
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
14637
|
+
id: Id;
|
|
14638
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
14639
|
+
}
|
|
14640
|
+
export interface SynonymsPutSynonymResponse {
|
|
14641
|
+
result: Result;
|
|
14642
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
14643
|
+
}
|
|
14644
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
14645
|
+
set_id: Id;
|
|
14646
|
+
rule_id: Id;
|
|
14647
|
+
synonyms: SynonymsSynonymString[];
|
|
14648
|
+
}
|
|
14649
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14472
14650
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14473
14651
|
export interface TasksNodeTasks {
|
|
14474
14652
|
name?: NodeId;
|
|
@@ -14493,7 +14671,7 @@ export interface TasksTaskInfo {
|
|
|
14493
14671
|
running_time?: Duration;
|
|
14494
14672
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14495
14673
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14496
|
-
status?:
|
|
14674
|
+
status?: any;
|
|
14497
14675
|
type: string;
|
|
14498
14676
|
parent_task_id?: TaskId;
|
|
14499
14677
|
}
|
|
@@ -14504,25 +14682,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14504
14682
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14505
14683
|
tasks?: TasksTaskInfos;
|
|
14506
14684
|
}
|
|
14507
|
-
export interface TasksTaskStatus {
|
|
14508
|
-
batches: long;
|
|
14509
|
-
canceled?: string;
|
|
14510
|
-
created: long;
|
|
14511
|
-
deleted: long;
|
|
14512
|
-
noops: long;
|
|
14513
|
-
failures?: string[];
|
|
14514
|
-
requests_per_second: float;
|
|
14515
|
-
retries: Retries;
|
|
14516
|
-
throttled?: Duration;
|
|
14517
|
-
throttled_millis: DurationValue<UnitMillis>;
|
|
14518
|
-
throttled_until?: Duration;
|
|
14519
|
-
throttled_until_millis: DurationValue<UnitMillis>;
|
|
14520
|
-
timed_out?: boolean;
|
|
14521
|
-
took?: DurationValue<UnitMillis>;
|
|
14522
|
-
total: long;
|
|
14523
|
-
updated: long;
|
|
14524
|
-
version_conflicts: long;
|
|
14525
|
-
}
|
|
14526
14685
|
export interface TasksCancelRequest extends RequestBase {
|
|
14527
14686
|
task_id?: TaskId;
|
|
14528
14687
|
actions?: string | string[];
|
|
@@ -14539,7 +14698,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14539
14698
|
export interface TasksGetResponse {
|
|
14540
14699
|
completed: boolean;
|
|
14541
14700
|
task: TasksTaskInfo;
|
|
14542
|
-
response?:
|
|
14701
|
+
response?: any;
|
|
14543
14702
|
error?: ErrorCause;
|
|
14544
14703
|
}
|
|
14545
14704
|
export interface TasksListRequest extends RequestBase {
|
|
@@ -14658,6 +14817,7 @@ export interface TransformTimeSync {
|
|
|
14658
14817
|
export interface TransformDeleteTransformRequest extends RequestBase {
|
|
14659
14818
|
transform_id: Id;
|
|
14660
14819
|
force?: boolean;
|
|
14820
|
+
delete_dest_index?: boolean;
|
|
14661
14821
|
timeout?: Duration;
|
|
14662
14822
|
}
|
|
14663
14823
|
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|