@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
|
@@ -449,6 +449,7 @@ export interface HealthReportIndicators {
|
|
|
449
449
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
450
450
|
ilm?: HealthReportIlmIndicator;
|
|
451
451
|
slm?: HealthReportSlmIndicator;
|
|
452
|
+
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
452
453
|
}
|
|
453
454
|
export interface HealthReportMasterIsStableIndicator extends HealthReportBaseIndicator {
|
|
454
455
|
details?: HealthReportMasterIsStableIndicatorDetails;
|
|
@@ -485,6 +486,7 @@ export interface HealthReportRequest extends RequestBase {
|
|
|
485
486
|
export interface HealthReportResponse {
|
|
486
487
|
cluster_name: string;
|
|
487
488
|
indicators: HealthReportIndicators;
|
|
489
|
+
status?: HealthReportIndicatorHealthStatus;
|
|
488
490
|
}
|
|
489
491
|
export interface HealthReportShardsAvailabilityIndicator extends HealthReportBaseIndicator {
|
|
490
492
|
details?: HealthReportShardsAvailabilityIndicatorDetails;
|
|
@@ -500,6 +502,17 @@ export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
|
500
502
|
unassigned_primaries: long;
|
|
501
503
|
unassigned_replicas: long;
|
|
502
504
|
}
|
|
505
|
+
export interface HealthReportShardsCapacityIndicator extends HealthReportBaseIndicator {
|
|
506
|
+
details?: HealthReportShardsCapacityIndicatorDetails;
|
|
507
|
+
}
|
|
508
|
+
export interface HealthReportShardsCapacityIndicatorDetails {
|
|
509
|
+
data: HealthReportShardsCapacityIndicatorTierDetail;
|
|
510
|
+
frozen: HealthReportShardsCapacityIndicatorTierDetail;
|
|
511
|
+
}
|
|
512
|
+
export interface HealthReportShardsCapacityIndicatorTierDetail {
|
|
513
|
+
max_shards_in_cluster: integer;
|
|
514
|
+
current_used_shards?: integer;
|
|
515
|
+
}
|
|
503
516
|
export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
504
517
|
details?: HealthReportSlmIndicatorDetails;
|
|
505
518
|
}
|
|
@@ -603,7 +616,7 @@ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | Mg
|
|
|
603
616
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
604
617
|
status?: integer;
|
|
605
618
|
}
|
|
606
|
-
export interface MsearchMultiSearchResult<TDocument = unknown
|
|
619
|
+
export interface MsearchMultiSearchResult<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
607
620
|
took: long;
|
|
608
621
|
responses: MsearchResponseItem<TDocument>[];
|
|
609
622
|
}
|
|
@@ -672,7 +685,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
672
685
|
body?: MsearchRequestItem[];
|
|
673
686
|
}
|
|
674
687
|
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
675
|
-
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
688
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
676
689
|
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
677
690
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
678
691
|
index?: Indices;
|
|
@@ -685,7 +698,7 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
685
698
|
body?: MsearchTemplateRequestItem[];
|
|
686
699
|
}
|
|
687
700
|
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
688
|
-
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
701
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
689
702
|
export interface MsearchTemplateTemplateConfig {
|
|
690
703
|
explain?: boolean;
|
|
691
704
|
id?: Id;
|
|
@@ -1013,6 +1026,7 @@ export interface SearchRequest extends RequestBase {
|
|
|
1013
1026
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
1014
1027
|
body?: {
|
|
1015
1028
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
1029
|
+
/** @alias aggregations */
|
|
1016
1030
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
1017
1031
|
collapse?: SearchFieldCollapse;
|
|
1018
1032
|
explain?: boolean;
|
|
@@ -1741,6 +1755,7 @@ export interface SpecUtilsBaseNode {
|
|
|
1741
1755
|
roles?: NodeRoles;
|
|
1742
1756
|
transport_address: TransportAddress;
|
|
1743
1757
|
}
|
|
1758
|
+
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1744
1759
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1745
1760
|
export interface AcknowledgedResponseBase {
|
|
1746
1761
|
acknowledged: boolean;
|
|
@@ -1767,12 +1782,23 @@ export interface BulkStats {
|
|
|
1767
1782
|
export type ByteSize = long | string;
|
|
1768
1783
|
export type Bytes = 'b' | 'kb' | 'mb' | 'gb' | 'tb' | 'pb';
|
|
1769
1784
|
export type CategoryId = string;
|
|
1785
|
+
export type ClusterAlias = string;
|
|
1786
|
+
export interface ClusterDetails {
|
|
1787
|
+
status: ClusterSearchStatus;
|
|
1788
|
+
indices: string;
|
|
1789
|
+
took?: DurationValue<UnitMillis>;
|
|
1790
|
+
timed_out: boolean;
|
|
1791
|
+
_shards?: ShardStatistics;
|
|
1792
|
+
failures?: ShardFailure[];
|
|
1793
|
+
}
|
|
1770
1794
|
export type ClusterInfoTarget = '_all' | 'http' | 'ingest' | 'thread_pool' | 'script';
|
|
1771
1795
|
export type ClusterInfoTargets = ClusterInfoTarget | ClusterInfoTarget[];
|
|
1796
|
+
export type ClusterSearchStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
1772
1797
|
export interface ClusterStatistics {
|
|
1773
1798
|
skipped: integer;
|
|
1774
1799
|
successful: integer;
|
|
1775
1800
|
total: integer;
|
|
1801
|
+
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1776
1802
|
}
|
|
1777
1803
|
export interface CompletionStats {
|
|
1778
1804
|
size_in_bytes: long;
|
|
@@ -2565,11 +2591,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2565
2591
|
size?: integer;
|
|
2566
2592
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2567
2593
|
}
|
|
2594
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2595
|
+
field?: Field;
|
|
2596
|
+
missing_bucket?: boolean;
|
|
2597
|
+
missing_order?: AggregationsMissingOrder;
|
|
2598
|
+
script?: Script;
|
|
2599
|
+
value_type?: AggregationsValueType;
|
|
2600
|
+
order?: SortOrder;
|
|
2601
|
+
}
|
|
2568
2602
|
export interface AggregationsCompositeAggregationSource {
|
|
2569
|
-
terms?:
|
|
2570
|
-
histogram?:
|
|
2571
|
-
date_histogram?:
|
|
2572
|
-
geotile_grid?:
|
|
2603
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2604
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2605
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2606
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2573
2607
|
}
|
|
2574
2608
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2575
2609
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2577,6 +2611,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2577
2611
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2578
2612
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2579
2613
|
};
|
|
2614
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2615
|
+
format?: string;
|
|
2616
|
+
calendar_interval?: DurationLarge;
|
|
2617
|
+
fixed_interval?: DurationLarge;
|
|
2618
|
+
offset?: Duration;
|
|
2619
|
+
time_zone?: TimeZone;
|
|
2620
|
+
}
|
|
2621
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2622
|
+
precision?: integer;
|
|
2623
|
+
bounds?: GeoBounds;
|
|
2624
|
+
}
|
|
2625
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2626
|
+
interval: double;
|
|
2627
|
+
}
|
|
2628
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2629
|
+
}
|
|
2580
2630
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2581
2631
|
value: long;
|
|
2582
2632
|
value_as_string?: string;
|
|
@@ -3555,7 +3605,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3555
3605
|
type: 'elision';
|
|
3556
3606
|
articles?: string[];
|
|
3557
3607
|
articles_path?: string;
|
|
3558
|
-
articles_case?: boolean
|
|
3608
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3559
3609
|
}
|
|
3560
3610
|
export interface AnalysisFingerprintAnalyzer {
|
|
3561
3611
|
type: 'fingerprint';
|
|
@@ -3773,11 +3823,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3773
3823
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3774
3824
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3775
3825
|
type: 'path_hierarchy';
|
|
3776
|
-
buffer_size: integer
|
|
3826
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3777
3827
|
delimiter: string;
|
|
3778
3828
|
replacement: string;
|
|
3779
|
-
reverse: boolean
|
|
3780
|
-
skip: integer
|
|
3829
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3830
|
+
skip: SpecUtilsStringified<integer>;
|
|
3781
3831
|
}
|
|
3782
3832
|
export interface AnalysisPatternAnalyzer {
|
|
3783
3833
|
type: 'pattern';
|
|
@@ -3807,9 +3857,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3807
3857
|
}
|
|
3808
3858
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3809
3859
|
type: 'pattern';
|
|
3810
|
-
flags
|
|
3811
|
-
group
|
|
3812
|
-
pattern
|
|
3860
|
+
flags?: string;
|
|
3861
|
+
group?: integer;
|
|
3862
|
+
pattern?: string;
|
|
3813
3863
|
}
|
|
3814
3864
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3815
3865
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4542,7 +4592,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4542
4592
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4543
4593
|
}
|
|
4544
4594
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4545
|
-
distance
|
|
4595
|
+
distance: Distance;
|
|
4546
4596
|
distance_type?: GeoDistanceType;
|
|
4547
4597
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4548
4598
|
}
|
|
@@ -4840,6 +4890,7 @@ export interface QueryDslQueryContainer {
|
|
|
4840
4890
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4841
4891
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4842
4892
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4893
|
+
rule_query?: QueryDslRuleQuery;
|
|
4843
4894
|
script?: QueryDslScriptQuery;
|
|
4844
4895
|
script_score?: QueryDslScriptScoreQuery;
|
|
4845
4896
|
shape?: QueryDslShapeQuery;
|
|
@@ -4925,6 +4976,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4925
4976
|
rewrite?: MultiTermQueryRewrite;
|
|
4926
4977
|
value: string;
|
|
4927
4978
|
}
|
|
4979
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4980
|
+
organic: QueryDslQueryContainer;
|
|
4981
|
+
ruleset_id: Id;
|
|
4982
|
+
match_criteria: any;
|
|
4983
|
+
}
|
|
4928
4984
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4929
4985
|
script: Script;
|
|
4930
4986
|
}
|
|
@@ -4947,8 +5003,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4947
5003
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4948
5004
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4949
5005
|
};
|
|
4950
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4951
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
5006
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
5007
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4952
5008
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4953
5009
|
analyzer?: string;
|
|
4954
5010
|
analyze_wildcard?: boolean;
|
|
@@ -5080,6 +5136,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5080
5136
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5081
5137
|
start_time?: DateTime;
|
|
5082
5138
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5139
|
+
completion_time?: DateTime;
|
|
5140
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5083
5141
|
}
|
|
5084
5142
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5085
5143
|
id: Id;
|
|
@@ -5098,6 +5156,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5098
5156
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5099
5157
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5100
5158
|
_shards: ShardStatistics;
|
|
5159
|
+
_clusters?: ClusterStatistics;
|
|
5101
5160
|
completion_status?: integer;
|
|
5102
5161
|
}
|
|
5103
5162
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5137,6 +5196,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5137
5196
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
5138
5197
|
body?: {
|
|
5139
5198
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5199
|
+
/** @alias aggregations */
|
|
5140
5200
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5141
5201
|
collapse?: SearchFieldCollapse;
|
|
5142
5202
|
explain?: boolean;
|
|
@@ -6732,7 +6792,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6732
6792
|
actions?: string[];
|
|
6733
6793
|
detailed?: boolean;
|
|
6734
6794
|
node_id?: string[];
|
|
6735
|
-
|
|
6795
|
+
parent_task_id?: string;
|
|
6736
6796
|
}
|
|
6737
6797
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6738
6798
|
export interface CatTasksTasksRecord {
|
|
@@ -7270,9 +7330,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7270
7330
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7271
7331
|
name?: Name;
|
|
7272
7332
|
flat_settings?: boolean;
|
|
7333
|
+
include_defaults?: boolean;
|
|
7273
7334
|
local?: boolean;
|
|
7274
7335
|
master_timeout?: Duration;
|
|
7275
|
-
include_defaults?: boolean;
|
|
7276
7336
|
}
|
|
7277
7337
|
export interface ClusterGetComponentTemplateResponse {
|
|
7278
7338
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7378,10 +7438,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7378
7438
|
master_timeout?: Duration;
|
|
7379
7439
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7380
7440
|
body?: {
|
|
7441
|
+
allow_auto_create?: boolean;
|
|
7381
7442
|
template: IndicesIndexState;
|
|
7382
7443
|
version?: VersionNumber;
|
|
7383
7444
|
_meta?: Metadata;
|
|
7384
|
-
allow_auto_create?: boolean;
|
|
7385
7445
|
};
|
|
7386
7446
|
}
|
|
7387
7447
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7502,14 +7562,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7502
7562
|
}
|
|
7503
7563
|
export type ClusterStateResponse = any;
|
|
7504
7564
|
export interface ClusterStatsCharFilterTypes {
|
|
7505
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7506
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7507
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7508
7565
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7566
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7509
7567
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7510
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7511
7568
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7512
|
-
|
|
7569
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7570
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7571
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7572
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7513
7573
|
}
|
|
7514
7574
|
export interface ClusterStatsClusterFileSystem {
|
|
7515
7575
|
available_in_bytes: long;
|
|
@@ -7517,6 +7577,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7517
7577
|
total_in_bytes: long;
|
|
7518
7578
|
}
|
|
7519
7579
|
export interface ClusterStatsClusterIndices {
|
|
7580
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7520
7581
|
completion: CompletionStats;
|
|
7521
7582
|
count: long;
|
|
7522
7583
|
docs: DocStats;
|
|
@@ -7526,7 +7587,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7526
7587
|
shards: ClusterStatsClusterIndicesShards;
|
|
7527
7588
|
store: StoreStats;
|
|
7528
7589
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7529
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7530
7590
|
versions?: ClusterStatsIndicesVersions[];
|
|
7531
7591
|
}
|
|
7532
7592
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7570,23 +7630,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7570
7630
|
export interface ClusterStatsClusterNodeCount {
|
|
7571
7631
|
coordinating_only: integer;
|
|
7572
7632
|
data: integer;
|
|
7573
|
-
ingest: integer;
|
|
7574
|
-
master: integer;
|
|
7575
|
-
total: integer;
|
|
7576
|
-
voting_only: integer;
|
|
7577
7633
|
data_cold: integer;
|
|
7578
|
-
data_frozen?: integer;
|
|
7579
7634
|
data_content: integer;
|
|
7580
|
-
|
|
7635
|
+
data_frozen?: integer;
|
|
7581
7636
|
data_hot: integer;
|
|
7637
|
+
data_warm: integer;
|
|
7638
|
+
ingest: integer;
|
|
7639
|
+
master: integer;
|
|
7582
7640
|
ml: integer;
|
|
7583
7641
|
remote_cluster_client: integer;
|
|
7642
|
+
total: integer;
|
|
7584
7643
|
transform: integer;
|
|
7644
|
+
voting_only: integer;
|
|
7585
7645
|
}
|
|
7586
7646
|
export interface ClusterStatsClusterNodes {
|
|
7587
7647
|
count: ClusterStatsClusterNodeCount;
|
|
7588
7648
|
discovery_types: Record<string, integer>;
|
|
7589
7649
|
fs: ClusterStatsClusterFileSystem;
|
|
7650
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7590
7651
|
ingest: ClusterStatsClusterIngest;
|
|
7591
7652
|
jvm: ClusterStatsClusterJvm;
|
|
7592
7653
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7595,19 +7656,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7595
7656
|
plugins: PluginStats[];
|
|
7596
7657
|
process: ClusterStatsClusterProcess;
|
|
7597
7658
|
versions: VersionString[];
|
|
7598
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7599
7659
|
}
|
|
7600
7660
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7601
7661
|
allocated_processors: integer;
|
|
7662
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7602
7663
|
available_processors: integer;
|
|
7603
7664
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7604
7665
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7605
7666
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7606
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7607
7667
|
}
|
|
7608
7668
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7609
|
-
count: integer;
|
|
7610
7669
|
arch: string;
|
|
7670
|
+
count: integer;
|
|
7611
7671
|
}
|
|
7612
7672
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7613
7673
|
count: integer;
|
|
@@ -7662,8 +7722,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7662
7722
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7663
7723
|
}
|
|
7664
7724
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7665
|
-
limit_in_bytes: long;
|
|
7666
7725
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7726
|
+
limit_in_bytes: long;
|
|
7667
7727
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7668
7728
|
}
|
|
7669
7729
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7688,12 +7748,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7688
7748
|
type: string;
|
|
7689
7749
|
}
|
|
7690
7750
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7751
|
+
adjusted_total_in_bytes?: long;
|
|
7691
7752
|
free_in_bytes: long;
|
|
7692
7753
|
free_percent: integer;
|
|
7693
7754
|
total_in_bytes: long;
|
|
7694
7755
|
used_in_bytes: long;
|
|
7695
7756
|
used_percent: integer;
|
|
7696
|
-
adjusted_total_in_bytes?: long;
|
|
7697
7757
|
}
|
|
7698
7758
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7699
7759
|
node_id?: NodeIds;
|
|
@@ -7702,20 +7762,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7702
7762
|
}
|
|
7703
7763
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7704
7764
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7705
|
-
|
|
7765
|
+
chars_max: integer;
|
|
7766
|
+
chars_total: integer;
|
|
7706
7767
|
count: integer;
|
|
7768
|
+
doc_max: integer;
|
|
7769
|
+
doc_total: integer;
|
|
7707
7770
|
index_count: integer;
|
|
7708
|
-
scriptless_count: integer;
|
|
7709
|
-
shadowed_count: integer;
|
|
7710
7771
|
lang: string[];
|
|
7711
7772
|
lines_max: integer;
|
|
7712
7773
|
lines_total: integer;
|
|
7713
|
-
|
|
7714
|
-
|
|
7774
|
+
name: Name;
|
|
7775
|
+
scriptless_count: integer;
|
|
7776
|
+
shadowed_count: integer;
|
|
7715
7777
|
source_max: integer;
|
|
7716
7778
|
source_total: integer;
|
|
7717
|
-
doc_max: integer;
|
|
7718
|
-
doc_total: integer;
|
|
7719
7779
|
}
|
|
7720
7780
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7721
7781
|
cluster_name: Name;
|
|
@@ -7970,6 +8030,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7970
8030
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7971
8031
|
body?: {
|
|
7972
8032
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
8033
|
+
/** @alias aggregations */
|
|
7973
8034
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7974
8035
|
collapse?: SearchFieldCollapse;
|
|
7975
8036
|
explain?: boolean;
|
|
@@ -8261,19 +8322,19 @@ export interface IndicesDataLifecycleWithRollover {
|
|
|
8261
8322
|
rollover?: IndicesDlmRolloverConditions;
|
|
8262
8323
|
}
|
|
8263
8324
|
export interface IndicesDataStream {
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
indices: IndicesDataStreamIndex[];
|
|
8325
|
+
_meta?: Metadata;
|
|
8326
|
+
allow_custom_routing?: boolean;
|
|
8267
8327
|
generation: integer;
|
|
8268
|
-
template: Name;
|
|
8269
8328
|
hidden: boolean;
|
|
8270
|
-
replicated?: boolean;
|
|
8271
|
-
system?: boolean;
|
|
8272
|
-
status: HealthStatus;
|
|
8273
8329
|
ilm_policy?: Name;
|
|
8274
|
-
|
|
8275
|
-
allow_custom_routing?: boolean;
|
|
8330
|
+
indices: IndicesDataStreamIndex[];
|
|
8276
8331
|
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8332
|
+
name: DataStreamName;
|
|
8333
|
+
replicated?: boolean;
|
|
8334
|
+
status: HealthStatus;
|
|
8335
|
+
system?: boolean;
|
|
8336
|
+
template: Name;
|
|
8337
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8277
8338
|
}
|
|
8278
8339
|
export interface IndicesDataStreamIndex {
|
|
8279
8340
|
index_name: IndexName;
|
|
@@ -8779,9 +8840,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8779
8840
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8780
8841
|
backing_indices: integer;
|
|
8781
8842
|
data_stream: Name;
|
|
8843
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8782
8844
|
store_size?: ByteSize;
|
|
8783
8845
|
store_size_bytes: integer;
|
|
8784
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8785
8846
|
}
|
|
8786
8847
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8787
8848
|
name?: IndexName;
|
|
@@ -8791,9 +8852,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8791
8852
|
_shards: ShardStatistics;
|
|
8792
8853
|
backing_indices: integer;
|
|
8793
8854
|
data_stream_count: integer;
|
|
8855
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8794
8856
|
total_store_sizes?: ByteSize;
|
|
8795
8857
|
total_store_size_bytes: integer;
|
|
8796
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8797
8858
|
}
|
|
8798
8859
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8799
8860
|
index: Indices;
|
|
@@ -9087,8 +9148,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
9087
9148
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
9088
9149
|
}
|
|
9089
9150
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
9090
|
-
index: IndexName;
|
|
9091
9151
|
data_stream: DataStreamName;
|
|
9152
|
+
index: IndexName;
|
|
9092
9153
|
}
|
|
9093
9154
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
9094
9155
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -9322,16 +9383,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9322
9383
|
reloaded_analyzers: string[];
|
|
9323
9384
|
reloaded_node_ids: string[];
|
|
9324
9385
|
}
|
|
9386
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9387
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9388
|
+
_shards: ShardStatistics;
|
|
9389
|
+
}
|
|
9325
9390
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9326
9391
|
index: Indices;
|
|
9327
9392
|
allow_no_indices?: boolean;
|
|
9328
9393
|
expand_wildcards?: ExpandWildcards;
|
|
9329
9394
|
ignore_unavailable?: boolean;
|
|
9330
9395
|
}
|
|
9331
|
-
export
|
|
9332
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9333
|
-
_shards: ShardStatistics;
|
|
9334
|
-
}
|
|
9396
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9335
9397
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9336
9398
|
name: Names;
|
|
9337
9399
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10804,6 +10866,7 @@ export interface MlDiscoveryNode {
|
|
|
10804
10866
|
}
|
|
10805
10867
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10806
10868
|
export interface MlFillMaskInferenceOptions {
|
|
10869
|
+
mask_token?: string;
|
|
10807
10870
|
num_top_classes?: integer;
|
|
10808
10871
|
tokenization?: MlTokenizationConfigContainer;
|
|
10809
10872
|
results_field?: string;
|
|
@@ -12041,6 +12104,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
12041
12104
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12042
12105
|
frequency?: Duration;
|
|
12043
12106
|
indices?: Indices;
|
|
12107
|
+
/** @alias indices */
|
|
12044
12108
|
indexes?: Indices;
|
|
12045
12109
|
indices_options?: IndicesOptions;
|
|
12046
12110
|
job_id?: Id;
|
|
@@ -12231,6 +12295,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
12231
12295
|
body?: {
|
|
12232
12296
|
vocabulary: string[];
|
|
12233
12297
|
merges?: string[];
|
|
12298
|
+
scores?: double[];
|
|
12234
12299
|
};
|
|
12235
12300
|
}
|
|
12236
12301
|
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
@@ -12280,6 +12345,7 @@ export interface MlStartDatafeedResponse {
|
|
|
12280
12345
|
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
12281
12346
|
model_id: Id;
|
|
12282
12347
|
cache_size?: ByteSize;
|
|
12348
|
+
deployment_id?: string;
|
|
12283
12349
|
number_of_allocations?: integer;
|
|
12284
12350
|
priority?: MlTrainingPriority;
|
|
12285
12351
|
queue_capacity?: integer;
|
|
@@ -12356,6 +12422,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12356
12422
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12357
12423
|
frequency?: Duration;
|
|
12358
12424
|
indices?: string[];
|
|
12425
|
+
/** @alias indices */
|
|
12359
12426
|
indexes?: string[];
|
|
12360
12427
|
indices_options?: IndicesOptions;
|
|
12361
12428
|
job_id?: Id;
|
|
@@ -13285,6 +13352,57 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13285
13352
|
cluster_name: Name;
|
|
13286
13353
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13287
13354
|
}
|
|
13355
|
+
export interface QueryRulesetQueryRule {
|
|
13356
|
+
rule_id: Id;
|
|
13357
|
+
type: QueryRulesetQueryRuleType;
|
|
13358
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13359
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13360
|
+
}
|
|
13361
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13362
|
+
ids?: Id[];
|
|
13363
|
+
docs?: QueryDslPinnedDoc[];
|
|
13364
|
+
}
|
|
13365
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13366
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13367
|
+
metadata: string;
|
|
13368
|
+
values?: any[];
|
|
13369
|
+
}
|
|
13370
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13371
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13372
|
+
export interface QueryRulesetQueryRuleset {
|
|
13373
|
+
ruleset_id: Id;
|
|
13374
|
+
rules: QueryRulesetQueryRule[];
|
|
13375
|
+
}
|
|
13376
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13377
|
+
ruleset_id: Id;
|
|
13378
|
+
}
|
|
13379
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13380
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13381
|
+
ruleset_id: Id;
|
|
13382
|
+
}
|
|
13383
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13384
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13385
|
+
ruleset_id: Id;
|
|
13386
|
+
rules_count: integer;
|
|
13387
|
+
}
|
|
13388
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13389
|
+
from?: integer;
|
|
13390
|
+
size?: integer;
|
|
13391
|
+
}
|
|
13392
|
+
export interface QueryRulesetListResponse {
|
|
13393
|
+
count: long;
|
|
13394
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13395
|
+
}
|
|
13396
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13397
|
+
ruleset_id: Id;
|
|
13398
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13399
|
+
body?: {
|
|
13400
|
+
rules: QueryRulesetQueryRule[];
|
|
13401
|
+
};
|
|
13402
|
+
}
|
|
13403
|
+
export interface QueryRulesetPutResponse {
|
|
13404
|
+
result: Result;
|
|
13405
|
+
}
|
|
13288
13406
|
export interface RollupDateHistogramGrouping {
|
|
13289
13407
|
delay?: Duration;
|
|
13290
13408
|
field: Field;
|
|
@@ -13417,6 +13535,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13417
13535
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13418
13536
|
body?: {
|
|
13419
13537
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13538
|
+
/** @alias aggregations */
|
|
13420
13539
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13421
13540
|
query?: QueryDslQueryContainer;
|
|
13422
13541
|
size?: integer;
|
|
@@ -14869,6 +14988,74 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14869
14988
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14870
14989
|
}
|
|
14871
14990
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14991
|
+
export interface SynonymsSynonymRule {
|
|
14992
|
+
id?: Id;
|
|
14993
|
+
synonyms: SynonymsSynonymString;
|
|
14994
|
+
}
|
|
14995
|
+
export interface SynonymsSynonymRuleRead {
|
|
14996
|
+
id: Id;
|
|
14997
|
+
synonyms: SynonymsSynonymString;
|
|
14998
|
+
}
|
|
14999
|
+
export type SynonymsSynonymString = string;
|
|
15000
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
15001
|
+
result: Result;
|
|
15002
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15003
|
+
}
|
|
15004
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
15005
|
+
id: Id;
|
|
15006
|
+
}
|
|
15007
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
15008
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
15009
|
+
set_id: Id;
|
|
15010
|
+
rule_id: Id;
|
|
15011
|
+
}
|
|
15012
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
15013
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
15014
|
+
id: Id;
|
|
15015
|
+
from?: integer;
|
|
15016
|
+
size?: integer;
|
|
15017
|
+
}
|
|
15018
|
+
export interface SynonymsGetSynonymResponse {
|
|
15019
|
+
count: integer;
|
|
15020
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
15021
|
+
}
|
|
15022
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
15023
|
+
set_id: Id;
|
|
15024
|
+
rule_id: Id;
|
|
15025
|
+
}
|
|
15026
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
15027
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
15028
|
+
from?: integer;
|
|
15029
|
+
size?: integer;
|
|
15030
|
+
}
|
|
15031
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
15032
|
+
count: integer;
|
|
15033
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
15034
|
+
}
|
|
15035
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
15036
|
+
synonyms_set: Id;
|
|
15037
|
+
count: integer;
|
|
15038
|
+
}
|
|
15039
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
15040
|
+
id: Id;
|
|
15041
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15042
|
+
body?: {
|
|
15043
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
15044
|
+
};
|
|
15045
|
+
}
|
|
15046
|
+
export interface SynonymsPutSynonymResponse {
|
|
15047
|
+
result: Result;
|
|
15048
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
15049
|
+
}
|
|
15050
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15051
|
+
set_id: Id;
|
|
15052
|
+
rule_id: Id;
|
|
15053
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15054
|
+
body?: {
|
|
15055
|
+
synonyms: SynonymsSynonymString[];
|
|
15056
|
+
};
|
|
15057
|
+
}
|
|
15058
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14872
15059
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14873
15060
|
export interface TasksNodeTasks {
|
|
14874
15061
|
name?: NodeId;
|
|
@@ -14893,7 +15080,7 @@ export interface TasksTaskInfo {
|
|
|
14893
15080
|
running_time?: Duration;
|
|
14894
15081
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14895
15082
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14896
|
-
status?:
|
|
15083
|
+
status?: any;
|
|
14897
15084
|
type: string;
|
|
14898
15085
|
parent_task_id?: TaskId;
|
|
14899
15086
|
}
|
|
@@ -14904,25 +15091,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14904
15091
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14905
15092
|
tasks?: TasksTaskInfos;
|
|
14906
15093
|
}
|
|
14907
|
-
export interface TasksTaskStatus {
|
|
14908
|
-
batches: long;
|
|
14909
|
-
canceled?: string;
|
|
14910
|
-
created: long;
|
|
14911
|
-
deleted: long;
|
|
14912
|
-
noops: long;
|
|
14913
|
-
failures?: string[];
|
|
14914
|
-
requests_per_second: float;
|
|
14915
|
-
retries: Retries;
|
|
14916
|
-
throttled?: Duration;
|
|
14917
|
-
throttled_millis: DurationValue<UnitMillis>;
|
|
14918
|
-
throttled_until?: Duration;
|
|
14919
|
-
throttled_until_millis: DurationValue<UnitMillis>;
|
|
14920
|
-
timed_out?: boolean;
|
|
14921
|
-
took?: DurationValue<UnitMillis>;
|
|
14922
|
-
total: long;
|
|
14923
|
-
updated: long;
|
|
14924
|
-
version_conflicts: long;
|
|
14925
|
-
}
|
|
14926
15094
|
export interface TasksCancelRequest extends RequestBase {
|
|
14927
15095
|
task_id?: TaskId;
|
|
14928
15096
|
actions?: string | string[];
|
|
@@ -14939,7 +15107,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14939
15107
|
export interface TasksGetResponse {
|
|
14940
15108
|
completed: boolean;
|
|
14941
15109
|
task: TasksTaskInfo;
|
|
14942
|
-
response?:
|
|
15110
|
+
response?: any;
|
|
14943
15111
|
error?: ErrorCause;
|
|
14944
15112
|
}
|
|
14945
15113
|
export interface TasksListRequest extends RequestBase {
|
|
@@ -15059,6 +15227,7 @@ export interface TransformTimeSync {
|
|
|
15059
15227
|
export interface TransformDeleteTransformRequest extends RequestBase {
|
|
15060
15228
|
transform_id: Id;
|
|
15061
15229
|
force?: boolean;
|
|
15230
|
+
delete_dest_index?: boolean;
|
|
15062
15231
|
timeout?: Duration;
|
|
15063
15232
|
}
|
|
15064
15233
|
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|