@elastic/elasticsearch 8.9.0 → 8.10.0
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/.tool-versions +1 -0
- 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/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 +249 -85
- package/lib/api/typesWithBodyKey.d.ts +258 -85
- package/package.json +4 -8
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -2564,11 +2590,19 @@ export interface AggregationsCompositeAggregation extends AggregationsBucketAggr
|
|
|
2564
2590
|
size?: integer;
|
|
2565
2591
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2566
2592
|
}
|
|
2593
|
+
export interface AggregationsCompositeAggregationBase {
|
|
2594
|
+
field?: Field;
|
|
2595
|
+
missing_bucket?: boolean;
|
|
2596
|
+
missing_order?: AggregationsMissingOrder;
|
|
2597
|
+
script?: Script;
|
|
2598
|
+
value_type?: AggregationsValueType;
|
|
2599
|
+
order?: SortOrder;
|
|
2600
|
+
}
|
|
2567
2601
|
export interface AggregationsCompositeAggregationSource {
|
|
2568
|
-
terms?:
|
|
2569
|
-
histogram?:
|
|
2570
|
-
date_histogram?:
|
|
2571
|
-
geotile_grid?:
|
|
2602
|
+
terms?: AggregationsCompositeTermsAggregation;
|
|
2603
|
+
histogram?: AggregationsCompositeHistogramAggregation;
|
|
2604
|
+
date_histogram?: AggregationsCompositeDateHistogramAggregation;
|
|
2605
|
+
geotile_grid?: AggregationsCompositeGeoTileGridAggregation;
|
|
2572
2606
|
}
|
|
2573
2607
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2574
2608
|
key: AggregationsCompositeAggregateKey;
|
|
@@ -2576,6 +2610,22 @@ export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucket
|
|
|
2576
2610
|
export type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2577
2611
|
[property: string]: AggregationsAggregate | AggregationsCompositeAggregateKey | long;
|
|
2578
2612
|
};
|
|
2613
|
+
export interface AggregationsCompositeDateHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2614
|
+
format?: string;
|
|
2615
|
+
calendar_interval?: DurationLarge;
|
|
2616
|
+
fixed_interval?: DurationLarge;
|
|
2617
|
+
offset?: Duration;
|
|
2618
|
+
time_zone?: TimeZone;
|
|
2619
|
+
}
|
|
2620
|
+
export interface AggregationsCompositeGeoTileGridAggregation extends AggregationsCompositeAggregationBase {
|
|
2621
|
+
precision?: integer;
|
|
2622
|
+
bounds?: GeoBounds;
|
|
2623
|
+
}
|
|
2624
|
+
export interface AggregationsCompositeHistogramAggregation extends AggregationsCompositeAggregationBase {
|
|
2625
|
+
interval: double;
|
|
2626
|
+
}
|
|
2627
|
+
export interface AggregationsCompositeTermsAggregation extends AggregationsCompositeAggregationBase {
|
|
2628
|
+
}
|
|
2579
2629
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2580
2630
|
value: long;
|
|
2581
2631
|
value_as_string?: string;
|
|
@@ -2730,8 +2780,8 @@ export type AggregationsFrequentItemSetsBucket = AggregationsFrequentItemSetsBuc
|
|
|
2730
2780
|
};
|
|
2731
2781
|
export interface AggregationsFrequentItemSetsField {
|
|
2732
2782
|
field: Field;
|
|
2733
|
-
exclude?:
|
|
2734
|
-
include?:
|
|
2783
|
+
exclude?: AggregationsTermsExclude;
|
|
2784
|
+
include?: AggregationsTermsInclude;
|
|
2735
2785
|
}
|
|
2736
2786
|
export type AggregationsGapPolicy = 'skip' | 'insert_zeros' | 'keep_values';
|
|
2737
2787
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
@@ -3245,7 +3295,7 @@ export interface AggregationsSignificantTextAggregation extends AggregationsBuck
|
|
|
3245
3295
|
field?: Field;
|
|
3246
3296
|
filter_duplicate_text?: boolean;
|
|
3247
3297
|
gnd?: AggregationsGoogleNormalizedDistanceHeuristic;
|
|
3248
|
-
include?:
|
|
3298
|
+
include?: AggregationsTermsInclude;
|
|
3249
3299
|
jlh?: EmptyObject;
|
|
3250
3300
|
min_doc_count?: long;
|
|
3251
3301
|
mutual_information?: AggregationsMutualInformationHeuristic;
|
|
@@ -3554,7 +3604,7 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3554
3604
|
type: 'elision';
|
|
3555
3605
|
articles?: string[];
|
|
3556
3606
|
articles_path?: string;
|
|
3557
|
-
articles_case?: boolean
|
|
3607
|
+
articles_case?: SpecUtilsStringified<boolean>;
|
|
3558
3608
|
}
|
|
3559
3609
|
export interface AnalysisFingerprintAnalyzer {
|
|
3560
3610
|
type: 'fingerprint';
|
|
@@ -3772,11 +3822,11 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3772
3822
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
3773
3823
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3774
3824
|
type: 'path_hierarchy';
|
|
3775
|
-
buffer_size: integer
|
|
3825
|
+
buffer_size: SpecUtilsStringified<integer>;
|
|
3776
3826
|
delimiter: string;
|
|
3777
3827
|
replacement: string;
|
|
3778
|
-
reverse: boolean
|
|
3779
|
-
skip: integer
|
|
3828
|
+
reverse: SpecUtilsStringified<boolean>;
|
|
3829
|
+
skip: SpecUtilsStringified<integer>;
|
|
3780
3830
|
}
|
|
3781
3831
|
export interface AnalysisPatternAnalyzer {
|
|
3782
3832
|
type: 'pattern';
|
|
@@ -3806,9 +3856,9 @@ export interface AnalysisPatternReplaceTokenFilter extends AnalysisTokenFilterBa
|
|
|
3806
3856
|
}
|
|
3807
3857
|
export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
3808
3858
|
type: 'pattern';
|
|
3809
|
-
flags
|
|
3810
|
-
group
|
|
3811
|
-
pattern
|
|
3859
|
+
flags?: string;
|
|
3860
|
+
group?: integer;
|
|
3861
|
+
pattern?: string;
|
|
3812
3862
|
}
|
|
3813
3863
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3814
3864
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
@@ -4541,7 +4591,7 @@ export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
|
4541
4591
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4542
4592
|
}
|
|
4543
4593
|
export interface QueryDslGeoDistanceQueryKeys extends QueryDslQueryBase {
|
|
4544
|
-
distance
|
|
4594
|
+
distance: Distance;
|
|
4545
4595
|
distance_type?: GeoDistanceType;
|
|
4546
4596
|
validation_method?: QueryDslGeoValidationMethod;
|
|
4547
4597
|
}
|
|
@@ -4839,6 +4889,7 @@ export interface QueryDslQueryContainer {
|
|
|
4839
4889
|
range?: Partial<Record<Field, QueryDslRangeQuery>>;
|
|
4840
4890
|
rank_feature?: QueryDslRankFeatureQuery;
|
|
4841
4891
|
regexp?: Partial<Record<Field, QueryDslRegexpQuery | string>>;
|
|
4892
|
+
rule_query?: QueryDslRuleQuery;
|
|
4842
4893
|
script?: QueryDslScriptQuery;
|
|
4843
4894
|
script_score?: QueryDslScriptScoreQuery;
|
|
4844
4895
|
shape?: QueryDslShapeQuery;
|
|
@@ -4855,7 +4906,7 @@ export interface QueryDslQueryContainer {
|
|
|
4855
4906
|
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>;
|
|
4856
4907
|
terms?: QueryDslTermsQuery;
|
|
4857
4908
|
terms_set?: Partial<Record<Field, QueryDslTermsSetQuery>>;
|
|
4858
|
-
text_expansion?: QueryDslTextExpansionQuery
|
|
4909
|
+
text_expansion?: Partial<Record<Field, QueryDslTextExpansionQuery>>;
|
|
4859
4910
|
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>;
|
|
4860
4911
|
wrapper?: QueryDslWrapperQuery;
|
|
4861
4912
|
type?: QueryDslTypeQuery;
|
|
@@ -4924,6 +4975,11 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
4924
4975
|
rewrite?: MultiTermQueryRewrite;
|
|
4925
4976
|
value: string;
|
|
4926
4977
|
}
|
|
4978
|
+
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
4979
|
+
organic: QueryDslQueryContainer;
|
|
4980
|
+
ruleset_id: Id;
|
|
4981
|
+
match_criteria: any;
|
|
4982
|
+
}
|
|
4927
4983
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
4928
4984
|
script: Script;
|
|
4929
4985
|
}
|
|
@@ -4946,8 +5002,8 @@ export interface QueryDslShapeQueryKeys extends QueryDslQueryBase {
|
|
|
4946
5002
|
export type QueryDslShapeQuery = QueryDslShapeQueryKeys & {
|
|
4947
5003
|
[property: string]: QueryDslShapeFieldQuery | boolean | float | string;
|
|
4948
5004
|
};
|
|
4949
|
-
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | '
|
|
4950
|
-
export type QueryDslSimpleQueryStringFlags = QueryDslSimpleQueryStringFlag
|
|
5005
|
+
export type QueryDslSimpleQueryStringFlag = 'NONE' | 'AND' | 'NOT' | 'OR' | 'PREFIX' | 'PHRASE' | 'PRECEDENCE' | 'ESCAPE' | 'WHITESPACE' | 'FUZZY' | 'NEAR' | 'SLOP' | 'ALL';
|
|
5006
|
+
export type QueryDslSimpleQueryStringFlags = SpecUtilsPipeSeparatedFlags<QueryDslSimpleQueryStringFlag>;
|
|
4951
5007
|
export interface QueryDslSimpleQueryStringQuery extends QueryDslQueryBase {
|
|
4952
5008
|
analyzer?: string;
|
|
4953
5009
|
analyze_wildcard?: boolean;
|
|
@@ -5035,7 +5091,6 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
5035
5091
|
terms: string[];
|
|
5036
5092
|
}
|
|
5037
5093
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
5038
|
-
value: Field;
|
|
5039
5094
|
model_id: string;
|
|
5040
5095
|
model_text: string;
|
|
5041
5096
|
}
|
|
@@ -5080,6 +5135,8 @@ export interface AsyncSearchAsyncSearchResponseBase {
|
|
|
5080
5135
|
expiration_time_in_millis: EpochTime<UnitMillis>;
|
|
5081
5136
|
start_time?: DateTime;
|
|
5082
5137
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
5138
|
+
completion_time?: DateTime;
|
|
5139
|
+
completion_time_in_millis?: EpochTime<UnitMillis>;
|
|
5083
5140
|
}
|
|
5084
5141
|
export interface AsyncSearchDeleteRequest extends RequestBase {
|
|
5085
5142
|
id: Id;
|
|
@@ -5098,6 +5155,7 @@ export interface AsyncSearchStatusRequest extends RequestBase {
|
|
|
5098
5155
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5099
5156
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
5100
5157
|
_shards: ShardStatistics;
|
|
5158
|
+
_clusters?: ClusterStatistics;
|
|
5101
5159
|
completion_status?: integer;
|
|
5102
5160
|
}
|
|
5103
5161
|
export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
@@ -5137,6 +5195,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5137
5195
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
5138
5196
|
body?: {
|
|
5139
5197
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
5198
|
+
/** @alias aggregations */
|
|
5140
5199
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
5141
5200
|
collapse?: SearchFieldCollapse;
|
|
5142
5201
|
explain?: boolean;
|
|
@@ -6732,7 +6791,7 @@ export interface CatTasksRequest extends CatCatRequestBase {
|
|
|
6732
6791
|
actions?: string[];
|
|
6733
6792
|
detailed?: boolean;
|
|
6734
6793
|
node_id?: string[];
|
|
6735
|
-
|
|
6794
|
+
parent_task_id?: string;
|
|
6736
6795
|
}
|
|
6737
6796
|
export type CatTasksResponse = CatTasksTasksRecord[];
|
|
6738
6797
|
export interface CatTasksTasksRecord {
|
|
@@ -7270,9 +7329,9 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7270
7329
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7271
7330
|
name?: Name;
|
|
7272
7331
|
flat_settings?: boolean;
|
|
7332
|
+
include_defaults?: boolean;
|
|
7273
7333
|
local?: boolean;
|
|
7274
7334
|
master_timeout?: Duration;
|
|
7275
|
-
include_defaults?: boolean;
|
|
7276
7335
|
}
|
|
7277
7336
|
export interface ClusterGetComponentTemplateResponse {
|
|
7278
7337
|
component_templates: ClusterComponentTemplate[];
|
|
@@ -7378,10 +7437,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7378
7437
|
master_timeout?: Duration;
|
|
7379
7438
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7380
7439
|
body?: {
|
|
7440
|
+
allow_auto_create?: boolean;
|
|
7381
7441
|
template: IndicesIndexState;
|
|
7382
7442
|
version?: VersionNumber;
|
|
7383
7443
|
_meta?: Metadata;
|
|
7384
|
-
allow_auto_create?: boolean;
|
|
7385
7444
|
};
|
|
7386
7445
|
}
|
|
7387
7446
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7502,14 +7561,14 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
7502
7561
|
}
|
|
7503
7562
|
export type ClusterStateResponse = any;
|
|
7504
7563
|
export interface ClusterStatsCharFilterTypes {
|
|
7505
|
-
char_filter_types: ClusterStatsFieldTypes[];
|
|
7506
|
-
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7507
|
-
filter_types: ClusterStatsFieldTypes[];
|
|
7508
7564
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
7565
|
+
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
7509
7566
|
built_in_char_filters: ClusterStatsFieldTypes[];
|
|
7510
|
-
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7511
7567
|
built_in_filters: ClusterStatsFieldTypes[];
|
|
7512
|
-
|
|
7568
|
+
built_in_tokenizers: ClusterStatsFieldTypes[];
|
|
7569
|
+
char_filter_types: ClusterStatsFieldTypes[];
|
|
7570
|
+
filter_types: ClusterStatsFieldTypes[];
|
|
7571
|
+
tokenizer_types: ClusterStatsFieldTypes[];
|
|
7513
7572
|
}
|
|
7514
7573
|
export interface ClusterStatsClusterFileSystem {
|
|
7515
7574
|
available_in_bytes: long;
|
|
@@ -7517,6 +7576,7 @@ export interface ClusterStatsClusterFileSystem {
|
|
|
7517
7576
|
total_in_bytes: long;
|
|
7518
7577
|
}
|
|
7519
7578
|
export interface ClusterStatsClusterIndices {
|
|
7579
|
+
analysis: ClusterStatsCharFilterTypes;
|
|
7520
7580
|
completion: CompletionStats;
|
|
7521
7581
|
count: long;
|
|
7522
7582
|
docs: DocStats;
|
|
@@ -7526,7 +7586,6 @@ export interface ClusterStatsClusterIndices {
|
|
|
7526
7586
|
shards: ClusterStatsClusterIndicesShards;
|
|
7527
7587
|
store: StoreStats;
|
|
7528
7588
|
mappings: ClusterStatsFieldTypesMappings;
|
|
7529
|
-
analysis: ClusterStatsCharFilterTypes;
|
|
7530
7589
|
versions?: ClusterStatsIndicesVersions[];
|
|
7531
7590
|
}
|
|
7532
7591
|
export interface ClusterStatsClusterIndicesShards {
|
|
@@ -7570,23 +7629,24 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
7570
7629
|
export interface ClusterStatsClusterNodeCount {
|
|
7571
7630
|
coordinating_only: integer;
|
|
7572
7631
|
data: integer;
|
|
7573
|
-
ingest: integer;
|
|
7574
|
-
master: integer;
|
|
7575
|
-
total: integer;
|
|
7576
|
-
voting_only: integer;
|
|
7577
7632
|
data_cold: integer;
|
|
7578
|
-
data_frozen?: integer;
|
|
7579
7633
|
data_content: integer;
|
|
7580
|
-
|
|
7634
|
+
data_frozen?: integer;
|
|
7581
7635
|
data_hot: integer;
|
|
7636
|
+
data_warm: integer;
|
|
7637
|
+
ingest: integer;
|
|
7638
|
+
master: integer;
|
|
7582
7639
|
ml: integer;
|
|
7583
7640
|
remote_cluster_client: integer;
|
|
7641
|
+
total: integer;
|
|
7584
7642
|
transform: integer;
|
|
7643
|
+
voting_only: integer;
|
|
7585
7644
|
}
|
|
7586
7645
|
export interface ClusterStatsClusterNodes {
|
|
7587
7646
|
count: ClusterStatsClusterNodeCount;
|
|
7588
7647
|
discovery_types: Record<string, integer>;
|
|
7589
7648
|
fs: ClusterStatsClusterFileSystem;
|
|
7649
|
+
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7590
7650
|
ingest: ClusterStatsClusterIngest;
|
|
7591
7651
|
jvm: ClusterStatsClusterJvm;
|
|
7592
7652
|
network_types: ClusterStatsClusterNetworkTypes;
|
|
@@ -7595,19 +7655,18 @@ export interface ClusterStatsClusterNodes {
|
|
|
7595
7655
|
plugins: PluginStats[];
|
|
7596
7656
|
process: ClusterStatsClusterProcess;
|
|
7597
7657
|
versions: VersionString[];
|
|
7598
|
-
indexing_pressure: ClusterStatsIndexingPressure;
|
|
7599
7658
|
}
|
|
7600
7659
|
export interface ClusterStatsClusterOperatingSystem {
|
|
7601
7660
|
allocated_processors: integer;
|
|
7661
|
+
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7602
7662
|
available_processors: integer;
|
|
7603
7663
|
mem: ClusterStatsOperatingSystemMemoryInfo;
|
|
7604
7664
|
names: ClusterStatsClusterOperatingSystemName[];
|
|
7605
7665
|
pretty_names: ClusterStatsClusterOperatingSystemPrettyName[];
|
|
7606
|
-
architectures?: ClusterStatsClusterOperatingSystemArchitecture[];
|
|
7607
7666
|
}
|
|
7608
7667
|
export interface ClusterStatsClusterOperatingSystemArchitecture {
|
|
7609
|
-
count: integer;
|
|
7610
7668
|
arch: string;
|
|
7669
|
+
count: integer;
|
|
7611
7670
|
}
|
|
7612
7671
|
export interface ClusterStatsClusterOperatingSystemName {
|
|
7613
7672
|
count: integer;
|
|
@@ -7662,8 +7721,8 @@ export interface ClusterStatsIndexingPressure {
|
|
|
7662
7721
|
memory: ClusterStatsIndexingPressureMemory;
|
|
7663
7722
|
}
|
|
7664
7723
|
export interface ClusterStatsIndexingPressureMemory {
|
|
7665
|
-
limit_in_bytes: long;
|
|
7666
7724
|
current: ClusterStatsIndexingPressureMemorySummary;
|
|
7725
|
+
limit_in_bytes: long;
|
|
7667
7726
|
total: ClusterStatsIndexingPressureMemorySummary;
|
|
7668
7727
|
}
|
|
7669
7728
|
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
@@ -7688,12 +7747,12 @@ export interface ClusterStatsNodePackagingType {
|
|
|
7688
7747
|
type: string;
|
|
7689
7748
|
}
|
|
7690
7749
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
7750
|
+
adjusted_total_in_bytes?: long;
|
|
7691
7751
|
free_in_bytes: long;
|
|
7692
7752
|
free_percent: integer;
|
|
7693
7753
|
total_in_bytes: long;
|
|
7694
7754
|
used_in_bytes: long;
|
|
7695
7755
|
used_percent: integer;
|
|
7696
|
-
adjusted_total_in_bytes?: long;
|
|
7697
7756
|
}
|
|
7698
7757
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7699
7758
|
node_id?: NodeIds;
|
|
@@ -7702,20 +7761,20 @@ export interface ClusterStatsRequest extends RequestBase {
|
|
|
7702
7761
|
}
|
|
7703
7762
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
7704
7763
|
export interface ClusterStatsRuntimeFieldTypes {
|
|
7705
|
-
|
|
7764
|
+
chars_max: integer;
|
|
7765
|
+
chars_total: integer;
|
|
7706
7766
|
count: integer;
|
|
7767
|
+
doc_max: integer;
|
|
7768
|
+
doc_total: integer;
|
|
7707
7769
|
index_count: integer;
|
|
7708
|
-
scriptless_count: integer;
|
|
7709
|
-
shadowed_count: integer;
|
|
7710
7770
|
lang: string[];
|
|
7711
7771
|
lines_max: integer;
|
|
7712
7772
|
lines_total: integer;
|
|
7713
|
-
|
|
7714
|
-
|
|
7773
|
+
name: Name;
|
|
7774
|
+
scriptless_count: integer;
|
|
7775
|
+
shadowed_count: integer;
|
|
7715
7776
|
source_max: integer;
|
|
7716
7777
|
source_total: integer;
|
|
7717
|
-
doc_max: integer;
|
|
7718
|
-
doc_total: integer;
|
|
7719
7778
|
}
|
|
7720
7779
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
7721
7780
|
cluster_name: Name;
|
|
@@ -7970,6 +8029,7 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
7970
8029
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7971
8030
|
body?: {
|
|
7972
8031
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
8032
|
+
/** @alias aggregations */
|
|
7973
8033
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
7974
8034
|
collapse?: SearchFieldCollapse;
|
|
7975
8035
|
explain?: boolean;
|
|
@@ -8261,19 +8321,19 @@ export interface IndicesDataLifecycleWithRollover {
|
|
|
8261
8321
|
rollover?: IndicesDlmRolloverConditions;
|
|
8262
8322
|
}
|
|
8263
8323
|
export interface IndicesDataStream {
|
|
8264
|
-
|
|
8265
|
-
|
|
8266
|
-
indices: IndicesDataStreamIndex[];
|
|
8324
|
+
_meta?: Metadata;
|
|
8325
|
+
allow_custom_routing?: boolean;
|
|
8267
8326
|
generation: integer;
|
|
8268
|
-
template: Name;
|
|
8269
8327
|
hidden: boolean;
|
|
8270
|
-
replicated?: boolean;
|
|
8271
|
-
system?: boolean;
|
|
8272
|
-
status: HealthStatus;
|
|
8273
8328
|
ilm_policy?: Name;
|
|
8274
|
-
|
|
8275
|
-
allow_custom_routing?: boolean;
|
|
8329
|
+
indices: IndicesDataStreamIndex[];
|
|
8276
8330
|
lifecycle?: IndicesDataLifecycleWithRollover;
|
|
8331
|
+
name: DataStreamName;
|
|
8332
|
+
replicated?: boolean;
|
|
8333
|
+
status: HealthStatus;
|
|
8334
|
+
system?: boolean;
|
|
8335
|
+
template: Name;
|
|
8336
|
+
timestamp_field: IndicesDataStreamTimestampField;
|
|
8277
8337
|
}
|
|
8278
8338
|
export interface IndicesDataStreamIndex {
|
|
8279
8339
|
index_name: IndexName;
|
|
@@ -8399,7 +8459,7 @@ export interface IndicesIndexSettingsKeys {
|
|
|
8399
8459
|
queries?: IndicesQueries;
|
|
8400
8460
|
similarity?: IndicesSettingsSimilarity;
|
|
8401
8461
|
mapping?: IndicesMappingLimitSettings;
|
|
8402
|
-
'indexing.slowlog'?:
|
|
8462
|
+
'indexing.slowlog'?: IndicesIndexingSlowlogSettings;
|
|
8403
8463
|
indexing_pressure?: IndicesIndexingPressure;
|
|
8404
8464
|
store?: IndicesStorage;
|
|
8405
8465
|
}
|
|
@@ -8466,6 +8526,15 @@ export interface IndicesIndexingPressure {
|
|
|
8466
8526
|
export interface IndicesIndexingPressureMemory {
|
|
8467
8527
|
limit?: integer;
|
|
8468
8528
|
}
|
|
8529
|
+
export interface IndicesIndexingSlowlogSettings {
|
|
8530
|
+
level?: string;
|
|
8531
|
+
source?: integer;
|
|
8532
|
+
reformat?: boolean;
|
|
8533
|
+
threshold?: IndicesIndexingSlowlogTresholds;
|
|
8534
|
+
}
|
|
8535
|
+
export interface IndicesIndexingSlowlogTresholds {
|
|
8536
|
+
index?: IndicesSlowlogTresholdLevels;
|
|
8537
|
+
}
|
|
8469
8538
|
export interface IndicesMappingLimitSettings {
|
|
8470
8539
|
coerce?: boolean;
|
|
8471
8540
|
total_fields?: IndicesMappingLimitSettingsTotalFields;
|
|
@@ -8588,7 +8657,6 @@ export interface IndicesSlowlogTresholdLevels {
|
|
|
8588
8657
|
export interface IndicesSlowlogTresholds {
|
|
8589
8658
|
query?: IndicesSlowlogTresholdLevels;
|
|
8590
8659
|
fetch?: IndicesSlowlogTresholdLevels;
|
|
8591
|
-
index?: IndicesSlowlogTresholdLevels;
|
|
8592
8660
|
}
|
|
8593
8661
|
export interface IndicesSoftDeletes {
|
|
8594
8662
|
enabled?: boolean;
|
|
@@ -8771,9 +8839,9 @@ export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
|
8771
8839
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
8772
8840
|
backing_indices: integer;
|
|
8773
8841
|
data_stream: Name;
|
|
8842
|
+
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8774
8843
|
store_size?: ByteSize;
|
|
8775
8844
|
store_size_bytes: integer;
|
|
8776
|
-
maximum_timestamp: EpochTime<UnitMillis>;
|
|
8777
8845
|
}
|
|
8778
8846
|
export interface IndicesDataStreamsStatsRequest extends RequestBase {
|
|
8779
8847
|
name?: IndexName;
|
|
@@ -8783,9 +8851,9 @@ export interface IndicesDataStreamsStatsResponse {
|
|
|
8783
8851
|
_shards: ShardStatistics;
|
|
8784
8852
|
backing_indices: integer;
|
|
8785
8853
|
data_stream_count: integer;
|
|
8854
|
+
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8786
8855
|
total_store_sizes?: ByteSize;
|
|
8787
8856
|
total_store_size_bytes: integer;
|
|
8788
|
-
data_streams: IndicesDataStreamsStatsDataStreamsStatsItem[];
|
|
8789
8857
|
}
|
|
8790
8858
|
export interface IndicesDeleteRequest extends RequestBase {
|
|
8791
8859
|
index: Indices;
|
|
@@ -9079,8 +9147,8 @@ export interface IndicesModifyDataStreamAction {
|
|
|
9079
9147
|
remove_backing_index?: IndicesModifyDataStreamIndexAndDataStreamAction;
|
|
9080
9148
|
}
|
|
9081
9149
|
export interface IndicesModifyDataStreamIndexAndDataStreamAction {
|
|
9082
|
-
index: IndexName;
|
|
9083
9150
|
data_stream: DataStreamName;
|
|
9151
|
+
index: IndexName;
|
|
9084
9152
|
}
|
|
9085
9153
|
export interface IndicesModifyDataStreamRequest extends RequestBase {
|
|
9086
9154
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -9314,16 +9382,17 @@ export interface IndicesReloadSearchAnalyzersReloadDetails {
|
|
|
9314
9382
|
reloaded_analyzers: string[];
|
|
9315
9383
|
reloaded_node_ids: string[];
|
|
9316
9384
|
}
|
|
9385
|
+
export interface IndicesReloadSearchAnalyzersReloadResult {
|
|
9386
|
+
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9387
|
+
_shards: ShardStatistics;
|
|
9388
|
+
}
|
|
9317
9389
|
export interface IndicesReloadSearchAnalyzersRequest extends RequestBase {
|
|
9318
9390
|
index: Indices;
|
|
9319
9391
|
allow_no_indices?: boolean;
|
|
9320
9392
|
expand_wildcards?: ExpandWildcards;
|
|
9321
9393
|
ignore_unavailable?: boolean;
|
|
9322
9394
|
}
|
|
9323
|
-
export
|
|
9324
|
-
reload_details: IndicesReloadSearchAnalyzersReloadDetails[];
|
|
9325
|
-
_shards: ShardStatistics;
|
|
9326
|
-
}
|
|
9395
|
+
export type IndicesReloadSearchAnalyzersResponse = IndicesReloadSearchAnalyzersReloadResult;
|
|
9327
9396
|
export interface IndicesResolveIndexRequest extends RequestBase {
|
|
9328
9397
|
name: Names;
|
|
9329
9398
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10796,6 +10865,7 @@ export interface MlDiscoveryNode {
|
|
|
10796
10865
|
}
|
|
10797
10866
|
export type MlExcludeFrequent = 'all' | 'none' | 'by' | 'over';
|
|
10798
10867
|
export interface MlFillMaskInferenceOptions {
|
|
10868
|
+
mask_token?: string;
|
|
10799
10869
|
num_top_classes?: integer;
|
|
10800
10870
|
tokenization?: MlTokenizationConfigContainer;
|
|
10801
10871
|
results_field?: string;
|
|
@@ -12033,6 +12103,7 @@ export interface MlPutDatafeedRequest extends RequestBase {
|
|
|
12033
12103
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12034
12104
|
frequency?: Duration;
|
|
12035
12105
|
indices?: Indices;
|
|
12106
|
+
/** @alias indices */
|
|
12036
12107
|
indexes?: Indices;
|
|
12037
12108
|
indices_options?: IndicesOptions;
|
|
12038
12109
|
job_id?: Id;
|
|
@@ -12348,6 +12419,7 @@ export interface MlUpdateDatafeedRequest extends RequestBase {
|
|
|
12348
12419
|
delayed_data_check_config?: MlDelayedDataCheckConfig;
|
|
12349
12420
|
frequency?: Duration;
|
|
12350
12421
|
indices?: string[];
|
|
12422
|
+
/** @alias indices */
|
|
12351
12423
|
indexes?: string[];
|
|
12352
12424
|
indices_options?: IndicesOptions;
|
|
12353
12425
|
job_id?: Id;
|
|
@@ -13277,6 +13349,57 @@ export interface NodesUsageResponseBase extends NodesNodesResponseBase {
|
|
|
13277
13349
|
cluster_name: Name;
|
|
13278
13350
|
nodes: Record<string, NodesUsageNodeUsage>;
|
|
13279
13351
|
}
|
|
13352
|
+
export interface QueryRulesetQueryRule {
|
|
13353
|
+
rule_id: Id;
|
|
13354
|
+
type: QueryRulesetQueryRuleType;
|
|
13355
|
+
criteria: QueryRulesetQueryRuleCriteria[];
|
|
13356
|
+
actions: QueryRulesetQueryRuleActions;
|
|
13357
|
+
}
|
|
13358
|
+
export interface QueryRulesetQueryRuleActions {
|
|
13359
|
+
ids?: Id[];
|
|
13360
|
+
docs?: QueryDslPinnedDoc[];
|
|
13361
|
+
}
|
|
13362
|
+
export interface QueryRulesetQueryRuleCriteria {
|
|
13363
|
+
type: QueryRulesetQueryRuleCriteriaType;
|
|
13364
|
+
metadata: string;
|
|
13365
|
+
values?: any[];
|
|
13366
|
+
}
|
|
13367
|
+
export type QueryRulesetQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte';
|
|
13368
|
+
export type QueryRulesetQueryRuleType = 'pinned';
|
|
13369
|
+
export interface QueryRulesetQueryRuleset {
|
|
13370
|
+
ruleset_id: Id;
|
|
13371
|
+
rules: QueryRulesetQueryRule[];
|
|
13372
|
+
}
|
|
13373
|
+
export interface QueryRulesetDeleteRequest extends RequestBase {
|
|
13374
|
+
ruleset_id: Id;
|
|
13375
|
+
}
|
|
13376
|
+
export type QueryRulesetDeleteResponse = AcknowledgedResponseBase;
|
|
13377
|
+
export interface QueryRulesetGetRequest extends RequestBase {
|
|
13378
|
+
ruleset_id: Id;
|
|
13379
|
+
}
|
|
13380
|
+
export type QueryRulesetGetResponse = QueryRulesetQueryRuleset;
|
|
13381
|
+
export interface QueryRulesetListQueryRulesetListItem {
|
|
13382
|
+
ruleset_id: Id;
|
|
13383
|
+
rules_count: integer;
|
|
13384
|
+
}
|
|
13385
|
+
export interface QueryRulesetListRequest extends RequestBase {
|
|
13386
|
+
from?: integer;
|
|
13387
|
+
size?: integer;
|
|
13388
|
+
}
|
|
13389
|
+
export interface QueryRulesetListResponse {
|
|
13390
|
+
count: long;
|
|
13391
|
+
results: QueryRulesetListQueryRulesetListItem[];
|
|
13392
|
+
}
|
|
13393
|
+
export interface QueryRulesetPutRequest extends RequestBase {
|
|
13394
|
+
ruleset_id: Id;
|
|
13395
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13396
|
+
body?: {
|
|
13397
|
+
rules: QueryRulesetQueryRule[];
|
|
13398
|
+
};
|
|
13399
|
+
}
|
|
13400
|
+
export interface QueryRulesetPutResponse {
|
|
13401
|
+
result: Result;
|
|
13402
|
+
}
|
|
13280
13403
|
export interface RollupDateHistogramGrouping {
|
|
13281
13404
|
delay?: Duration;
|
|
13282
13405
|
field: Field;
|
|
@@ -13409,6 +13532,7 @@ export interface RollupRollupSearchRequest extends RequestBase {
|
|
|
13409
13532
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13410
13533
|
body?: {
|
|
13411
13534
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
13535
|
+
/** @alias aggregations */
|
|
13412
13536
|
aggs?: Record<string, AggregationsAggregationContainer>;
|
|
13413
13537
|
query?: QueryDslQueryContainer;
|
|
13414
13538
|
size?: integer;
|
|
@@ -14861,6 +14985,74 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14861
14985
|
export interface SslCertificatesRequest extends RequestBase {
|
|
14862
14986
|
}
|
|
14863
14987
|
export type SslCertificatesResponse = SslCertificatesCertificateInformation[];
|
|
14988
|
+
export interface SynonymsSynonymRule {
|
|
14989
|
+
id?: Id;
|
|
14990
|
+
synonyms: SynonymsSynonymString;
|
|
14991
|
+
}
|
|
14992
|
+
export interface SynonymsSynonymRuleRead {
|
|
14993
|
+
id: Id;
|
|
14994
|
+
synonyms: SynonymsSynonymString;
|
|
14995
|
+
}
|
|
14996
|
+
export type SynonymsSynonymString = string;
|
|
14997
|
+
export interface SynonymsSynonymsUpdateResult {
|
|
14998
|
+
result: Result;
|
|
14999
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15000
|
+
}
|
|
15001
|
+
export interface SynonymsDeleteSynonymRequest extends RequestBase {
|
|
15002
|
+
id: Id;
|
|
15003
|
+
}
|
|
15004
|
+
export type SynonymsDeleteSynonymResponse = AcknowledgedResponseBase;
|
|
15005
|
+
export interface SynonymsDeleteSynonymRuleRequest extends RequestBase {
|
|
15006
|
+
set_id: Id;
|
|
15007
|
+
rule_id: Id;
|
|
15008
|
+
}
|
|
15009
|
+
export type SynonymsDeleteSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
15010
|
+
export interface SynonymsGetSynonymRequest extends RequestBase {
|
|
15011
|
+
id: Id;
|
|
15012
|
+
from?: integer;
|
|
15013
|
+
size?: integer;
|
|
15014
|
+
}
|
|
15015
|
+
export interface SynonymsGetSynonymResponse {
|
|
15016
|
+
count: integer;
|
|
15017
|
+
synonyms_set: SynonymsSynonymRuleRead[];
|
|
15018
|
+
}
|
|
15019
|
+
export interface SynonymsGetSynonymRuleRequest extends RequestBase {
|
|
15020
|
+
set_id: Id;
|
|
15021
|
+
rule_id: Id;
|
|
15022
|
+
}
|
|
15023
|
+
export type SynonymsGetSynonymRuleResponse = SynonymsSynonymRuleRead;
|
|
15024
|
+
export interface SynonymsGetSynonymsSetsRequest extends RequestBase {
|
|
15025
|
+
from?: integer;
|
|
15026
|
+
size?: integer;
|
|
15027
|
+
}
|
|
15028
|
+
export interface SynonymsGetSynonymsSetsResponse {
|
|
15029
|
+
count: integer;
|
|
15030
|
+
results: SynonymsGetSynonymsSetsSynonymsSetItem[];
|
|
15031
|
+
}
|
|
15032
|
+
export interface SynonymsGetSynonymsSetsSynonymsSetItem {
|
|
15033
|
+
synonyms_set: Id;
|
|
15034
|
+
count: integer;
|
|
15035
|
+
}
|
|
15036
|
+
export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
15037
|
+
id: Id;
|
|
15038
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15039
|
+
body?: {
|
|
15040
|
+
synonyms_set: SynonymsSynonymRule[];
|
|
15041
|
+
};
|
|
15042
|
+
}
|
|
15043
|
+
export interface SynonymsPutSynonymResponse {
|
|
15044
|
+
result: Result;
|
|
15045
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadDetails;
|
|
15046
|
+
}
|
|
15047
|
+
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15048
|
+
set_id: Id;
|
|
15049
|
+
rule_id: Id;
|
|
15050
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15051
|
+
body?: {
|
|
15052
|
+
synonyms: SynonymsSynonymString[];
|
|
15053
|
+
};
|
|
15054
|
+
}
|
|
15055
|
+
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14864
15056
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
14865
15057
|
export interface TasksNodeTasks {
|
|
14866
15058
|
name?: NodeId;
|
|
@@ -14885,7 +15077,7 @@ export interface TasksTaskInfo {
|
|
|
14885
15077
|
running_time?: Duration;
|
|
14886
15078
|
running_time_in_nanos: DurationValue<UnitNanos>;
|
|
14887
15079
|
start_time_in_millis: EpochTime<UnitMillis>;
|
|
14888
|
-
status?:
|
|
15080
|
+
status?: any;
|
|
14889
15081
|
type: string;
|
|
14890
15082
|
parent_task_id?: TaskId;
|
|
14891
15083
|
}
|
|
@@ -14896,25 +15088,6 @@ export interface TasksTaskListResponseBase {
|
|
|
14896
15088
|
nodes?: Record<string, TasksNodeTasks>;
|
|
14897
15089
|
tasks?: TasksTaskInfos;
|
|
14898
15090
|
}
|
|
14899
|
-
export interface TasksTaskStatus {
|
|
14900
|
-
batches: long;
|
|
14901
|
-
canceled?: string;
|
|
14902
|
-
created: long;
|
|
14903
|
-
deleted: long;
|
|
14904
|
-
noops: long;
|
|
14905
|
-
failures?: string[];
|
|
14906
|
-
requests_per_second: float;
|
|
14907
|
-
retries: Retries;
|
|
14908
|
-
throttled?: Duration;
|
|
14909
|
-
throttled_millis: DurationValue<UnitMillis>;
|
|
14910
|
-
throttled_until?: Duration;
|
|
14911
|
-
throttled_until_millis: DurationValue<UnitMillis>;
|
|
14912
|
-
timed_out?: boolean;
|
|
14913
|
-
took?: DurationValue<UnitMillis>;
|
|
14914
|
-
total: long;
|
|
14915
|
-
updated: long;
|
|
14916
|
-
version_conflicts: long;
|
|
14917
|
-
}
|
|
14918
15091
|
export interface TasksCancelRequest extends RequestBase {
|
|
14919
15092
|
task_id?: TaskId;
|
|
14920
15093
|
actions?: string | string[];
|
|
@@ -14931,7 +15104,7 @@ export interface TasksGetRequest extends RequestBase {
|
|
|
14931
15104
|
export interface TasksGetResponse {
|
|
14932
15105
|
completed: boolean;
|
|
14933
15106
|
task: TasksTaskInfo;
|
|
14934
|
-
response?:
|
|
15107
|
+
response?: any;
|
|
14935
15108
|
error?: ErrorCause;
|
|
14936
15109
|
}
|
|
14937
15110
|
export interface TasksListRequest extends RequestBase {
|