@elastic/elasticsearch 8.5.0 → 8.6.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/lib/api/api/field_caps.d.ts +3 -3
- package/lib/api/api/field_caps.js +1 -2
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/license.d.ts +3 -3
- package/lib/api/api/license.js +0 -1
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/ml.d.ts +3 -3
- package/lib/api/api/ml.js +1 -1
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/types.d.ts +103 -193
- package/lib/api/typesWithBodyKey.d.ts +103 -193
- package/package.json +4 -4
- package/ye.sh +0 -9
- package/ye2.sh +0 -12
|
@@ -206,7 +206,7 @@ export interface DeleteByQueryResponse {
|
|
|
206
206
|
version_conflicts?: long;
|
|
207
207
|
}
|
|
208
208
|
export interface DeleteByQueryRethrottleRequest extends RequestBase {
|
|
209
|
-
task_id:
|
|
209
|
+
task_id: Id;
|
|
210
210
|
requests_per_second?: float;
|
|
211
211
|
}
|
|
212
212
|
export declare type DeleteByQueryRethrottleResponse = TasksTaskListResponseBase;
|
|
@@ -300,13 +300,13 @@ export interface FieldCapsRequest extends RequestBase {
|
|
|
300
300
|
index?: Indices;
|
|
301
301
|
allow_no_indices?: boolean;
|
|
302
302
|
expand_wildcards?: ExpandWildcards;
|
|
303
|
+
fields: Fields;
|
|
303
304
|
ignore_unavailable?: boolean;
|
|
304
305
|
include_unmapped?: boolean;
|
|
305
306
|
filters?: string;
|
|
306
307
|
types?: string[];
|
|
307
308
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
308
309
|
body?: {
|
|
309
|
-
fields?: Fields;
|
|
310
310
|
index_filter?: QueryDslQueryContainer;
|
|
311
311
|
runtime_mappings?: MappingRuntimeFields;
|
|
312
312
|
};
|
|
@@ -701,7 +701,7 @@ export interface RankEvalRankEvalRequestItem {
|
|
|
701
701
|
params?: Record<string, any>;
|
|
702
702
|
}
|
|
703
703
|
export interface RankEvalRequest extends RequestBase {
|
|
704
|
-
index
|
|
704
|
+
index: Indices;
|
|
705
705
|
allow_no_indices?: boolean;
|
|
706
706
|
expand_wildcards?: ExpandWildcards;
|
|
707
707
|
ignore_unavailable?: boolean;
|
|
@@ -993,13 +993,11 @@ export interface SearchAggregationProfileDebug {
|
|
|
993
993
|
filters?: SearchAggregationProfileDelegateDebugFilter[];
|
|
994
994
|
segments_counted?: integer;
|
|
995
995
|
segments_collected?: integer;
|
|
996
|
-
map_reducer?: string;
|
|
997
996
|
}
|
|
998
997
|
export interface SearchAggregationProfileDelegateDebugFilter {
|
|
999
998
|
results_from_metadata?: integer;
|
|
1000
999
|
query?: string;
|
|
1001
1000
|
specialized_for?: string;
|
|
1002
|
-
segments_counted_in_constant_time?: integer;
|
|
1003
1001
|
}
|
|
1004
1002
|
export declare type SearchBoundaryScanner = 'chars' | 'sentence' | 'word';
|
|
1005
1003
|
export interface SearchCollector {
|
|
@@ -1060,8 +1058,6 @@ export interface SearchFetchProfile {
|
|
|
1060
1058
|
children?: SearchFetchProfile[];
|
|
1061
1059
|
}
|
|
1062
1060
|
export interface SearchFetchProfileBreakdown {
|
|
1063
|
-
load_source?: integer;
|
|
1064
|
-
load_source_count?: integer;
|
|
1065
1061
|
load_stored_fields?: integer;
|
|
1066
1062
|
load_stored_fields_count?: integer;
|
|
1067
1063
|
next_reader?: integer;
|
|
@@ -1117,7 +1113,6 @@ export interface SearchHighlightBase {
|
|
|
1117
1113
|
export interface SearchHighlightField extends SearchHighlightBase {
|
|
1118
1114
|
fragment_offset?: integer;
|
|
1119
1115
|
matched_fields?: Fields;
|
|
1120
|
-
analyzer?: AnalysisAnalyzer;
|
|
1121
1116
|
}
|
|
1122
1117
|
export declare type SearchHighlighterEncoder = 'default' | 'html';
|
|
1123
1118
|
export declare type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
@@ -1202,9 +1197,8 @@ export interface SearchPhraseSuggestHighlight {
|
|
|
1202
1197
|
}
|
|
1203
1198
|
export interface SearchPhraseSuggestOption {
|
|
1204
1199
|
text: string;
|
|
1200
|
+
highlighted: string;
|
|
1205
1201
|
score: double;
|
|
1206
|
-
highlighted?: string;
|
|
1207
|
-
collate_match?: boolean;
|
|
1208
1202
|
}
|
|
1209
1203
|
export interface SearchPhraseSuggester extends SearchSuggesterBase {
|
|
1210
1204
|
collate?: SearchPhraseSuggestCollate;
|
|
@@ -1324,10 +1318,8 @@ export interface SearchTermSuggest extends SearchSuggestBase {
|
|
|
1324
1318
|
}
|
|
1325
1319
|
export interface SearchTermSuggestOption {
|
|
1326
1320
|
text: string;
|
|
1327
|
-
score: double;
|
|
1328
1321
|
freq: long;
|
|
1329
|
-
|
|
1330
|
-
collate_match?: boolean;
|
|
1322
|
+
score: double;
|
|
1331
1323
|
}
|
|
1332
1324
|
export interface SearchTermSuggester extends SearchSuggesterBase {
|
|
1333
1325
|
lowercase_terms?: boolean;
|
|
@@ -1722,7 +1714,7 @@ export interface FieldSort {
|
|
|
1722
1714
|
format?: string;
|
|
1723
1715
|
}
|
|
1724
1716
|
export declare type FieldSortNumericType = 'long' | 'double' | 'date' | 'date_nanos';
|
|
1725
|
-
export declare type FieldValue = long | double | string | boolean |
|
|
1717
|
+
export declare type FieldValue = long | double | string | boolean | any;
|
|
1726
1718
|
export interface FielddataStats {
|
|
1727
1719
|
evictions?: long;
|
|
1728
1720
|
memory_size?: ByteSize;
|
|
@@ -1754,7 +1746,6 @@ export interface GeoHashLocation {
|
|
|
1754
1746
|
geohash: GeoHash;
|
|
1755
1747
|
}
|
|
1756
1748
|
export declare type GeoHashPrecision = number | string;
|
|
1757
|
-
export declare type GeoHexCell = string;
|
|
1758
1749
|
export interface GeoLine {
|
|
1759
1750
|
type: string;
|
|
1760
1751
|
coordinates: double[][];
|
|
@@ -1879,11 +1870,10 @@ export interface NestedSortValue {
|
|
|
1879
1870
|
export interface NodeAttributes {
|
|
1880
1871
|
attributes: Record<string, string>;
|
|
1881
1872
|
ephemeral_id: Id;
|
|
1882
|
-
id?:
|
|
1873
|
+
id?: Id;
|
|
1883
1874
|
name: NodeName;
|
|
1884
1875
|
transport_address: TransportAddress;
|
|
1885
1876
|
roles?: NodeRoles;
|
|
1886
|
-
external_id: string;
|
|
1887
1877
|
}
|
|
1888
1878
|
export declare type NodeId = string;
|
|
1889
1879
|
export declare type NodeIds = NodeId | NodeId[];
|
|
@@ -1985,7 +1975,7 @@ export interface ScriptSort {
|
|
|
1985
1975
|
mode?: SortMode;
|
|
1986
1976
|
nested?: NestedSortValue;
|
|
1987
1977
|
}
|
|
1988
|
-
export declare type ScriptSortType = 'string' | 'number'
|
|
1978
|
+
export declare type ScriptSortType = 'string' | 'number';
|
|
1989
1979
|
export interface ScriptTransform {
|
|
1990
1980
|
lang?: string;
|
|
1991
1981
|
params?: Record<string, any>;
|
|
@@ -2066,7 +2056,7 @@ export interface ShardsOperationResponseBase {
|
|
|
2066
2056
|
}
|
|
2067
2057
|
export interface SlicedScroll {
|
|
2068
2058
|
field?: Field;
|
|
2069
|
-
id:
|
|
2059
|
+
id: integer;
|
|
2070
2060
|
max: integer;
|
|
2071
2061
|
}
|
|
2072
2062
|
export declare type Slices = integer | SlicesCalculation;
|
|
@@ -2084,7 +2074,7 @@ export declare type SortOptions = SortOptionsKeys & {
|
|
|
2084
2074
|
[property: string]: FieldSort | SortOrder | ScoreSort | GeoDistanceSort | ScriptSort;
|
|
2085
2075
|
};
|
|
2086
2076
|
export declare type SortOrder = 'asc' | 'desc';
|
|
2087
|
-
export declare type SortResults =
|
|
2077
|
+
export declare type SortResults = (long | double | string | null)[];
|
|
2088
2078
|
export interface StoreStats {
|
|
2089
2079
|
size?: ByteSize;
|
|
2090
2080
|
size_in_bytes: integer;
|
|
@@ -2182,12 +2172,11 @@ export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBuck
|
|
|
2182
2172
|
filters?: Record<string, QueryDslQueryContainer>;
|
|
2183
2173
|
}
|
|
2184
2174
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2185
|
-
key: string;
|
|
2186
2175
|
}
|
|
2187
2176
|
export declare type AggregationsAdjacencyMatrixBucket = AggregationsAdjacencyMatrixBucketKeys & {
|
|
2188
|
-
[property: string]: AggregationsAggregate |
|
|
2177
|
+
[property: string]: AggregationsAggregate | long;
|
|
2189
2178
|
};
|
|
2190
|
-
export declare type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate |
|
|
2179
|
+
export declare type AggregationsAggregate = AggregationsCardinalityAggregate | AggregationsHdrPercentilesAggregate | AggregationsHdrPercentileRanksAggregate | AggregationsTDigestPercentilesAggregate | AggregationsTDigestPercentileRanksAggregate | AggregationsPercentilesBucketAggregate | AggregationsMedianAbsoluteDeviationAggregate | AggregationsMinAggregate | AggregationsMaxAggregate | AggregationsSumAggregate | AggregationsAvgAggregate | AggregationsWeightedAvgAggregate | AggregationsValueCountAggregate | AggregationsSimpleValueAggregate | AggregationsDerivativeAggregate | AggregationsBucketMetricValueAggregate | AggregationsStatsAggregate | AggregationsStatsBucketAggregate | AggregationsExtendedStatsAggregate | AggregationsExtendedStatsBucketAggregate | AggregationsGeoBoundsAggregate | AggregationsGeoCentroidAggregate | AggregationsHistogramAggregate | AggregationsDateHistogramAggregate | AggregationsAutoDateHistogramAggregate | AggregationsVariableWidthHistogramAggregate | AggregationsStringTermsAggregate | AggregationsLongTermsAggregate | AggregationsDoubleTermsAggregate | AggregationsUnmappedTermsAggregate | AggregationsLongRareTermsAggregate | AggregationsStringRareTermsAggregate | AggregationsUnmappedRareTermsAggregate | AggregationsMultiTermsAggregate | AggregationsMissingAggregate | AggregationsNestedAggregate | AggregationsReverseNestedAggregate | AggregationsGlobalAggregate | AggregationsFilterAggregate | AggregationsChildrenAggregate | AggregationsParentAggregate | AggregationsSamplerAggregate | AggregationsUnmappedSamplerAggregate | AggregationsGeoHashGridAggregate | AggregationsGeoTileGridAggregate | AggregationsRangeAggregate | AggregationsDateRangeAggregate | AggregationsGeoDistanceAggregate | AggregationsIpRangeAggregate | AggregationsFiltersAggregate | AggregationsAdjacencyMatrixAggregate | AggregationsSignificantLongTermsAggregate | AggregationsSignificantStringTermsAggregate | AggregationsUnmappedSignificantTermsAggregate | AggregationsCompositeAggregate | AggregationsScriptedMetricAggregate | AggregationsTopHitsAggregate | AggregationsInferenceAggregate | AggregationsStringStatsAggregate | AggregationsBoxPlotAggregate | AggregationsTopMetricsAggregate | AggregationsTTestAggregate | AggregationsRateAggregate | AggregationsCumulativeCardinalityAggregate | AggregationsMatrixStatsAggregate | AggregationsGeoLineAggregate;
|
|
2191
2180
|
export interface AggregationsAggregateBase {
|
|
2192
2181
|
meta?: Metadata;
|
|
2193
2182
|
}
|
|
@@ -2234,7 +2223,6 @@ export interface AggregationsAggregationContainer {
|
|
|
2234
2223
|
global?: AggregationsGlobalAggregation;
|
|
2235
2224
|
histogram?: AggregationsHistogramAggregation;
|
|
2236
2225
|
ip_range?: AggregationsIpRangeAggregation;
|
|
2237
|
-
ip_prefix?: AggregationsIpPrefixAggregation;
|
|
2238
2226
|
inference?: AggregationsInferenceAggregation;
|
|
2239
2227
|
line?: AggregationsGeoLineAggregation;
|
|
2240
2228
|
matrix_stats?: AggregationsMatrixStatsAggregation;
|
|
@@ -2402,11 +2390,10 @@ export interface AggregationsChildrenAggregation extends AggregationsBucketAggre
|
|
|
2402
2390
|
type?: RelationName;
|
|
2403
2391
|
}
|
|
2404
2392
|
export interface AggregationsCompositeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsCompositeBucket> {
|
|
2405
|
-
after_key?:
|
|
2393
|
+
after_key?: Record<string, any>;
|
|
2406
2394
|
}
|
|
2407
|
-
export declare type AggregationsCompositeAggregateKey = Record<Field, FieldValue>;
|
|
2408
2395
|
export interface AggregationsCompositeAggregation extends AggregationsBucketAggregationBase {
|
|
2409
|
-
after?:
|
|
2396
|
+
after?: Record<string, string | float | null>;
|
|
2410
2397
|
size?: integer;
|
|
2411
2398
|
sources?: Record<string, AggregationsCompositeAggregationSource>[];
|
|
2412
2399
|
}
|
|
@@ -2417,10 +2404,10 @@ export interface AggregationsCompositeAggregationSource {
|
|
|
2417
2404
|
geotile_grid?: AggregationsGeoTileGridAggregation;
|
|
2418
2405
|
}
|
|
2419
2406
|
export interface AggregationsCompositeBucketKeys extends AggregationsMultiBucketBase {
|
|
2420
|
-
key:
|
|
2407
|
+
key: Record<string, any>;
|
|
2421
2408
|
}
|
|
2422
2409
|
export declare type AggregationsCompositeBucket = AggregationsCompositeBucketKeys & {
|
|
2423
|
-
[property: string]: AggregationsAggregate |
|
|
2410
|
+
[property: string]: AggregationsAggregate | Record<string, any> | long;
|
|
2424
2411
|
};
|
|
2425
2412
|
export interface AggregationsCumulativeCardinalityAggregate extends AggregationsAggregateBase {
|
|
2426
2413
|
value: long;
|
|
@@ -2515,8 +2502,6 @@ export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAgg
|
|
|
2515
2502
|
variance_population: double | null;
|
|
2516
2503
|
variance_sampling: double | null;
|
|
2517
2504
|
std_deviation: double | null;
|
|
2518
|
-
std_deviation_population: double | null;
|
|
2519
|
-
std_deviation_sampling: double | null;
|
|
2520
2505
|
std_deviation_bounds?: AggregationsStandardDeviationBounds;
|
|
2521
2506
|
sum_of_squares_as_string?: string;
|
|
2522
2507
|
variance_as_string?: string;
|
|
@@ -2558,7 +2543,7 @@ export interface AggregationsFormatMetricAggregationBase extends AggregationsMet
|
|
|
2558
2543
|
export interface AggregationsFormattableMetricAggregation extends AggregationsMetricAggregationBase {
|
|
2559
2544
|
format?: string;
|
|
2560
2545
|
}
|
|
2561
|
-
export declare type AggregationsGapPolicy = 'skip' | 'insert_zeros'
|
|
2546
|
+
export declare type AggregationsGapPolicy = 'skip' | 'insert_zeros';
|
|
2562
2547
|
export interface AggregationsGeoBoundsAggregate extends AggregationsAggregateBase {
|
|
2563
2548
|
bounds?: GeoBounds;
|
|
2564
2549
|
}
|
|
@@ -2597,18 +2582,9 @@ export interface AggregationsGeoHashGridBucketKeys extends AggregationsMultiBuck
|
|
|
2597
2582
|
export declare type AggregationsGeoHashGridBucket = AggregationsGeoHashGridBucketKeys & {
|
|
2598
2583
|
[property: string]: AggregationsAggregate | GeoHash | long;
|
|
2599
2584
|
};
|
|
2600
|
-
export interface AggregationsGeoHexGridAggregate extends AggregationsMultiBucketAggregateBase<AggregationsGeoHexGridBucket> {
|
|
2601
|
-
}
|
|
2602
|
-
export interface AggregationsGeoHexGridBucketKeys extends AggregationsMultiBucketBase {
|
|
2603
|
-
key: GeoHexCell;
|
|
2604
|
-
}
|
|
2605
|
-
export declare type AggregationsGeoHexGridBucket = AggregationsGeoHexGridBucketKeys & {
|
|
2606
|
-
[property: string]: AggregationsAggregate | GeoHexCell | long;
|
|
2607
|
-
};
|
|
2608
2585
|
export interface AggregationsGeoLineAggregate extends AggregationsAggregateBase {
|
|
2609
2586
|
type: string;
|
|
2610
2587
|
geometry: GeoLine;
|
|
2611
|
-
properties: any;
|
|
2612
2588
|
}
|
|
2613
2589
|
export interface AggregationsGeoLineAggregation {
|
|
2614
2590
|
point: AggregationsGeoLinePoint;
|
|
@@ -2736,25 +2712,6 @@ export interface AggregationsInferenceTopClassEntry {
|
|
|
2736
2712
|
class_probability: double;
|
|
2737
2713
|
class_score: double;
|
|
2738
2714
|
}
|
|
2739
|
-
export interface AggregationsIpPrefixAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpPrefixBucket> {
|
|
2740
|
-
}
|
|
2741
|
-
export interface AggregationsIpPrefixAggregation extends AggregationsBucketAggregationBase {
|
|
2742
|
-
field: Field;
|
|
2743
|
-
prefix_length: integer;
|
|
2744
|
-
is_ipv6?: boolean;
|
|
2745
|
-
append_prefix_length?: boolean;
|
|
2746
|
-
keyed?: boolean;
|
|
2747
|
-
min_doc_count?: long;
|
|
2748
|
-
}
|
|
2749
|
-
export interface AggregationsIpPrefixBucketKeys extends AggregationsMultiBucketBase {
|
|
2750
|
-
is_ipv6: boolean;
|
|
2751
|
-
key: string;
|
|
2752
|
-
prefix_length: integer;
|
|
2753
|
-
netmask?: string;
|
|
2754
|
-
}
|
|
2755
|
-
export declare type AggregationsIpPrefixBucket = AggregationsIpPrefixBucketKeys & {
|
|
2756
|
-
[property: string]: AggregationsAggregate | boolean | string | integer | long;
|
|
2757
|
-
};
|
|
2758
2715
|
export interface AggregationsIpRangeAggregate extends AggregationsMultiBucketAggregateBase<AggregationsIpRangeBucket> {
|
|
2759
2716
|
}
|
|
2760
2717
|
export interface AggregationsIpRangeAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -2767,7 +2724,6 @@ export interface AggregationsIpRangeAggregationRange {
|
|
|
2767
2724
|
to?: string | null;
|
|
2768
2725
|
}
|
|
2769
2726
|
export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBase {
|
|
2770
|
-
key?: string;
|
|
2771
2727
|
from?: string;
|
|
2772
2728
|
to?: string;
|
|
2773
2729
|
}
|
|
@@ -2890,12 +2846,12 @@ export interface AggregationsMultiTermsAggregation extends AggregationsBucketAgg
|
|
|
2890
2846
|
terms: AggregationsMultiTermLookup[];
|
|
2891
2847
|
}
|
|
2892
2848
|
export interface AggregationsMultiTermsBucketKeys extends AggregationsMultiBucketBase {
|
|
2893
|
-
key:
|
|
2849
|
+
key: (long | double | string)[];
|
|
2894
2850
|
key_as_string?: string;
|
|
2895
2851
|
doc_count_error_upper_bound?: long;
|
|
2896
2852
|
}
|
|
2897
2853
|
export declare type AggregationsMultiTermsBucket = AggregationsMultiTermsBucketKeys & {
|
|
2898
|
-
[property: string]: AggregationsAggregate |
|
|
2854
|
+
[property: string]: AggregationsAggregate | (long | double | string)[] | string | long;
|
|
2899
2855
|
};
|
|
2900
2856
|
export interface AggregationsMutualInformationHeuristic {
|
|
2901
2857
|
background_is_superset?: boolean;
|
|
@@ -3019,7 +2975,7 @@ export interface AggregationsScriptedMetricAggregation extends AggregationsMetri
|
|
|
3019
2975
|
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
|
3020
2976
|
lag?: integer;
|
|
3021
2977
|
}
|
|
3022
|
-
export interface AggregationsSignificantLongTermsAggregate extends
|
|
2978
|
+
export interface AggregationsSignificantLongTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsSignificantLongTermsBucket> {
|
|
3023
2979
|
}
|
|
3024
2980
|
export interface AggregationsSignificantLongTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
3025
2981
|
key: long;
|
|
@@ -3028,7 +2984,7 @@ export interface AggregationsSignificantLongTermsBucketKeys extends Aggregations
|
|
|
3028
2984
|
export declare type AggregationsSignificantLongTermsBucket = AggregationsSignificantLongTermsBucketKeys & {
|
|
3029
2985
|
[property: string]: AggregationsAggregate | long | string | double;
|
|
3030
2986
|
};
|
|
3031
|
-
export interface AggregationsSignificantStringTermsAggregate extends
|
|
2987
|
+
export interface AggregationsSignificantStringTermsAggregate extends AggregationsMultiBucketAggregateBase<AggregationsSignificantStringTermsBucket> {
|
|
3032
2988
|
}
|
|
3033
2989
|
export interface AggregationsSignificantStringTermsBucketKeys extends AggregationsSignificantTermsBucketBase {
|
|
3034
2990
|
key: string;
|
|
@@ -3036,10 +2992,6 @@ export interface AggregationsSignificantStringTermsBucketKeys extends Aggregatio
|
|
|
3036
2992
|
export declare type AggregationsSignificantStringTermsBucket = AggregationsSignificantStringTermsBucketKeys & {
|
|
3037
2993
|
[property: string]: AggregationsAggregate | string | double | long;
|
|
3038
2994
|
};
|
|
3039
|
-
export interface AggregationsSignificantTermsAggregateBase<T = unknown> extends AggregationsMultiBucketAggregateBase<T> {
|
|
3040
|
-
bg_count?: long;
|
|
3041
|
-
doc_count?: long;
|
|
3042
|
-
}
|
|
3043
2995
|
export interface AggregationsSignificantTermsAggregation extends AggregationsBucketAggregationBase {
|
|
3044
2996
|
background_filter?: QueryDslQueryContainer;
|
|
3045
2997
|
chi_square?: AggregationsChiSquareHeuristic;
|
|
@@ -3151,10 +3103,10 @@ export interface AggregationsStringStatsAggregation extends AggregationsMetricAg
|
|
|
3151
3103
|
export interface AggregationsStringTermsAggregate extends AggregationsTermsAggregateBase<AggregationsStringTermsBucket> {
|
|
3152
3104
|
}
|
|
3153
3105
|
export interface AggregationsStringTermsBucketKeys extends AggregationsTermsBucketBase {
|
|
3154
|
-
key:
|
|
3106
|
+
key: string;
|
|
3155
3107
|
}
|
|
3156
3108
|
export declare type AggregationsStringTermsBucket = AggregationsStringTermsBucketKeys & {
|
|
3157
|
-
[property: string]: AggregationsAggregate |
|
|
3109
|
+
[property: string]: AggregationsAggregate | string | long;
|
|
3158
3110
|
};
|
|
3159
3111
|
export interface AggregationsSumAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3160
3112
|
}
|
|
@@ -3181,7 +3133,7 @@ export interface AggregationsTTestAggregation extends AggregationsAggregation {
|
|
|
3181
3133
|
export declare type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
3182
3134
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
3183
3135
|
doc_count_error_upper_bound?: long;
|
|
3184
|
-
sum_other_doc_count
|
|
3136
|
+
sum_other_doc_count: long;
|
|
3185
3137
|
}
|
|
3186
3138
|
export interface AggregationsTermsAggregation extends AggregationsBucketAggregationBase {
|
|
3187
3139
|
collect_mode?: AggregationsTermsAggregationCollectMode;
|
|
@@ -3256,7 +3208,7 @@ export interface AggregationsUnmappedSamplerAggregateKeys extends AggregationsSi
|
|
|
3256
3208
|
export declare type AggregationsUnmappedSamplerAggregate = AggregationsUnmappedSamplerAggregateKeys & {
|
|
3257
3209
|
[property: string]: AggregationsAggregate | long | Metadata;
|
|
3258
3210
|
};
|
|
3259
|
-
export interface AggregationsUnmappedSignificantTermsAggregate extends
|
|
3211
|
+
export interface AggregationsUnmappedSignificantTermsAggregate extends AggregationsMultiBucketAggregateBase<void> {
|
|
3260
3212
|
}
|
|
3261
3213
|
export interface AggregationsUnmappedTermsAggregate extends AggregationsTermsAggregateBase<void> {
|
|
3262
3214
|
}
|
|
@@ -3812,7 +3764,6 @@ export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBas
|
|
|
3812
3764
|
type: 'aggregate_metric_double';
|
|
3813
3765
|
default_metric: string;
|
|
3814
3766
|
metrics: string[];
|
|
3815
|
-
time_series_metric?: MappingTimeSeriesMetricType;
|
|
3816
3767
|
}
|
|
3817
3768
|
export interface MappingAllField {
|
|
3818
3769
|
analyzer: string;
|
|
@@ -3836,7 +3787,7 @@ export interface MappingBooleanProperty extends MappingDocValuesPropertyBase {
|
|
|
3836
3787
|
null_value?: boolean;
|
|
3837
3788
|
type: 'boolean';
|
|
3838
3789
|
}
|
|
3839
|
-
export interface MappingByteNumberProperty extends
|
|
3790
|
+
export interface MappingByteNumberProperty extends MappingStandardNumberProperty {
|
|
3840
3791
|
type: 'byte';
|
|
3841
3792
|
null_value?: byte;
|
|
3842
3793
|
}
|
|
@@ -3900,7 +3851,7 @@ export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
|
3900
3851
|
export interface MappingDocValuesPropertyBase extends MappingCorePropertyBase {
|
|
3901
3852
|
doc_values?: boolean;
|
|
3902
3853
|
}
|
|
3903
|
-
export interface MappingDoubleNumberProperty extends
|
|
3854
|
+
export interface MappingDoubleNumberProperty extends MappingStandardNumberProperty {
|
|
3904
3855
|
type: 'double';
|
|
3905
3856
|
null_value?: double;
|
|
3906
3857
|
}
|
|
@@ -3966,7 +3917,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
|
3966
3917
|
split_queries_on_whitespace?: boolean;
|
|
3967
3918
|
type: 'flattened';
|
|
3968
3919
|
}
|
|
3969
|
-
export interface MappingFloatNumberProperty extends
|
|
3920
|
+
export interface MappingFloatNumberProperty extends MappingStandardNumberProperty {
|
|
3970
3921
|
type: 'float';
|
|
3971
3922
|
null_value?: float;
|
|
3972
3923
|
}
|
|
@@ -3989,7 +3940,7 @@ export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
3989
3940
|
type: 'geo_shape';
|
|
3990
3941
|
}
|
|
3991
3942
|
export declare type MappingGeoStrategy = 'recursive' | 'term';
|
|
3992
|
-
export interface MappingHalfFloatNumberProperty extends
|
|
3943
|
+
export interface MappingHalfFloatNumberProperty extends MappingStandardNumberProperty {
|
|
3993
3944
|
type: 'half_float';
|
|
3994
3945
|
null_value?: float;
|
|
3995
3946
|
}
|
|
@@ -4001,7 +3952,7 @@ export interface MappingIndexField {
|
|
|
4001
3952
|
enabled: boolean;
|
|
4002
3953
|
}
|
|
4003
3954
|
export declare type MappingIndexOptions = 'docs' | 'freqs' | 'positions' | 'offsets';
|
|
4004
|
-
export interface MappingIntegerNumberProperty extends
|
|
3955
|
+
export interface MappingIntegerNumberProperty extends MappingStandardNumberProperty {
|
|
4005
3956
|
type: 'integer';
|
|
4006
3957
|
null_value?: integer;
|
|
4007
3958
|
}
|
|
@@ -4011,11 +3962,8 @@ export interface MappingIntegerRangeProperty extends MappingRangePropertyBase {
|
|
|
4011
3962
|
export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
|
4012
3963
|
boost?: double;
|
|
4013
3964
|
index?: boolean;
|
|
4014
|
-
ignore_malformed?: boolean;
|
|
4015
3965
|
null_value?: string;
|
|
4016
|
-
|
|
4017
|
-
script?: Script;
|
|
4018
|
-
time_series_dimension?: boolean;
|
|
3966
|
+
ignore_malformed?: boolean;
|
|
4019
3967
|
type: 'ip';
|
|
4020
3968
|
}
|
|
4021
3969
|
export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
@@ -4023,7 +3971,6 @@ export interface MappingIpRangeProperty extends MappingRangePropertyBase {
|
|
|
4023
3971
|
}
|
|
4024
3972
|
export interface MappingJoinProperty extends MappingPropertyBase {
|
|
4025
3973
|
relations?: Record<RelationName, RelationName | RelationName[]>;
|
|
4026
|
-
eager_global_ordinals?: boolean;
|
|
4027
3974
|
type: 'join';
|
|
4028
3975
|
}
|
|
4029
3976
|
export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
@@ -4038,7 +3985,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4038
3985
|
time_series_dimension?: boolean;
|
|
4039
3986
|
type: 'keyword';
|
|
4040
3987
|
}
|
|
4041
|
-
export interface MappingLongNumberProperty extends
|
|
3988
|
+
export interface MappingLongNumberProperty extends MappingStandardNumberProperty {
|
|
4042
3989
|
type: 'long';
|
|
4043
3990
|
null_value?: long;
|
|
4044
3991
|
}
|
|
@@ -4062,14 +4009,9 @@ export interface MappingNestedProperty extends MappingCorePropertyBase {
|
|
|
4062
4009
|
type: 'nested';
|
|
4063
4010
|
}
|
|
4064
4011
|
export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase {
|
|
4065
|
-
boost?: double;
|
|
4066
|
-
coerce?: boolean;
|
|
4067
|
-
ignore_malformed?: boolean;
|
|
4068
4012
|
index?: boolean;
|
|
4069
|
-
|
|
4070
|
-
script?: Script;
|
|
4013
|
+
ignore_malformed?: boolean;
|
|
4071
4014
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4072
|
-
time_series_dimension?: boolean;
|
|
4073
4015
|
}
|
|
4074
4016
|
export interface MappingObjectProperty extends MappingCorePropertyBase {
|
|
4075
4017
|
enabled?: boolean;
|
|
@@ -4118,6 +4060,7 @@ export declare type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'g
|
|
|
4118
4060
|
export declare type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
4119
4061
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
4120
4062
|
type: 'scaled_float';
|
|
4063
|
+
coerce?: boolean;
|
|
4121
4064
|
null_value?: double;
|
|
4122
4065
|
scaling_factor?: double;
|
|
4123
4066
|
}
|
|
@@ -4139,7 +4082,7 @@ export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
|
4139
4082
|
orientation?: MappingGeoOrientation;
|
|
4140
4083
|
type: 'shape';
|
|
4141
4084
|
}
|
|
4142
|
-
export interface MappingShortNumberProperty extends
|
|
4085
|
+
export interface MappingShortNumberProperty extends MappingStandardNumberProperty {
|
|
4143
4086
|
type: 'short';
|
|
4144
4087
|
null_value?: short;
|
|
4145
4088
|
}
|
|
@@ -4152,9 +4095,12 @@ export interface MappingSourceField {
|
|
|
4152
4095
|
enabled?: boolean;
|
|
4153
4096
|
excludes?: string[];
|
|
4154
4097
|
includes?: string[];
|
|
4155
|
-
mode?: MappingSourceFieldMode;
|
|
4156
4098
|
}
|
|
4157
|
-
export
|
|
4099
|
+
export interface MappingStandardNumberProperty extends MappingNumberPropertyBase {
|
|
4100
|
+
coerce?: boolean;
|
|
4101
|
+
script?: Script;
|
|
4102
|
+
on_script_error?: MappingOnScriptError;
|
|
4103
|
+
}
|
|
4158
4104
|
export interface MappingSuggestContext {
|
|
4159
4105
|
name: Name;
|
|
4160
4106
|
path?: Field;
|
|
@@ -7539,17 +7485,20 @@ export interface DanglingIndicesListDanglingIndicesRequest extends RequestBase {
|
|
|
7539
7485
|
export interface DanglingIndicesListDanglingIndicesResponse {
|
|
7540
7486
|
dangling_indices: DanglingIndicesListDanglingIndicesDanglingIndex[];
|
|
7541
7487
|
}
|
|
7488
|
+
export interface EnrichConfiguration {
|
|
7489
|
+
geo_match?: EnrichPolicy;
|
|
7490
|
+
match: EnrichPolicy;
|
|
7491
|
+
range: EnrichPolicy;
|
|
7492
|
+
}
|
|
7542
7493
|
export interface EnrichPolicy {
|
|
7543
7494
|
enrich_fields: Fields;
|
|
7544
7495
|
indices: Indices;
|
|
7545
7496
|
match_field: Field;
|
|
7546
7497
|
query?: string;
|
|
7547
7498
|
name?: Name;
|
|
7548
|
-
elasticsearch_version?: string;
|
|
7549
7499
|
}
|
|
7550
|
-
export declare type EnrichPolicyType = 'geo_match' | 'match' | 'range';
|
|
7551
7500
|
export interface EnrichSummary {
|
|
7552
|
-
config:
|
|
7501
|
+
config: EnrichConfiguration;
|
|
7553
7502
|
}
|
|
7554
7503
|
export interface EnrichDeletePolicyRequest extends RequestBase {
|
|
7555
7504
|
name: Name;
|
|
@@ -7704,7 +7653,7 @@ export interface FleetGlobalCheckpointsResponse {
|
|
|
7704
7653
|
timed_out: boolean;
|
|
7705
7654
|
}
|
|
7706
7655
|
export interface FleetMsearchRequest extends RequestBase {
|
|
7707
|
-
index
|
|
7656
|
+
index: IndexName | IndexAlias;
|
|
7708
7657
|
allow_no_indices?: boolean;
|
|
7709
7658
|
ccs_minimize_roundtrips?: boolean;
|
|
7710
7659
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -8065,9 +8014,6 @@ export interface IndicesDataStreamTimestampField {
|
|
|
8065
8014
|
export interface IndicesDataStreamVisibility {
|
|
8066
8015
|
hidden?: boolean;
|
|
8067
8016
|
}
|
|
8068
|
-
export interface IndicesDownsampleConfig {
|
|
8069
|
-
fixed_interval: DurationLarge;
|
|
8070
|
-
}
|
|
8071
8017
|
export interface IndicesFielddataFrequencyFilter {
|
|
8072
8018
|
max: double;
|
|
8073
8019
|
min: double;
|
|
@@ -8224,7 +8170,6 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8224
8170
|
}
|
|
8225
8171
|
export interface IndicesIndexVersioning {
|
|
8226
8172
|
created?: VersionString;
|
|
8227
|
-
created_string?: string;
|
|
8228
8173
|
}
|
|
8229
8174
|
export interface IndicesIndexingPressure {
|
|
8230
8175
|
memory: IndicesIndexingPressureMemory;
|
|
@@ -8233,7 +8178,6 @@ export interface IndicesIndexingPressureMemory {
|
|
|
8233
8178
|
limit?: integer;
|
|
8234
8179
|
}
|
|
8235
8180
|
export interface IndicesMappingLimitSettings {
|
|
8236
|
-
coerce?: boolean;
|
|
8237
8181
|
total_fields?: IndicesMappingLimitSettingsTotalFields;
|
|
8238
8182
|
depth?: IndicesMappingLimitSettingsDepth;
|
|
8239
8183
|
nested_fields?: IndicesMappingLimitSettingsNestedFields;
|
|
@@ -8306,7 +8250,7 @@ export interface IndicesSettingsSimilarity {
|
|
|
8306
8250
|
scripted_tfidf?: IndicesSettingsSimilarityScriptedTfidf;
|
|
8307
8251
|
}
|
|
8308
8252
|
export interface IndicesSettingsSimilarityBm25 {
|
|
8309
|
-
b:
|
|
8253
|
+
b: integer;
|
|
8310
8254
|
discount_overlaps: boolean;
|
|
8311
8255
|
k1: double;
|
|
8312
8256
|
type: 'BM25';
|
|
@@ -8599,7 +8543,7 @@ export interface IndicesDownsampleRequest extends RequestBase {
|
|
|
8599
8543
|
index: IndexName;
|
|
8600
8544
|
target_index: IndexName;
|
|
8601
8545
|
/** @deprecated The use of the 'body' key has been deprecated, use 'config' instead. */
|
|
8602
|
-
body?:
|
|
8546
|
+
body?: any;
|
|
8603
8547
|
}
|
|
8604
8548
|
export declare type IndicesDownsampleResponse = any;
|
|
8605
8549
|
export interface IndicesExistsRequest extends RequestBase {
|
|
@@ -8701,10 +8645,7 @@ export interface IndicesForcemergeRequest extends RequestBase {
|
|
|
8701
8645
|
only_expunge_deletes?: boolean;
|
|
8702
8646
|
wait_for_completion?: boolean;
|
|
8703
8647
|
}
|
|
8704
|
-
export declare type IndicesForcemergeResponse =
|
|
8705
|
-
export interface IndicesForcemergeForceMergeResponseBody extends ShardsOperationResponseBase {
|
|
8706
|
-
task?: string;
|
|
8707
|
-
}
|
|
8648
|
+
export declare type IndicesForcemergeResponse = ShardsOperationResponseBase;
|
|
8708
8649
|
export declare type IndicesGetFeature = 'aliases' | 'mappings' | 'settings';
|
|
8709
8650
|
export declare type IndicesGetFeatures = IndicesGetFeature | IndicesGetFeature[];
|
|
8710
8651
|
export interface IndicesGetRequest extends RequestBase {
|
|
@@ -9087,18 +9028,13 @@ export interface IndicesRolloverResponse {
|
|
|
9087
9028
|
shards_acknowledged: boolean;
|
|
9088
9029
|
}
|
|
9089
9030
|
export interface IndicesRolloverRolloverConditions {
|
|
9090
|
-
min_age?: Duration;
|
|
9091
9031
|
max_age?: Duration;
|
|
9092
9032
|
max_age_millis?: DurationValue<UnitMillis>;
|
|
9093
|
-
min_docs?: long;
|
|
9094
9033
|
max_docs?: long;
|
|
9095
|
-
max_size?:
|
|
9096
|
-
min_size?: ByteSize;
|
|
9034
|
+
max_size?: string;
|
|
9097
9035
|
max_size_bytes?: ByteSize;
|
|
9098
9036
|
max_primary_shard_size?: ByteSize;
|
|
9099
|
-
|
|
9100
|
-
max_primary_shard_docs?: long;
|
|
9101
|
-
min_primary_shard_docs?: long;
|
|
9037
|
+
max_primary_shard_size_bytes?: ByteSize;
|
|
9102
9038
|
}
|
|
9103
9039
|
export interface IndicesSegmentsIndexSegment {
|
|
9104
9040
|
shards: Record<string, IndicesSegmentsShardsSegment | IndicesSegmentsShardsSegment[]>;
|
|
@@ -9475,34 +9411,35 @@ export interface IngestBytesProcessor extends IngestProcessorBase {
|
|
|
9475
9411
|
export interface IngestCircleProcessor extends IngestProcessorBase {
|
|
9476
9412
|
error_distance: double;
|
|
9477
9413
|
field: Field;
|
|
9478
|
-
ignore_missing
|
|
9414
|
+
ignore_missing: boolean;
|
|
9479
9415
|
shape_type: IngestShapeType;
|
|
9480
|
-
target_field
|
|
9416
|
+
target_field: Field;
|
|
9481
9417
|
}
|
|
9482
9418
|
export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
9483
9419
|
field: Field;
|
|
9484
9420
|
ignore_missing?: boolean;
|
|
9485
|
-
target_field
|
|
9421
|
+
target_field: Field;
|
|
9486
9422
|
type: IngestConvertType;
|
|
9487
9423
|
}
|
|
9488
9424
|
export declare type IngestConvertType = 'integer' | 'long' | 'float' | 'double' | 'string' | 'boolean' | 'auto';
|
|
9489
9425
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
9490
|
-
empty_value
|
|
9426
|
+
empty_value: any;
|
|
9427
|
+
description?: string;
|
|
9491
9428
|
field: Field;
|
|
9492
9429
|
ignore_missing?: boolean;
|
|
9493
9430
|
quote?: string;
|
|
9494
9431
|
separator?: string;
|
|
9495
9432
|
target_fields: Fields;
|
|
9496
|
-
trim
|
|
9433
|
+
trim: boolean;
|
|
9497
9434
|
}
|
|
9498
9435
|
export interface IngestDateIndexNameProcessor extends IngestProcessorBase {
|
|
9499
9436
|
date_formats: string[];
|
|
9500
9437
|
date_rounding: string;
|
|
9501
9438
|
field: Field;
|
|
9502
|
-
index_name_format
|
|
9503
|
-
index_name_prefix
|
|
9504
|
-
locale
|
|
9505
|
-
timezone
|
|
9439
|
+
index_name_format: string;
|
|
9440
|
+
index_name_prefix: string;
|
|
9441
|
+
locale: string;
|
|
9442
|
+
timezone: string;
|
|
9506
9443
|
}
|
|
9507
9444
|
export interface IngestDateProcessor extends IngestProcessorBase {
|
|
9508
9445
|
field: Field;
|
|
@@ -9512,9 +9449,9 @@ export interface IngestDateProcessor extends IngestProcessorBase {
|
|
|
9512
9449
|
timezone?: string;
|
|
9513
9450
|
}
|
|
9514
9451
|
export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
9515
|
-
append_separator
|
|
9452
|
+
append_separator: string;
|
|
9516
9453
|
field: Field;
|
|
9517
|
-
ignore_missing
|
|
9454
|
+
ignore_missing: boolean;
|
|
9518
9455
|
pattern: string;
|
|
9519
9456
|
}
|
|
9520
9457
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
@@ -9541,17 +9478,17 @@ export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
|
9541
9478
|
processor: IngestProcessorContainer;
|
|
9542
9479
|
}
|
|
9543
9480
|
export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
9544
|
-
database_file
|
|
9481
|
+
database_file: string;
|
|
9545
9482
|
field: Field;
|
|
9546
|
-
first_only
|
|
9547
|
-
ignore_missing
|
|
9548
|
-
properties
|
|
9549
|
-
target_field
|
|
9483
|
+
first_only: boolean;
|
|
9484
|
+
ignore_missing: boolean;
|
|
9485
|
+
properties: string[];
|
|
9486
|
+
target_field: Field;
|
|
9550
9487
|
}
|
|
9551
9488
|
export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
9552
9489
|
field: Field;
|
|
9553
9490
|
ignore_missing?: boolean;
|
|
9554
|
-
pattern_definitions
|
|
9491
|
+
pattern_definitions: Record<string, string>;
|
|
9555
9492
|
patterns: string[];
|
|
9556
9493
|
trace_match?: boolean;
|
|
9557
9494
|
}
|
|
@@ -9579,7 +9516,7 @@ export interface IngestInferenceConfigRegression {
|
|
|
9579
9516
|
}
|
|
9580
9517
|
export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
9581
9518
|
model_id: Id;
|
|
9582
|
-
target_field
|
|
9519
|
+
target_field: Field;
|
|
9583
9520
|
field_map?: Record<Field, any>;
|
|
9584
9521
|
inference_config?: IngestInferenceConfig;
|
|
9585
9522
|
}
|
|
@@ -9589,13 +9526,10 @@ export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
|
9589
9526
|
target_field?: Field;
|
|
9590
9527
|
}
|
|
9591
9528
|
export interface IngestJsonProcessor extends IngestProcessorBase {
|
|
9592
|
-
add_to_root
|
|
9593
|
-
add_to_root_conflict_strategy?: IngestJsonProcessorConflictStrategy;
|
|
9594
|
-
allow_duplicate_keys?: boolean;
|
|
9529
|
+
add_to_root: boolean;
|
|
9595
9530
|
field: Field;
|
|
9596
|
-
target_field
|
|
9531
|
+
target_field: Field;
|
|
9597
9532
|
}
|
|
9598
|
-
export declare type IngestJsonProcessorConflictStrategy = 'replace' | 'merge';
|
|
9599
9533
|
export interface IngestKeyValueProcessor extends IngestProcessorBase {
|
|
9600
9534
|
exclude_keys?: string[];
|
|
9601
9535
|
field: Field;
|
|
@@ -9627,10 +9561,8 @@ export interface IngestPipelineConfig {
|
|
|
9627
9561
|
}
|
|
9628
9562
|
export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
9629
9563
|
name: Name;
|
|
9630
|
-
ignore_missing_pipeline?: boolean;
|
|
9631
9564
|
}
|
|
9632
9565
|
export interface IngestProcessorBase {
|
|
9633
|
-
description?: string;
|
|
9634
9566
|
if?: string;
|
|
9635
9567
|
ignore_failure?: boolean;
|
|
9636
9568
|
on_failure?: IngestProcessorContainer[];
|
|
@@ -9682,12 +9614,9 @@ export interface IngestRenameProcessor extends IngestProcessorBase {
|
|
|
9682
9614
|
target_field: Field;
|
|
9683
9615
|
}
|
|
9684
9616
|
export interface IngestSetProcessor extends IngestProcessorBase {
|
|
9685
|
-
copy_from?: Field;
|
|
9686
9617
|
field: Field;
|
|
9687
|
-
ignore_empty_value?: boolean;
|
|
9688
|
-
media_type?: string;
|
|
9689
9618
|
override?: boolean;
|
|
9690
|
-
value
|
|
9619
|
+
value: any;
|
|
9691
9620
|
}
|
|
9692
9621
|
export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
9693
9622
|
field: Field;
|
|
@@ -9696,8 +9625,8 @@ export interface IngestSetSecurityUserProcessor extends IngestProcessorBase {
|
|
|
9696
9625
|
export declare type IngestShapeType = 'geo_shape' | 'shape';
|
|
9697
9626
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
9698
9627
|
field: Field;
|
|
9699
|
-
order
|
|
9700
|
-
target_field
|
|
9628
|
+
order: SortOrder;
|
|
9629
|
+
target_field: Field;
|
|
9701
9630
|
}
|
|
9702
9631
|
export interface IngestSplitProcessor extends IngestProcessorBase {
|
|
9703
9632
|
field: Field;
|
|
@@ -9723,10 +9652,10 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
|
9723
9652
|
}
|
|
9724
9653
|
export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
9725
9654
|
field: Field;
|
|
9726
|
-
ignore_missing
|
|
9727
|
-
options
|
|
9728
|
-
regex_file
|
|
9729
|
-
target_field
|
|
9655
|
+
ignore_missing: boolean;
|
|
9656
|
+
options: IngestUserAgentProperty[];
|
|
9657
|
+
regex_file: string;
|
|
9658
|
+
target_field: Field;
|
|
9730
9659
|
}
|
|
9731
9660
|
export declare type IngestUserAgentProperty = 'NAME' | 'MAJOR' | 'MINOR' | 'PATCH' | 'OS' | 'OS_NAME' | 'OS_MAJOR' | 'OS_MINOR' | 'DEVICE' | 'BUILD';
|
|
9732
9661
|
export interface IngestDeletePipelineRequest extends RequestBase {
|
|
@@ -9786,18 +9715,14 @@ export interface IngestSimulateDocument {
|
|
|
9786
9715
|
_index?: IndexName;
|
|
9787
9716
|
_source: any;
|
|
9788
9717
|
}
|
|
9789
|
-
export interface
|
|
9718
|
+
export interface IngestSimulateDocumentSimulation {
|
|
9790
9719
|
_id: Id;
|
|
9791
9720
|
_index: IndexName;
|
|
9792
9721
|
_ingest: IngestSimulateIngest;
|
|
9722
|
+
_parent?: string;
|
|
9793
9723
|
_routing?: string;
|
|
9794
9724
|
_source: Record<string, any>;
|
|
9795
|
-
_version?: SpecUtilsStringified<VersionNumber>;
|
|
9796
|
-
_version_type?: VersionType;
|
|
9797
9725
|
}
|
|
9798
|
-
export declare type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationKeys & {
|
|
9799
|
-
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
9800
|
-
};
|
|
9801
9726
|
export interface IngestSimulateIngest {
|
|
9802
9727
|
timestamp: DateTime;
|
|
9803
9728
|
pipeline?: Name;
|
|
@@ -9878,7 +9803,7 @@ export interface LicensePostRequest extends RequestBase {
|
|
|
9878
9803
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9879
9804
|
body?: {
|
|
9880
9805
|
license?: LicenseLicense;
|
|
9881
|
-
licenses
|
|
9806
|
+
licenses: LicenseLicense[];
|
|
9882
9807
|
};
|
|
9883
9808
|
}
|
|
9884
9809
|
export interface LicensePostResponse {
|
|
@@ -10999,12 +10924,6 @@ export interface MlZeroShotClassificationInferenceUpdateOptions {
|
|
|
10999
10924
|
multi_label?: boolean;
|
|
11000
10925
|
labels: string[];
|
|
11001
10926
|
}
|
|
11002
|
-
export interface MlClearTrainedModelDeploymentCacheRequest extends RequestBase {
|
|
11003
|
-
model_id: Id;
|
|
11004
|
-
}
|
|
11005
|
-
export interface MlClearTrainedModelDeploymentCacheResponse {
|
|
11006
|
-
cleared: boolean;
|
|
11007
|
-
}
|
|
11008
10927
|
export interface MlCloseJobRequest extends RequestBase {
|
|
11009
10928
|
job_id: Id;
|
|
11010
10929
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -13172,7 +13091,7 @@ export interface SecurityFieldRule {
|
|
|
13172
13091
|
}
|
|
13173
13092
|
export interface SecurityFieldSecurity {
|
|
13174
13093
|
except?: Fields;
|
|
13175
|
-
grant
|
|
13094
|
+
grant: Fields;
|
|
13176
13095
|
}
|
|
13177
13096
|
export interface SecurityGlobalPrivilege {
|
|
13178
13097
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
@@ -13230,16 +13149,15 @@ export interface SecurityRoleMappingRule {
|
|
|
13230
13149
|
field?: SecurityFieldRule;
|
|
13231
13150
|
except?: SecurityRoleMappingRule;
|
|
13232
13151
|
}
|
|
13233
|
-
export declare type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
13234
13152
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
13235
13153
|
lang?: ScriptLanguage;
|
|
13236
13154
|
options?: Record<string, string>;
|
|
13237
|
-
source:
|
|
13155
|
+
source: string | QueryDslQueryContainer;
|
|
13238
13156
|
}
|
|
13239
13157
|
export interface SecurityRoleTemplateQuery {
|
|
13240
13158
|
template?: SecurityRoleTemplateScript;
|
|
13241
13159
|
}
|
|
13242
|
-
export declare type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript |
|
|
13160
|
+
export declare type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | string | QueryDslQueryContainer | StoredScriptId;
|
|
13243
13161
|
export interface SecurityTransientMetadataConfig {
|
|
13244
13162
|
enabled: boolean;
|
|
13245
13163
|
}
|
|
@@ -13252,13 +13170,6 @@ export interface SecurityUser {
|
|
|
13252
13170
|
enabled: boolean;
|
|
13253
13171
|
profile_uid?: SecurityUserProfileId;
|
|
13254
13172
|
}
|
|
13255
|
-
export interface SecurityUserIndicesPrivileges {
|
|
13256
|
-
field_security?: SecurityFieldSecurity[];
|
|
13257
|
-
names: Indices;
|
|
13258
|
-
privileges: SecurityIndexPrivilege[];
|
|
13259
|
-
query?: SecurityIndicesPrivilegesQuery[];
|
|
13260
|
-
allow_restricted_indices: boolean;
|
|
13261
|
-
}
|
|
13262
13173
|
export interface SecurityUserProfile {
|
|
13263
13174
|
uid: SecurityUserProfileId;
|
|
13264
13175
|
user: SecurityUserProfileUser;
|
|
@@ -13597,7 +13508,7 @@ export interface SecurityGetUserPrivilegesResponse {
|
|
|
13597
13508
|
applications: SecurityApplicationPrivileges[];
|
|
13598
13509
|
cluster: string[];
|
|
13599
13510
|
global: SecurityGlobalPrivilege[];
|
|
13600
|
-
indices:
|
|
13511
|
+
indices: SecurityIndicesPrivileges[];
|
|
13601
13512
|
run_as: string[];
|
|
13602
13513
|
}
|
|
13603
13514
|
export interface SecurityGetUserProfileGetUserProfileErrors {
|
|
@@ -13960,7 +13871,7 @@ export interface ShutdownPutNodeRequest extends RequestBase {
|
|
|
13960
13871
|
export declare type ShutdownPutNodeResponse = AcknowledgedResponseBase;
|
|
13961
13872
|
export interface SlmConfiguration {
|
|
13962
13873
|
ignore_unavailable?: boolean;
|
|
13963
|
-
indices
|
|
13874
|
+
indices: Indices;
|
|
13964
13875
|
include_global_state?: boolean;
|
|
13965
13876
|
feature_states?: string[];
|
|
13966
13877
|
metadata?: Metadata;
|
|
@@ -13977,10 +13888,10 @@ export interface SlmInvocation {
|
|
|
13977
13888
|
time: DateTime;
|
|
13978
13889
|
}
|
|
13979
13890
|
export interface SlmPolicy {
|
|
13980
|
-
config
|
|
13891
|
+
config: SlmConfiguration;
|
|
13981
13892
|
name: Name;
|
|
13982
13893
|
repository: string;
|
|
13983
|
-
retention
|
|
13894
|
+
retention: SlmRetention;
|
|
13984
13895
|
schedule: WatcherCronExpression;
|
|
13985
13896
|
}
|
|
13986
13897
|
export interface SlmRetention {
|
|
@@ -14420,7 +14331,6 @@ export interface SslCertificatesCertificateInformation {
|
|
|
14420
14331
|
expiry: DateTime;
|
|
14421
14332
|
format: string;
|
|
14422
14333
|
has_private_key: boolean;
|
|
14423
|
-
issuer?: string;
|
|
14424
14334
|
path: string;
|
|
14425
14335
|
serial_number: string;
|
|
14426
14336
|
subject_dn: string;
|
|
@@ -14601,7 +14511,6 @@ export interface TransformSettings {
|
|
|
14601
14511
|
deduce_mappings?: boolean;
|
|
14602
14512
|
docs_per_second?: float;
|
|
14603
14513
|
max_page_search_size?: integer;
|
|
14604
|
-
unattended?: boolean;
|
|
14605
14514
|
}
|
|
14606
14515
|
export interface TransformSource {
|
|
14607
14516
|
index: Indices;
|
|
@@ -15435,6 +15344,13 @@ export interface XpackInfoResponse {
|
|
|
15435
15344
|
license: XpackInfoMinimalLicenseInformation;
|
|
15436
15345
|
tagline: string;
|
|
15437
15346
|
}
|
|
15347
|
+
export interface XpackUsageAllJobs {
|
|
15348
|
+
count: integer;
|
|
15349
|
+
detectors: Record<string, integer>;
|
|
15350
|
+
created_by: Record<string, string | integer>;
|
|
15351
|
+
model_size: Record<string, integer>;
|
|
15352
|
+
forecasts: Record<string, integer>;
|
|
15353
|
+
}
|
|
15438
15354
|
export interface XpackUsageAnalytics extends XpackUsageBase {
|
|
15439
15355
|
stats: XpackUsageAnalyticsStatistics;
|
|
15440
15356
|
}
|
|
@@ -15553,16 +15469,15 @@ export interface XpackUsageIpFilter {
|
|
|
15553
15469
|
http: boolean;
|
|
15554
15470
|
transport: boolean;
|
|
15555
15471
|
}
|
|
15556
|
-
export interface
|
|
15557
|
-
|
|
15558
|
-
created_by: Record<string, long>;
|
|
15559
|
-
detectors: MlJobStatistics;
|
|
15560
|
-
forecasts: XpackUsageMlJobForecasts;
|
|
15561
|
-
model_size: MlJobStatistics;
|
|
15472
|
+
export interface XpackUsageJobsKeys {
|
|
15473
|
+
_all?: XpackUsageAllJobs;
|
|
15562
15474
|
}
|
|
15475
|
+
export declare type XpackUsageJobs = XpackUsageJobsKeys & {
|
|
15476
|
+
[property: string]: MlJob | XpackUsageAllJobs;
|
|
15477
|
+
};
|
|
15563
15478
|
export interface XpackUsageMachineLearning extends XpackUsageBase {
|
|
15564
15479
|
datafeeds: Record<string, XpackUsageDatafeed>;
|
|
15565
|
-
jobs:
|
|
15480
|
+
jobs: XpackUsageJobs;
|
|
15566
15481
|
node_count: integer;
|
|
15567
15482
|
data_frame_analytics_jobs: XpackUsageMlDataFrameAnalyticsJobs;
|
|
15568
15483
|
inference: XpackUsageMlInference;
|
|
@@ -15623,15 +15538,10 @@ export interface XpackUsageMlInferenceTrainedModelsCount {
|
|
|
15623
15538
|
total: long;
|
|
15624
15539
|
prepackaged: long;
|
|
15625
15540
|
other: long;
|
|
15626
|
-
pass_through?: long;
|
|
15627
15541
|
regression?: long;
|
|
15628
15542
|
classification?: long;
|
|
15629
15543
|
ner?: long;
|
|
15630
15544
|
}
|
|
15631
|
-
export interface XpackUsageMlJobForecasts {
|
|
15632
|
-
total: long;
|
|
15633
|
-
forecasted_jobs: long;
|
|
15634
|
-
}
|
|
15635
15545
|
export interface XpackUsageMonitoring extends XpackUsageBase {
|
|
15636
15546
|
collection_enabled: boolean;
|
|
15637
15547
|
enabled_exporters: Record<string, long>;
|