@elastic/elasticsearch 8.18.1 → 8.19.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/.dockerignore +3 -0
- package/index.d.ts +1 -0
- 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 +17 -17
- package/lib/api/api/connector.d.ts +30 -30
- 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 +3 -3
- package/lib/api/api/esql.d.ts +5 -5
- package/lib/api/api/esql.js +1 -1
- package/lib/api/api/esql.js.map +1 -1
- 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 +4 -4
- 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 +94 -59
- package/lib/api/api/indices.js +115 -0
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +64 -43
- package/lib/api/api/inference.js +116 -2
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +2 -2
- package/lib/api/api/ingest.d.ts +9 -9
- 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 +75 -75
- 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/profiling.d.ts +4 -4
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_rules.d.ts +8 -8
- 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 +10 -10
- 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 +64 -64
- package/lib/api/api/shutdown.d.ts +3 -3
- package/lib/api/api/simulate.d.ts +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +13 -13
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/streams.d.ts +32 -0
- package/lib/api/api/streams.js +93 -0
- package/lib/api/api/streams.js.map +1 -0
- package/lib/api/api/synonyms.d.ts +7 -7
- 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 +4 -4
- package/lib/api/api/transform.d.ts +12 -12
- 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 +754 -173
- package/lib/api/typesWithBodyKey.d.ts +763 -173
- package/lib/client.js +9 -12
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +2 -2
- package/lib/helpers.js +3 -2
- package/lib/helpers.js.map +1 -1
- package/package.json +15 -14
package/lib/api/types.d.ts
CHANGED
|
@@ -120,10 +120,7 @@ export interface CountResponse {
|
|
|
120
120
|
export interface CreateRequest<TDocument = unknown> extends RequestBase {
|
|
121
121
|
id: Id;
|
|
122
122
|
index: IndexName;
|
|
123
|
-
if_primary_term?: long;
|
|
124
|
-
if_seq_no?: SequenceNumber;
|
|
125
123
|
include_source_on_error?: boolean;
|
|
126
|
-
op_type?: OpType;
|
|
127
124
|
pipeline?: string;
|
|
128
125
|
refresh?: Refresh;
|
|
129
126
|
require_alias?: boolean;
|
|
@@ -381,7 +378,6 @@ export interface GetSourceRequest extends RequestBase {
|
|
|
381
378
|
_source?: SearchSourceConfigParam;
|
|
382
379
|
_source_excludes?: Fields;
|
|
383
380
|
_source_includes?: Fields;
|
|
384
|
-
stored_fields?: Fields;
|
|
385
381
|
version?: VersionNumber;
|
|
386
382
|
version_type?: VersionType;
|
|
387
383
|
}
|
|
@@ -439,7 +435,7 @@ export interface HealthReportImpact {
|
|
|
439
435
|
severity: integer;
|
|
440
436
|
}
|
|
441
437
|
export type HealthReportImpactArea = 'search' | 'ingest' | 'backup' | 'deployment_management';
|
|
442
|
-
export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown';
|
|
438
|
+
export type HealthReportIndicatorHealthStatus = 'green' | 'yellow' | 'red' | 'unknown' | 'unavailable';
|
|
443
439
|
export interface HealthReportIndicatorNode {
|
|
444
440
|
name: string | null;
|
|
445
441
|
node_id: string | null;
|
|
@@ -549,6 +545,7 @@ export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
|
549
545
|
version_type?: VersionType;
|
|
550
546
|
wait_for_active_shards?: WaitForActiveShards;
|
|
551
547
|
require_alias?: boolean;
|
|
548
|
+
require_data_stream?: boolean;
|
|
552
549
|
document?: TDocument;
|
|
553
550
|
}
|
|
554
551
|
export type IndexResponse = WriteResponseBase;
|
|
@@ -1315,7 +1312,7 @@ export interface SearchInnerHits {
|
|
|
1315
1312
|
ignore_unmapped?: boolean;
|
|
1316
1313
|
script_fields?: Record<Field, ScriptField>;
|
|
1317
1314
|
seq_no_primary_term?: boolean;
|
|
1318
|
-
fields?:
|
|
1315
|
+
fields?: Field[];
|
|
1319
1316
|
sort?: Sort;
|
|
1320
1317
|
_source?: SearchSourceConfig;
|
|
1321
1318
|
stored_fields?: Fields;
|
|
@@ -1483,7 +1480,7 @@ export interface SearchShardProfile {
|
|
|
1483
1480
|
index: IndexName;
|
|
1484
1481
|
node_id: NodeId;
|
|
1485
1482
|
searches: SearchSearchProfile[];
|
|
1486
|
-
shard_id:
|
|
1483
|
+
shard_id: integer;
|
|
1487
1484
|
}
|
|
1488
1485
|
export interface SearchSmoothingModelContainer {
|
|
1489
1486
|
laplace?: SearchLaplaceSmoothingModel;
|
|
@@ -1493,6 +1490,7 @@ export interface SearchSmoothingModelContainer {
|
|
|
1493
1490
|
export type SearchSourceConfig = boolean | SearchSourceFilter | Fields;
|
|
1494
1491
|
export type SearchSourceConfigParam = boolean | Fields;
|
|
1495
1492
|
export interface SearchSourceFilter {
|
|
1493
|
+
exclude_vectors?: boolean;
|
|
1496
1494
|
excludes?: Fields;
|
|
1497
1495
|
exclude?: Fields;
|
|
1498
1496
|
includes?: Fields;
|
|
@@ -1894,6 +1892,8 @@ export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm'
|
|
|
1894
1892
|
export interface DocStats {
|
|
1895
1893
|
count: long;
|
|
1896
1894
|
deleted?: long;
|
|
1895
|
+
total_size_in_bytes: long;
|
|
1896
|
+
total_size?: ByteSize;
|
|
1897
1897
|
}
|
|
1898
1898
|
export type Duration = string | -1 | 0;
|
|
1899
1899
|
export type DurationLarge = string;
|
|
@@ -1920,7 +1920,7 @@ export interface EmptyObject {
|
|
|
1920
1920
|
export type EpochTime<Unit = unknown> = Unit;
|
|
1921
1921
|
export interface ErrorCauseKeys {
|
|
1922
1922
|
type: string;
|
|
1923
|
-
reason?: string;
|
|
1923
|
+
reason?: string | null;
|
|
1924
1924
|
stack_trace?: string;
|
|
1925
1925
|
caused_by?: ErrorCause;
|
|
1926
1926
|
root_cause?: ErrorCause[];
|
|
@@ -1933,7 +1933,6 @@ export interface ErrorResponseBase {
|
|
|
1933
1933
|
error: ErrorCause;
|
|
1934
1934
|
status: integer;
|
|
1935
1935
|
}
|
|
1936
|
-
export type EsqlResult = ArrayBuffer;
|
|
1937
1936
|
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
1938
1937
|
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
1939
1938
|
export type Field = string;
|
|
@@ -1961,6 +1960,7 @@ export interface FielddataStats {
|
|
|
1961
1960
|
memory_size?: ByteSize;
|
|
1962
1961
|
memory_size_in_bytes: long;
|
|
1963
1962
|
fields?: Record<Field, FieldMemoryUsage>;
|
|
1963
|
+
global_ordinals: GlobalOrdinalsStats;
|
|
1964
1964
|
}
|
|
1965
1965
|
export type Fields = Field | Field[];
|
|
1966
1966
|
export interface FlushStats {
|
|
@@ -2010,8 +2010,18 @@ export interface GetStats {
|
|
|
2010
2010
|
time_in_millis: DurationValue<UnitMillis>;
|
|
2011
2011
|
total: long;
|
|
2012
2012
|
}
|
|
2013
|
+
export interface GlobalOrdinalFieldStats {
|
|
2014
|
+
build_time_in_millis: UnitMillis;
|
|
2015
|
+
build_time?: string;
|
|
2016
|
+
shard_max_value_count: long;
|
|
2017
|
+
}
|
|
2018
|
+
export interface GlobalOrdinalsStats {
|
|
2019
|
+
build_time_in_millis: UnitMillis;
|
|
2020
|
+
build_time?: string;
|
|
2021
|
+
fields?: Record<Name, GlobalOrdinalFieldStats>;
|
|
2022
|
+
}
|
|
2013
2023
|
export type GrokPattern = string;
|
|
2014
|
-
export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED';
|
|
2024
|
+
export type HealthStatus = 'green' | 'GREEN' | 'yellow' | 'YELLOW' | 'red' | 'RED' | 'unknown' | 'unavailable';
|
|
2015
2025
|
export type Host = string;
|
|
2016
2026
|
export type HttpHeaders = Record<string, string | string[]>;
|
|
2017
2027
|
export type IBDistribution = 'll' | 'spl';
|
|
@@ -2060,6 +2070,11 @@ export interface InlineGetKeys<TDocument = unknown> {
|
|
|
2060
2070
|
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument> & {
|
|
2061
2071
|
[property: string]: any;
|
|
2062
2072
|
};
|
|
2073
|
+
export interface InnerRetriever {
|
|
2074
|
+
retriever: RetrieverContainer;
|
|
2075
|
+
weight: float;
|
|
2076
|
+
normalizer: ScoreNormalizer;
|
|
2077
|
+
}
|
|
2063
2078
|
export type Ip = string;
|
|
2064
2079
|
export interface KnnQuery extends QueryDslQueryBase {
|
|
2065
2080
|
field: Field;
|
|
@@ -2098,6 +2113,13 @@ export interface LatLonGeoLocation {
|
|
|
2098
2113
|
}
|
|
2099
2114
|
export type Level = 'cluster' | 'indices' | 'shards';
|
|
2100
2115
|
export type LifecycleOperationMode = 'RUNNING' | 'STOPPING' | 'STOPPED';
|
|
2116
|
+
export interface LinearRetriever extends RetrieverBase {
|
|
2117
|
+
retrievers?: InnerRetriever[];
|
|
2118
|
+
rank_window_size?: integer;
|
|
2119
|
+
query?: string;
|
|
2120
|
+
fields?: string[];
|
|
2121
|
+
normalizer?: ScoreNormalizer;
|
|
2122
|
+
}
|
|
2101
2123
|
export type MapboxVectorTiles = ArrayBuffer;
|
|
2102
2124
|
export interface MergesStats {
|
|
2103
2125
|
current: long;
|
|
@@ -2164,6 +2186,12 @@ export type Normalization = 'no' | 'h1' | 'h2' | 'h3' | 'z';
|
|
|
2164
2186
|
export type OpType = 'index' | 'create';
|
|
2165
2187
|
export type Password = string;
|
|
2166
2188
|
export type Percentage = string | float;
|
|
2189
|
+
export interface PinnedRetriever extends RetrieverBase {
|
|
2190
|
+
retriever: RetrieverContainer;
|
|
2191
|
+
ids?: string[];
|
|
2192
|
+
docs?: SpecifiedDocument[];
|
|
2193
|
+
rank_window_size?: integer;
|
|
2194
|
+
}
|
|
2167
2195
|
export type PipelineName = string;
|
|
2168
2196
|
export interface PluginStats {
|
|
2169
2197
|
classname: string;
|
|
@@ -2195,6 +2223,8 @@ export interface RRFRetriever extends RetrieverBase {
|
|
|
2195
2223
|
retrievers: RetrieverContainer[];
|
|
2196
2224
|
rank_constant?: integer;
|
|
2197
2225
|
rank_window_size?: integer;
|
|
2226
|
+
query?: string;
|
|
2227
|
+
fields?: string[];
|
|
2198
2228
|
}
|
|
2199
2229
|
export interface RankBase {
|
|
2200
2230
|
}
|
|
@@ -2232,6 +2262,10 @@ export interface RequestCacheStats {
|
|
|
2232
2262
|
export interface RescoreVector {
|
|
2233
2263
|
oversample: float;
|
|
2234
2264
|
}
|
|
2265
|
+
export interface RescorerRetriever extends RetrieverBase {
|
|
2266
|
+
retriever: RetrieverContainer;
|
|
2267
|
+
rescore: SearchRescore | SearchRescore[];
|
|
2268
|
+
}
|
|
2235
2269
|
export type Result = 'created' | 'updated' | 'deleted' | 'not_found' | 'noop';
|
|
2236
2270
|
export interface Retries {
|
|
2237
2271
|
bulk: long;
|
|
@@ -2240,6 +2274,7 @@ export interface Retries {
|
|
|
2240
2274
|
export interface RetrieverBase {
|
|
2241
2275
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2242
2276
|
min_score?: float;
|
|
2277
|
+
_name?: string;
|
|
2243
2278
|
}
|
|
2244
2279
|
export interface RetrieverContainer {
|
|
2245
2280
|
standard?: StandardRetriever;
|
|
@@ -2247,6 +2282,9 @@ export interface RetrieverContainer {
|
|
|
2247
2282
|
rrf?: RRFRetriever;
|
|
2248
2283
|
text_similarity_reranker?: TextSimilarityReranker;
|
|
2249
2284
|
rule?: RuleRetriever;
|
|
2285
|
+
rescorer?: RescorerRetriever;
|
|
2286
|
+
linear?: LinearRetriever;
|
|
2287
|
+
pinned?: PinnedRetriever;
|
|
2250
2288
|
}
|
|
2251
2289
|
export type Routing = string;
|
|
2252
2290
|
export interface RrfRank {
|
|
@@ -2254,12 +2292,13 @@ export interface RrfRank {
|
|
|
2254
2292
|
rank_window_size?: long;
|
|
2255
2293
|
}
|
|
2256
2294
|
export interface RuleRetriever extends RetrieverBase {
|
|
2257
|
-
ruleset_ids: Id[];
|
|
2295
|
+
ruleset_ids: Id | Id[];
|
|
2258
2296
|
match_criteria: any;
|
|
2259
2297
|
retriever: RetrieverContainer;
|
|
2260
2298
|
rank_window_size?: integer;
|
|
2261
2299
|
}
|
|
2262
2300
|
export type ScalarValue = long | double | string | boolean | null;
|
|
2301
|
+
export type ScoreNormalizer = 'none' | 'minmax' | 'l2_norm';
|
|
2263
2302
|
export interface ScoreSort {
|
|
2264
2303
|
order?: SortOrder;
|
|
2265
2304
|
}
|
|
@@ -2324,7 +2363,6 @@ export interface SegmentsStats {
|
|
|
2324
2363
|
fixed_bit_set?: ByteSize;
|
|
2325
2364
|
fixed_bit_set_memory_in_bytes: long;
|
|
2326
2365
|
index_writer_memory?: ByteSize;
|
|
2327
|
-
index_writer_max_memory_in_bytes?: long;
|
|
2328
2366
|
index_writer_memory_in_bytes: long;
|
|
2329
2367
|
max_unsafe_auto_id_timestamp: long;
|
|
2330
2368
|
memory?: ByteSize;
|
|
@@ -2333,11 +2371,11 @@ export interface SegmentsStats {
|
|
|
2333
2371
|
norms_memory_in_bytes: long;
|
|
2334
2372
|
points_memory?: ByteSize;
|
|
2335
2373
|
points_memory_in_bytes: long;
|
|
2336
|
-
stored_memory?: ByteSize;
|
|
2337
2374
|
stored_fields_memory_in_bytes: long;
|
|
2375
|
+
stored_fields_memory?: ByteSize;
|
|
2338
2376
|
terms_memory_in_bytes: long;
|
|
2339
2377
|
terms_memory?: ByteSize;
|
|
2340
|
-
|
|
2378
|
+
term_vectors_memory?: ByteSize;
|
|
2341
2379
|
term_vectors_memory_in_bytes: long;
|
|
2342
2380
|
version_map_memory?: ByteSize;
|
|
2343
2381
|
version_map_memory_in_bytes: long;
|
|
@@ -2382,6 +2420,10 @@ export type SortOptions = SortOptionsKeys & {
|
|
|
2382
2420
|
};
|
|
2383
2421
|
export type SortOrder = 'asc' | 'desc';
|
|
2384
2422
|
export type SortResults = FieldValue[];
|
|
2423
|
+
export interface SpecifiedDocument {
|
|
2424
|
+
index?: IndexName;
|
|
2425
|
+
id: Id;
|
|
2426
|
+
}
|
|
2385
2427
|
export interface StandardRetriever extends RetrieverBase {
|
|
2386
2428
|
query?: QueryDslQueryContainer;
|
|
2387
2429
|
search_after?: SortResults;
|
|
@@ -2420,13 +2462,18 @@ export interface TextSimilarityReranker extends RetrieverBase {
|
|
|
2420
2462
|
retriever: RetrieverContainer;
|
|
2421
2463
|
rank_window_size?: integer;
|
|
2422
2464
|
inference_id?: string;
|
|
2423
|
-
inference_text
|
|
2424
|
-
field
|
|
2465
|
+
inference_text: string;
|
|
2466
|
+
field: string;
|
|
2425
2467
|
}
|
|
2426
2468
|
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2427
2469
|
export type TimeOfDay = string;
|
|
2428
2470
|
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
2429
2471
|
export type TimeZone = string;
|
|
2472
|
+
export interface TokenPruningConfig {
|
|
2473
|
+
tokens_freq_ratio_threshold?: integer;
|
|
2474
|
+
tokens_weight_threshold?: float;
|
|
2475
|
+
only_score_pruned_tokens?: boolean;
|
|
2476
|
+
}
|
|
2430
2477
|
export interface TopLeftBottomRightGeoBounds {
|
|
2431
2478
|
top_left: GeoLocation;
|
|
2432
2479
|
bottom_right: GeoLocation;
|
|
@@ -2639,6 +2686,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
|
|
|
2639
2686
|
}
|
|
2640
2687
|
export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
|
|
2641
2688
|
compression?: double;
|
|
2689
|
+
execution_hint?: AggregationsTDigestExecutionHint;
|
|
2642
2690
|
}
|
|
2643
2691
|
export interface AggregationsBucketAggregationBase {
|
|
2644
2692
|
}
|
|
@@ -2887,9 +2935,10 @@ export interface AggregationsFiltersAggregation extends AggregationsBucketAggreg
|
|
|
2887
2935
|
keyed?: boolean;
|
|
2888
2936
|
}
|
|
2889
2937
|
export interface AggregationsFiltersBucketKeys extends AggregationsMultiBucketBase {
|
|
2938
|
+
key?: string;
|
|
2890
2939
|
}
|
|
2891
2940
|
export type AggregationsFiltersBucket = AggregationsFiltersBucketKeys & {
|
|
2892
|
-
[property: string]: AggregationsAggregate | long;
|
|
2941
|
+
[property: string]: AggregationsAggregate | string | long;
|
|
2893
2942
|
};
|
|
2894
2943
|
export interface AggregationsFormatMetricAggregationBase extends AggregationsMetricAggregationBase {
|
|
2895
2944
|
format?: string;
|
|
@@ -3188,6 +3237,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregate extends Aggregatio
|
|
|
3188
3237
|
}
|
|
3189
3238
|
export interface AggregationsMedianAbsoluteDeviationAggregation extends AggregationsFormatMetricAggregationBase {
|
|
3190
3239
|
compression?: double;
|
|
3240
|
+
execution_hint?: AggregationsTDigestExecutionHint;
|
|
3191
3241
|
}
|
|
3192
3242
|
export interface AggregationsMetricAggregationBase {
|
|
3193
3243
|
field?: Field;
|
|
@@ -3530,7 +3580,9 @@ export interface AggregationsSumBucketAggregation extends AggregationsPipelineAg
|
|
|
3530
3580
|
}
|
|
3531
3581
|
export interface AggregationsTDigest {
|
|
3532
3582
|
compression?: integer;
|
|
3583
|
+
execution_hint?: AggregationsTDigestExecutionHint;
|
|
3533
3584
|
}
|
|
3585
|
+
export type AggregationsTDigestExecutionHint = 'default' | 'high_accuracy';
|
|
3534
3586
|
export interface AggregationsTDigestPercentileRanksAggregate extends AggregationsPercentilesAggregateBase {
|
|
3535
3587
|
}
|
|
3536
3588
|
export interface AggregationsTDigestPercentilesAggregate extends AggregationsPercentilesAggregateBase {
|
|
@@ -3679,12 +3731,21 @@ export interface AggregationsWeightedAverageValue {
|
|
|
3679
3731
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3680
3732
|
}
|
|
3681
3733
|
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisArabicAnalyzer | AnalysisArmenianAnalyzer | AnalysisBasqueAnalyzer | AnalysisBengaliAnalyzer | AnalysisBrazilianAnalyzer | AnalysisBulgarianAnalyzer | AnalysisCatalanAnalyzer | AnalysisChineseAnalyzer | AnalysisCjkAnalyzer | AnalysisCzechAnalyzer | AnalysisDanishAnalyzer | AnalysisDutchAnalyzer | AnalysisEnglishAnalyzer | AnalysisEstonianAnalyzer | AnalysisFinnishAnalyzer | AnalysisFrenchAnalyzer | AnalysisGalicianAnalyzer | AnalysisGermanAnalyzer | AnalysisGreekAnalyzer | AnalysisHindiAnalyzer | AnalysisHungarianAnalyzer | AnalysisIndonesianAnalyzer | AnalysisIrishAnalyzer | AnalysisItalianAnalyzer | AnalysisLatvianAnalyzer | AnalysisLithuanianAnalyzer | AnalysisNorwegianAnalyzer | AnalysisPersianAnalyzer | AnalysisPortugueseAnalyzer | AnalysisRomanianAnalyzer | AnalysisRussianAnalyzer | AnalysisSerbianAnalyzer | AnalysisSoraniAnalyzer | AnalysisSpanishAnalyzer | AnalysisSwedishAnalyzer | AnalysisTurkishAnalyzer | AnalysisThaiAnalyzer;
|
|
3734
|
+
export interface AnalysisApostropheTokenFilter extends AnalysisTokenFilterBase {
|
|
3735
|
+
type: 'apostrophe';
|
|
3736
|
+
}
|
|
3682
3737
|
export interface AnalysisArabicAnalyzer {
|
|
3683
3738
|
type: 'arabic';
|
|
3684
3739
|
stopwords?: AnalysisStopWords;
|
|
3685
3740
|
stopwords_path?: string;
|
|
3686
3741
|
stem_exclusion?: string[];
|
|
3687
3742
|
}
|
|
3743
|
+
export interface AnalysisArabicNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3744
|
+
type: 'arabic_normalization';
|
|
3745
|
+
}
|
|
3746
|
+
export interface AnalysisArabicStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3747
|
+
type: 'arabic_stem';
|
|
3748
|
+
}
|
|
3688
3749
|
export interface AnalysisArmenianAnalyzer {
|
|
3689
3750
|
type: 'armenian';
|
|
3690
3751
|
stopwords?: AnalysisStopWords;
|
|
@@ -3707,11 +3768,17 @@ export interface AnalysisBengaliAnalyzer {
|
|
|
3707
3768
|
stopwords_path?: string;
|
|
3708
3769
|
stem_exclusion?: string[];
|
|
3709
3770
|
}
|
|
3771
|
+
export interface AnalysisBengaliNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3772
|
+
type: 'bengali_normalization';
|
|
3773
|
+
}
|
|
3710
3774
|
export interface AnalysisBrazilianAnalyzer {
|
|
3711
3775
|
type: 'brazilian';
|
|
3712
3776
|
stopwords?: AnalysisStopWords;
|
|
3713
3777
|
stopwords_path?: string;
|
|
3714
3778
|
}
|
|
3779
|
+
export interface AnalysisBrazilianStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3780
|
+
type: 'brazilian_stem';
|
|
3781
|
+
}
|
|
3715
3782
|
export interface AnalysisBulgarianAnalyzer {
|
|
3716
3783
|
type: 'bulgarian';
|
|
3717
3784
|
stopwords?: AnalysisStopWords;
|
|
@@ -3744,6 +3811,18 @@ export interface AnalysisCjkAnalyzer {
|
|
|
3744
3811
|
stopwords?: AnalysisStopWords;
|
|
3745
3812
|
stopwords_path?: string;
|
|
3746
3813
|
}
|
|
3814
|
+
export type AnalysisCjkBigramIgnoredScript = 'han' | 'hangul' | 'hiragana' | 'katakana';
|
|
3815
|
+
export interface AnalysisCjkBigramTokenFilter extends AnalysisTokenFilterBase {
|
|
3816
|
+
type: 'cjk_bigram';
|
|
3817
|
+
ignored_scripts?: AnalysisCjkBigramIgnoredScript[];
|
|
3818
|
+
output_unigrams?: boolean;
|
|
3819
|
+
}
|
|
3820
|
+
export interface AnalysisCjkWidthTokenFilter extends AnalysisTokenFilterBase {
|
|
3821
|
+
type: 'cjk_width';
|
|
3822
|
+
}
|
|
3823
|
+
export interface AnalysisClassicTokenFilter extends AnalysisTokenFilterBase {
|
|
3824
|
+
type: 'classic';
|
|
3825
|
+
}
|
|
3747
3826
|
export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
|
|
3748
3827
|
type: 'classic';
|
|
3749
3828
|
max_token_length?: integer;
|
|
@@ -3756,7 +3835,6 @@ export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase
|
|
|
3756
3835
|
query_mode?: boolean;
|
|
3757
3836
|
}
|
|
3758
3837
|
export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilterBase {
|
|
3759
|
-
hyphenation_patterns_path?: string;
|
|
3760
3838
|
max_subword_size?: integer;
|
|
3761
3839
|
min_subword_size?: integer;
|
|
3762
3840
|
min_word_size?: integer;
|
|
@@ -3788,11 +3866,17 @@ export interface AnalysisCzechAnalyzer {
|
|
|
3788
3866
|
stopwords_path?: string;
|
|
3789
3867
|
stem_exclusion?: string[];
|
|
3790
3868
|
}
|
|
3869
|
+
export interface AnalysisCzechStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3870
|
+
type: 'czech_stem';
|
|
3871
|
+
}
|
|
3791
3872
|
export interface AnalysisDanishAnalyzer {
|
|
3792
3873
|
type: 'danish';
|
|
3793
3874
|
stopwords?: AnalysisStopWords;
|
|
3794
3875
|
stopwords_path?: string;
|
|
3795
3876
|
}
|
|
3877
|
+
export interface AnalysisDecimalDigitTokenFilter extends AnalysisTokenFilterBase {
|
|
3878
|
+
type: 'decimal_digit';
|
|
3879
|
+
}
|
|
3796
3880
|
export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
|
|
3797
3881
|
export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
|
|
3798
3882
|
type: 'delimited_payload';
|
|
@@ -3808,6 +3892,9 @@ export interface AnalysisDutchAnalyzer {
|
|
|
3808
3892
|
stopwords_path?: string;
|
|
3809
3893
|
stem_exclusion?: string[];
|
|
3810
3894
|
}
|
|
3895
|
+
export interface AnalysisDutchStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3896
|
+
type: 'dutch_stem';
|
|
3897
|
+
}
|
|
3811
3898
|
export type AnalysisEdgeNGramSide = 'front' | 'back';
|
|
3812
3899
|
export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
3813
3900
|
type: 'edge_ngram';
|
|
@@ -3860,12 +3947,18 @@ export interface AnalysisFinnishAnalyzer {
|
|
|
3860
3947
|
stopwords_path?: string;
|
|
3861
3948
|
stem_exclusion?: string[];
|
|
3862
3949
|
}
|
|
3950
|
+
export interface AnalysisFlattenGraphTokenFilter extends AnalysisTokenFilterBase {
|
|
3951
|
+
type: 'flatten_graph';
|
|
3952
|
+
}
|
|
3863
3953
|
export interface AnalysisFrenchAnalyzer {
|
|
3864
3954
|
type: 'french';
|
|
3865
3955
|
stopwords?: AnalysisStopWords;
|
|
3866
3956
|
stopwords_path?: string;
|
|
3867
3957
|
stem_exclusion?: string[];
|
|
3868
3958
|
}
|
|
3959
|
+
export interface AnalysisFrenchStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3960
|
+
type: 'french_stem';
|
|
3961
|
+
}
|
|
3869
3962
|
export interface AnalysisGalicianAnalyzer {
|
|
3870
3963
|
type: 'galician';
|
|
3871
3964
|
stopwords?: AnalysisStopWords;
|
|
@@ -3878,6 +3971,12 @@ export interface AnalysisGermanAnalyzer {
|
|
|
3878
3971
|
stopwords_path?: string;
|
|
3879
3972
|
stem_exclusion?: string[];
|
|
3880
3973
|
}
|
|
3974
|
+
export interface AnalysisGermanNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3975
|
+
type: 'german_normalization';
|
|
3976
|
+
}
|
|
3977
|
+
export interface AnalysisGermanStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3978
|
+
type: 'german_stem';
|
|
3979
|
+
}
|
|
3881
3980
|
export interface AnalysisGreekAnalyzer {
|
|
3882
3981
|
type: 'greek';
|
|
3883
3982
|
stopwords?: AnalysisStopWords;
|
|
@@ -3889,6 +3988,9 @@ export interface AnalysisHindiAnalyzer {
|
|
|
3889
3988
|
stopwords_path?: string;
|
|
3890
3989
|
stem_exclusion?: string[];
|
|
3891
3990
|
}
|
|
3991
|
+
export interface AnalysisHindiNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
3992
|
+
type: 'hindi_normalization';
|
|
3993
|
+
}
|
|
3892
3994
|
export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
|
|
3893
3995
|
type: 'html_strip';
|
|
3894
3996
|
escaped_tags?: string[];
|
|
@@ -3904,10 +4006,15 @@ export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3904
4006
|
dedup?: boolean;
|
|
3905
4007
|
dictionary?: string;
|
|
3906
4008
|
locale: string;
|
|
4009
|
+
lang: string;
|
|
4010
|
+
language: string;
|
|
3907
4011
|
longest_only?: boolean;
|
|
3908
4012
|
}
|
|
3909
4013
|
export interface AnalysisHyphenationDecompounderTokenFilter extends AnalysisCompoundWordTokenFilterBase {
|
|
3910
4014
|
type: 'hyphenation_decompounder';
|
|
4015
|
+
hyphenation_patterns_path: string;
|
|
4016
|
+
no_sub_matches?: boolean;
|
|
4017
|
+
no_overlapping_matches?: boolean;
|
|
3911
4018
|
}
|
|
3912
4019
|
export interface AnalysisIcuAnalyzer {
|
|
3913
4020
|
type: 'icu_analyzer';
|
|
@@ -3921,16 +4028,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
|
|
|
3921
4028
|
export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
|
|
3922
4029
|
type: 'icu_collation';
|
|
3923
4030
|
alternate?: AnalysisIcuCollationAlternate;
|
|
3924
|
-
|
|
3925
|
-
|
|
4031
|
+
caseFirst?: AnalysisIcuCollationCaseFirst;
|
|
4032
|
+
caseLevel?: boolean;
|
|
3926
4033
|
country?: string;
|
|
3927
4034
|
decomposition?: AnalysisIcuCollationDecomposition;
|
|
3928
|
-
|
|
4035
|
+
hiraganaQuaternaryMode?: boolean;
|
|
3929
4036
|
language?: string;
|
|
3930
4037
|
numeric?: boolean;
|
|
3931
4038
|
rules?: string;
|
|
3932
4039
|
strength?: AnalysisIcuCollationStrength;
|
|
3933
|
-
|
|
4040
|
+
variableTop?: string;
|
|
3934
4041
|
variant?: string;
|
|
3935
4042
|
}
|
|
3936
4043
|
export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3941,6 +4048,7 @@ export interface AnalysisIcuNormalizationCharFilter extends AnalysisCharFilterBa
|
|
|
3941
4048
|
type: 'icu_normalizer';
|
|
3942
4049
|
mode?: AnalysisIcuNormalizationMode;
|
|
3943
4050
|
name?: AnalysisIcuNormalizationType;
|
|
4051
|
+
unicode_set_filter?: string;
|
|
3944
4052
|
}
|
|
3945
4053
|
export type AnalysisIcuNormalizationMode = 'decompose' | 'compose';
|
|
3946
4054
|
export interface AnalysisIcuNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3958,6 +4066,9 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
|
|
|
3958
4066
|
dir?: AnalysisIcuTransformDirection;
|
|
3959
4067
|
id: string;
|
|
3960
4068
|
}
|
|
4069
|
+
export interface AnalysisIndicNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
4070
|
+
type: 'indic_normalization';
|
|
4071
|
+
}
|
|
3961
4072
|
export interface AnalysisIndonesianAnalyzer {
|
|
3962
4073
|
type: 'indonesian';
|
|
3963
4074
|
stopwords?: AnalysisStopWords;
|
|
@@ -3976,6 +4087,10 @@ export interface AnalysisItalianAnalyzer {
|
|
|
3976
4087
|
stopwords_path?: string;
|
|
3977
4088
|
stem_exclusion?: string[];
|
|
3978
4089
|
}
|
|
4090
|
+
export interface AnalysisJaStopTokenFilter extends AnalysisTokenFilterBase {
|
|
4091
|
+
type: 'ja_stop';
|
|
4092
|
+
stopwords?: AnalysisStopWords;
|
|
4093
|
+
}
|
|
3979
4094
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3980
4095
|
type: 'kstem';
|
|
3981
4096
|
}
|
|
@@ -3983,7 +4098,7 @@ export type AnalysisKeepTypesMode = 'include' | 'exclude';
|
|
|
3983
4098
|
export interface AnalysisKeepTypesTokenFilter extends AnalysisTokenFilterBase {
|
|
3984
4099
|
type: 'keep_types';
|
|
3985
4100
|
mode?: AnalysisKeepTypesMode;
|
|
3986
|
-
types
|
|
4101
|
+
types: string[];
|
|
3987
4102
|
}
|
|
3988
4103
|
export interface AnalysisKeepWordsTokenFilter extends AnalysisTokenFilterBase {
|
|
3989
4104
|
type: 'keep';
|
|
@@ -4002,6 +4117,9 @@ export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBas
|
|
|
4002
4117
|
keywords_path?: string;
|
|
4003
4118
|
keywords_pattern?: string;
|
|
4004
4119
|
}
|
|
4120
|
+
export interface AnalysisKeywordRepeatTokenFilter extends AnalysisTokenFilterBase {
|
|
4121
|
+
type: 'keyword_repeat';
|
|
4122
|
+
}
|
|
4005
4123
|
export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
|
|
4006
4124
|
type: 'keyword';
|
|
4007
4125
|
buffer_size?: integer;
|
|
@@ -4069,8 +4187,9 @@ export interface AnalysisLowercaseNormalizer {
|
|
|
4069
4187
|
}
|
|
4070
4188
|
export interface AnalysisLowercaseTokenFilter extends AnalysisTokenFilterBase {
|
|
4071
4189
|
type: 'lowercase';
|
|
4072
|
-
language?:
|
|
4190
|
+
language?: AnalysisLowercaseTokenFilterLanguages;
|
|
4073
4191
|
}
|
|
4192
|
+
export type AnalysisLowercaseTokenFilterLanguages = 'greek' | 'irish' | 'turkish';
|
|
4074
4193
|
export interface AnalysisLowercaseTokenizer extends AnalysisTokenizerBase {
|
|
4075
4194
|
type: 'lowercase';
|
|
4076
4195
|
}
|
|
@@ -4079,6 +4198,13 @@ export interface AnalysisMappingCharFilter extends AnalysisCharFilterBase {
|
|
|
4079
4198
|
mappings?: string[];
|
|
4080
4199
|
mappings_path?: string;
|
|
4081
4200
|
}
|
|
4201
|
+
export interface AnalysisMinHashTokenFilter extends AnalysisTokenFilterBase {
|
|
4202
|
+
type: 'min_hash';
|
|
4203
|
+
bucket_count?: integer;
|
|
4204
|
+
hash_count?: integer;
|
|
4205
|
+
hash_set_size?: integer;
|
|
4206
|
+
with_rotation?: boolean;
|
|
4207
|
+
}
|
|
4082
4208
|
export interface AnalysisMultiplexerTokenFilter extends AnalysisTokenFilterBase {
|
|
4083
4209
|
type: 'multiplexer';
|
|
4084
4210
|
filters: string[];
|
|
@@ -4168,6 +4294,12 @@ export interface AnalysisPersianAnalyzer {
|
|
|
4168
4294
|
stopwords?: AnalysisStopWords;
|
|
4169
4295
|
stopwords_path?: string;
|
|
4170
4296
|
}
|
|
4297
|
+
export interface AnalysisPersianNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
4298
|
+
type: 'persian_normalization';
|
|
4299
|
+
}
|
|
4300
|
+
export interface AnalysisPersianStemTokenFilter extends AnalysisTokenFilterBase {
|
|
4301
|
+
type: 'persian_stem';
|
|
4302
|
+
}
|
|
4171
4303
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
4172
4304
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
4173
4305
|
export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
|
|
@@ -4212,17 +4344,29 @@ export interface AnalysisRussianAnalyzer {
|
|
|
4212
4344
|
stopwords_path?: string;
|
|
4213
4345
|
stem_exclusion?: string[];
|
|
4214
4346
|
}
|
|
4347
|
+
export interface AnalysisRussianStemTokenFilter extends AnalysisTokenFilterBase {
|
|
4348
|
+
type: 'russian_stem';
|
|
4349
|
+
}
|
|
4350
|
+
export interface AnalysisScandinavianFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
4351
|
+
type: 'scandinavian_folding';
|
|
4352
|
+
}
|
|
4353
|
+
export interface AnalysisScandinavianNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
4354
|
+
type: 'scandinavian_normalization';
|
|
4355
|
+
}
|
|
4215
4356
|
export interface AnalysisSerbianAnalyzer {
|
|
4216
4357
|
type: 'serbian';
|
|
4217
4358
|
stopwords?: AnalysisStopWords;
|
|
4218
4359
|
stopwords_path?: string;
|
|
4219
4360
|
stem_exclusion?: string[];
|
|
4220
4361
|
}
|
|
4362
|
+
export interface AnalysisSerbianNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
4363
|
+
type: 'serbian_normalization';
|
|
4364
|
+
}
|
|
4221
4365
|
export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
|
|
4222
4366
|
type: 'shingle';
|
|
4223
4367
|
filler_token?: string;
|
|
4224
|
-
max_shingle_size?: integer
|
|
4225
|
-
min_shingle_size?: integer
|
|
4368
|
+
max_shingle_size?: SpecUtilsStringified<integer>;
|
|
4369
|
+
min_shingle_size?: SpecUtilsStringified<integer>;
|
|
4226
4370
|
output_unigrams?: boolean;
|
|
4227
4371
|
output_unigrams_if_no_shingles?: boolean;
|
|
4228
4372
|
token_separator?: string;
|
|
@@ -4245,7 +4389,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
4245
4389
|
language: AnalysisSnowballLanguage;
|
|
4246
4390
|
stopwords?: AnalysisStopWords;
|
|
4247
4391
|
}
|
|
4248
|
-
export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
|
|
4392
|
+
export type AnalysisSnowballLanguage = 'Arabic' | 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Estonian' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Irish' | 'Kp' | 'Lithuanian' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Serbian' | 'Spanish' | 'Swedish' | 'Turkish';
|
|
4249
4393
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
4250
4394
|
type: 'snowball';
|
|
4251
4395
|
language?: AnalysisSnowballLanguage;
|
|
@@ -4256,6 +4400,9 @@ export interface AnalysisSoraniAnalyzer {
|
|
|
4256
4400
|
stopwords_path?: string;
|
|
4257
4401
|
stem_exclusion?: string[];
|
|
4258
4402
|
}
|
|
4403
|
+
export interface AnalysisSoraniNormalizationTokenFilter extends AnalysisTokenFilterBase {
|
|
4404
|
+
type: 'sorani_normalization';
|
|
4405
|
+
}
|
|
4259
4406
|
export interface AnalysisSpanishAnalyzer {
|
|
4260
4407
|
type: 'spanish';
|
|
4261
4408
|
stopwords?: AnalysisStopWords;
|
|
@@ -4294,7 +4441,8 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4294
4441
|
stopwords?: AnalysisStopWords;
|
|
4295
4442
|
stopwords_path?: string;
|
|
4296
4443
|
}
|
|
4297
|
-
export type
|
|
4444
|
+
export type AnalysisStopWordLanguage = '_arabic_' | '_armenian_' | '_basque_' | '_bengali_' | '_brazilian_' | '_bulgarian_' | '_catalan_' | '_cjk_' | '_czech_' | '_danish_' | '_dutch_' | '_english_' | '_estonian_' | '_finnish_' | '_french_' | '_galician_' | '_german_' | '_greek_' | '_hindi_' | '_hungarian_' | '_indonesian_' | '_irish_' | '_italian_' | '_latvian_' | '_lithuanian_' | '_norwegian_' | '_persian_' | '_portuguese_' | '_romanian_' | '_russian_' | '_serbian_' | '_sorani_' | '_spanish_' | '_swedish_' | '_thai_' | '_turkish_' | '_none_';
|
|
4445
|
+
export type AnalysisStopWords = AnalysisStopWordLanguage | string[];
|
|
4298
4446
|
export interface AnalysisSwedishAnalyzer {
|
|
4299
4447
|
type: 'swedish';
|
|
4300
4448
|
stopwords?: AnalysisStopWords;
|
|
@@ -4302,19 +4450,13 @@ export interface AnalysisSwedishAnalyzer {
|
|
|
4302
4450
|
stem_exclusion?: string[];
|
|
4303
4451
|
}
|
|
4304
4452
|
export type AnalysisSynonymFormat = 'solr' | 'wordnet';
|
|
4305
|
-
export interface AnalysisSynonymGraphTokenFilter extends
|
|
4453
|
+
export interface AnalysisSynonymGraphTokenFilter extends AnalysisSynonymTokenFilterBase {
|
|
4306
4454
|
type: 'synonym_graph';
|
|
4307
|
-
expand?: boolean;
|
|
4308
|
-
format?: AnalysisSynonymFormat;
|
|
4309
|
-
lenient?: boolean;
|
|
4310
|
-
synonyms?: string[];
|
|
4311
|
-
synonyms_path?: string;
|
|
4312
|
-
synonyms_set?: string;
|
|
4313
|
-
tokenizer?: string;
|
|
4314
|
-
updateable?: boolean;
|
|
4315
4455
|
}
|
|
4316
|
-
export interface AnalysisSynonymTokenFilter extends
|
|
4456
|
+
export interface AnalysisSynonymTokenFilter extends AnalysisSynonymTokenFilterBase {
|
|
4317
4457
|
type: 'synonym';
|
|
4458
|
+
}
|
|
4459
|
+
export interface AnalysisSynonymTokenFilterBase extends AnalysisTokenFilterBase {
|
|
4318
4460
|
expand?: boolean;
|
|
4319
4461
|
format?: AnalysisSynonymFormat;
|
|
4320
4462
|
lenient?: boolean;
|
|
@@ -4337,7 +4479,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
|
4337
4479
|
export interface AnalysisTokenFilterBase {
|
|
4338
4480
|
version?: VersionString;
|
|
4339
4481
|
}
|
|
4340
|
-
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
4482
|
+
export type AnalysisTokenFilterDefinition = AnalysisApostropheTokenFilter | AnalysisArabicStemTokenFilter | AnalysisArabicNormalizationTokenFilter | AnalysisAsciiFoldingTokenFilter | AnalysisBengaliNormalizationTokenFilter | AnalysisBrazilianStemTokenFilter | AnalysisCjkBigramTokenFilter | AnalysisCjkWidthTokenFilter | AnalysisClassicTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisCzechStemTokenFilter | AnalysisDecimalDigitTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisDutchStemTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisFlattenGraphTokenFilter | AnalysisFrenchStemTokenFilter | AnalysisGermanNormalizationTokenFilter | AnalysisGermanStemTokenFilter | AnalysisHindiNormalizationTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisIndicNormalizationTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKeywordRepeatTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMinHashTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPersianNormalizationTokenFilter | AnalysisPersianStemTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisRussianStemTokenFilter | AnalysisScandinavianFoldingTokenFilter | AnalysisScandinavianNormalizationTokenFilter | AnalysisSerbianNormalizationTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisSoraniNormalizationTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisJaStopTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
4341
4483
|
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
4342
4484
|
export interface AnalysisTokenizerBase {
|
|
4343
4485
|
version?: VersionString;
|
|
@@ -4375,26 +4517,15 @@ export interface AnalysisWhitespaceTokenizer extends AnalysisTokenizerBase {
|
|
|
4375
4517
|
type: 'whitespace';
|
|
4376
4518
|
max_token_length?: integer;
|
|
4377
4519
|
}
|
|
4378
|
-
export interface AnalysisWordDelimiterGraphTokenFilter extends
|
|
4520
|
+
export interface AnalysisWordDelimiterGraphTokenFilter extends AnalysisWordDelimiterTokenFilterBase {
|
|
4379
4521
|
type: 'word_delimiter_graph';
|
|
4380
4522
|
adjust_offsets?: boolean;
|
|
4381
|
-
catenate_all?: boolean;
|
|
4382
|
-
catenate_numbers?: boolean;
|
|
4383
|
-
catenate_words?: boolean;
|
|
4384
|
-
generate_number_parts?: boolean;
|
|
4385
|
-
generate_word_parts?: boolean;
|
|
4386
4523
|
ignore_keywords?: boolean;
|
|
4387
|
-
preserve_original?: SpecUtilsStringified<boolean>;
|
|
4388
|
-
protected_words?: string[];
|
|
4389
|
-
protected_words_path?: string;
|
|
4390
|
-
split_on_case_change?: boolean;
|
|
4391
|
-
split_on_numerics?: boolean;
|
|
4392
|
-
stem_english_possessive?: boolean;
|
|
4393
|
-
type_table?: string[];
|
|
4394
|
-
type_table_path?: string;
|
|
4395
4524
|
}
|
|
4396
|
-
export interface AnalysisWordDelimiterTokenFilter extends
|
|
4525
|
+
export interface AnalysisWordDelimiterTokenFilter extends AnalysisWordDelimiterTokenFilterBase {
|
|
4397
4526
|
type: 'word_delimiter';
|
|
4527
|
+
}
|
|
4528
|
+
export interface AnalysisWordDelimiterTokenFilterBase extends AnalysisTokenFilterBase {
|
|
4398
4529
|
catenate_all?: boolean;
|
|
4399
4530
|
catenate_numbers?: boolean;
|
|
4400
4531
|
catenate_words?: boolean;
|
|
@@ -4412,6 +4543,7 @@ export interface AnalysisWordDelimiterTokenFilter extends AnalysisTokenFilterBas
|
|
|
4412
4543
|
export interface MappingAggregateMetricDoubleProperty extends MappingPropertyBase {
|
|
4413
4544
|
type: 'aggregate_metric_double';
|
|
4414
4545
|
default_metric: string;
|
|
4546
|
+
ignore_malformed?: boolean;
|
|
4415
4547
|
metrics: string[];
|
|
4416
4548
|
time_series_metric?: MappingTimeSeriesMetricType;
|
|
4417
4549
|
}
|
|
@@ -4445,6 +4577,12 @@ export interface MappingByteNumberProperty extends MappingNumberPropertyBase {
|
|
|
4445
4577
|
type: 'byte';
|
|
4446
4578
|
null_value?: byte;
|
|
4447
4579
|
}
|
|
4580
|
+
export interface MappingChunkingSettings {
|
|
4581
|
+
strategy: string;
|
|
4582
|
+
max_chunk_size: integer;
|
|
4583
|
+
overlap?: integer;
|
|
4584
|
+
sentence_overlap?: integer;
|
|
4585
|
+
}
|
|
4448
4586
|
export interface MappingCompletionProperty extends MappingDocValuesPropertyBase {
|
|
4449
4587
|
analyzer?: string;
|
|
4450
4588
|
contexts?: MappingSuggestContext[];
|
|
@@ -4586,6 +4724,7 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
|
4586
4724
|
null_value?: string;
|
|
4587
4725
|
similarity?: string;
|
|
4588
4726
|
split_queries_on_whitespace?: boolean;
|
|
4727
|
+
time_series_dimensions?: string[];
|
|
4589
4728
|
type: 'flattened';
|
|
4590
4729
|
}
|
|
4591
4730
|
export interface MappingFloatNumberProperty extends MappingNumberPropertyBase {
|
|
@@ -4596,6 +4735,7 @@ export interface MappingFloatRangeProperty extends MappingRangePropertyBase {
|
|
|
4596
4735
|
type: 'float_range';
|
|
4597
4736
|
}
|
|
4598
4737
|
export type MappingGeoOrientation = 'right' | 'RIGHT' | 'counterclockwise' | 'ccw' | 'left' | 'LEFT' | 'clockwise' | 'cw';
|
|
4738
|
+
export type MappingGeoPointMetricType = 'gauge' | 'counter' | 'position';
|
|
4599
4739
|
export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
4600
4740
|
ignore_malformed?: boolean;
|
|
4601
4741
|
ignore_z_value?: boolean;
|
|
@@ -4604,6 +4744,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4604
4744
|
on_script_error?: MappingOnScriptError;
|
|
4605
4745
|
script?: Script | string;
|
|
4606
4746
|
type: 'geo_point';
|
|
4747
|
+
time_series_metric?: MappingGeoPointMetricType;
|
|
4607
4748
|
}
|
|
4608
4749
|
export interface MappingGeoShapeProperty extends MappingDocValuesPropertyBase {
|
|
4609
4750
|
coerce?: boolean;
|
|
@@ -4740,7 +4881,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4740
4881
|
null_value?: string;
|
|
4741
4882
|
type: 'point';
|
|
4742
4883
|
}
|
|
4743
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
|
|
4884
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingRankVectorProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
|
|
4744
4885
|
export interface MappingPropertyBase {
|
|
4745
4886
|
meta?: Record<string, string>;
|
|
4746
4887
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4762,6 +4903,12 @@ export interface MappingRankFeaturesProperty extends MappingPropertyBase {
|
|
|
4762
4903
|
positive_score_impact?: boolean;
|
|
4763
4904
|
type: 'rank_features';
|
|
4764
4905
|
}
|
|
4906
|
+
export type MappingRankVectorElementType = 'byte' | 'float' | 'bit';
|
|
4907
|
+
export interface MappingRankVectorProperty extends MappingPropertyBase {
|
|
4908
|
+
type: 'rank_vectors';
|
|
4909
|
+
element_type?: MappingRankVectorElementType;
|
|
4910
|
+
dims?: integer;
|
|
4911
|
+
}
|
|
4765
4912
|
export interface MappingRoutingField {
|
|
4766
4913
|
required: boolean;
|
|
4767
4914
|
}
|
|
@@ -4798,11 +4945,16 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4798
4945
|
term_vector?: MappingTermVectorOption;
|
|
4799
4946
|
type: 'search_as_you_type';
|
|
4800
4947
|
}
|
|
4948
|
+
export interface MappingSemanticTextIndexOptions {
|
|
4949
|
+
dense_vector?: MappingDenseVectorIndexOptions;
|
|
4950
|
+
}
|
|
4801
4951
|
export interface MappingSemanticTextProperty {
|
|
4802
4952
|
type: 'semantic_text';
|
|
4803
4953
|
meta?: Record<string, string>;
|
|
4804
4954
|
inference_id?: Id;
|
|
4805
4955
|
search_inference_id?: Id;
|
|
4956
|
+
index_options?: MappingSemanticTextIndexOptions;
|
|
4957
|
+
chunking_settings?: MappingChunkingSettings;
|
|
4806
4958
|
}
|
|
4807
4959
|
export interface MappingShapeProperty extends MappingDocValuesPropertyBase {
|
|
4808
4960
|
coerce?: boolean;
|
|
@@ -4827,8 +4979,14 @@ export interface MappingSourceField {
|
|
|
4827
4979
|
mode?: MappingSourceFieldMode;
|
|
4828
4980
|
}
|
|
4829
4981
|
export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4982
|
+
export interface MappingSparseVectorIndexOptions {
|
|
4983
|
+
prune?: boolean;
|
|
4984
|
+
pruning_config?: TokenPruningConfig;
|
|
4985
|
+
}
|
|
4830
4986
|
export interface MappingSparseVectorProperty extends MappingPropertyBase {
|
|
4987
|
+
store?: boolean;
|
|
4831
4988
|
type: 'sparse_vector';
|
|
4989
|
+
index_options?: MappingSparseVectorIndexOptions;
|
|
4832
4990
|
}
|
|
4833
4991
|
export type MappingSubobjects = boolean | 'true' | 'false' | 'auto';
|
|
4834
4992
|
export interface MappingSuggestContext {
|
|
@@ -5040,7 +5198,7 @@ export type QueryDslGeoDistanceQuery = QueryDslGeoDistanceQueryKeys & {
|
|
|
5040
5198
|
};
|
|
5041
5199
|
export type QueryDslGeoExecution = 'memory' | 'indexed';
|
|
5042
5200
|
export interface QueryDslGeoGridQuery extends QueryDslQueryBase {
|
|
5043
|
-
|
|
5201
|
+
geotile?: GeoTile;
|
|
5044
5202
|
geohash?: GeoHash;
|
|
5045
5203
|
geohex?: GeoHexCell;
|
|
5046
5204
|
}
|
|
@@ -5101,6 +5259,8 @@ export interface QueryDslIntervalsContainer {
|
|
|
5101
5259
|
fuzzy?: QueryDslIntervalsFuzzy;
|
|
5102
5260
|
match?: QueryDslIntervalsMatch;
|
|
5103
5261
|
prefix?: QueryDslIntervalsPrefix;
|
|
5262
|
+
range?: QueryDslIntervalsRange;
|
|
5263
|
+
regexp?: QueryDslIntervalsRegexp;
|
|
5104
5264
|
wildcard?: QueryDslIntervalsWildcard;
|
|
5105
5265
|
}
|
|
5106
5266
|
export interface QueryDslIntervalsFilter {
|
|
@@ -5141,8 +5301,23 @@ export interface QueryDslIntervalsQuery extends QueryDslQueryBase {
|
|
|
5141
5301
|
fuzzy?: QueryDslIntervalsFuzzy;
|
|
5142
5302
|
match?: QueryDslIntervalsMatch;
|
|
5143
5303
|
prefix?: QueryDslIntervalsPrefix;
|
|
5304
|
+
range?: QueryDslIntervalsRange;
|
|
5305
|
+
regexp?: QueryDslIntervalsRegexp;
|
|
5144
5306
|
wildcard?: QueryDslIntervalsWildcard;
|
|
5145
5307
|
}
|
|
5308
|
+
export interface QueryDslIntervalsRange {
|
|
5309
|
+
analyzer?: string;
|
|
5310
|
+
gte?: string;
|
|
5311
|
+
gt?: string;
|
|
5312
|
+
lte?: string;
|
|
5313
|
+
lt?: string;
|
|
5314
|
+
use_field?: Field;
|
|
5315
|
+
}
|
|
5316
|
+
export interface QueryDslIntervalsRegexp {
|
|
5317
|
+
analyzer?: string;
|
|
5318
|
+
pattern: string;
|
|
5319
|
+
use_field?: Field;
|
|
5320
|
+
}
|
|
5146
5321
|
export interface QueryDslIntervalsWildcard {
|
|
5147
5322
|
analyzer?: string;
|
|
5148
5323
|
pattern: string;
|
|
@@ -5426,7 +5601,8 @@ export interface QueryDslRegexpQuery extends QueryDslQueryBase {
|
|
|
5426
5601
|
}
|
|
5427
5602
|
export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
|
5428
5603
|
organic: QueryDslQueryContainer;
|
|
5429
|
-
ruleset_ids
|
|
5604
|
+
ruleset_ids?: Id | Id[];
|
|
5605
|
+
ruleset_id?: string;
|
|
5430
5606
|
match_criteria: any;
|
|
5431
5607
|
}
|
|
5432
5608
|
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
|
@@ -5528,7 +5704,7 @@ export interface QueryDslSparseVectorQuery extends QueryDslQueryBase {
|
|
|
5528
5704
|
inference_id?: Id;
|
|
5529
5705
|
query?: string;
|
|
5530
5706
|
prune?: boolean;
|
|
5531
|
-
pruning_config?:
|
|
5707
|
+
pruning_config?: TokenPruningConfig;
|
|
5532
5708
|
}
|
|
5533
5709
|
export interface QueryDslTermQuery extends QueryDslQueryBase {
|
|
5534
5710
|
value: FieldValue;
|
|
@@ -5557,14 +5733,9 @@ export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
|
|
5557
5733
|
export interface QueryDslTextExpansionQuery extends QueryDslQueryBase {
|
|
5558
5734
|
model_id: string;
|
|
5559
5735
|
model_text: string;
|
|
5560
|
-
pruning_config?:
|
|
5736
|
+
pruning_config?: TokenPruningConfig;
|
|
5561
5737
|
}
|
|
5562
5738
|
export type QueryDslTextQueryType = 'best_fields' | 'most_fields' | 'cross_fields' | 'phrase' | 'phrase_prefix' | 'bool_prefix';
|
|
5563
|
-
export interface QueryDslTokenPruningConfig {
|
|
5564
|
-
tokens_freq_ratio_threshold?: integer;
|
|
5565
|
-
tokens_weight_threshold?: float;
|
|
5566
|
-
only_score_pruned_tokens?: boolean;
|
|
5567
|
-
}
|
|
5568
5739
|
export interface QueryDslTypeQuery extends QueryDslQueryBase {
|
|
5569
5740
|
value: string;
|
|
5570
5741
|
}
|
|
@@ -5581,7 +5752,7 @@ export interface QueryDslUntypedRangeQuery extends QueryDslRangeQueryBase<any> {
|
|
|
5581
5752
|
}
|
|
5582
5753
|
export interface QueryDslWeightedTokensQuery extends QueryDslQueryBase {
|
|
5583
5754
|
tokens: Record<string, float>;
|
|
5584
|
-
pruning_config?:
|
|
5755
|
+
pruning_config?: TokenPruningConfig;
|
|
5585
5756
|
}
|
|
5586
5757
|
export interface QueryDslWildcardQuery extends QueryDslQueryBase {
|
|
5587
5758
|
case_insensitive?: boolean;
|
|
@@ -5662,7 +5833,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5662
5833
|
ignore_unavailable?: boolean;
|
|
5663
5834
|
lenient?: boolean;
|
|
5664
5835
|
max_concurrent_shard_requests?: long;
|
|
5665
|
-
min_compatible_shard_node?: VersionString;
|
|
5666
5836
|
preference?: string;
|
|
5667
5837
|
request_cache?: boolean;
|
|
5668
5838
|
routing?: Routing;
|
|
@@ -5768,8 +5938,20 @@ export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buc
|
|
|
5768
5938
|
export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
|
|
5769
5939
|
export type CatCatDfaColumn = 'assignment_explanation' | 'ae' | 'create_time' | 'ct' | 'createTime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'failure_reason' | 'fr' | 'failureReason' | 'id' | 'model_memory_limit' | 'mml' | 'modelMemoryLimit' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'progress' | 'p' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'type' | 't' | 'version' | 'v';
|
|
5770
5940
|
export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
|
|
5941
|
+
export type CatCatNodeColumn = 'build' | 'b' | 'completion.size' | 'cs' | 'completionSize' | 'cpu' | 'disk.avail' | 'd' | 'disk' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.used' | 'du' | 'diskUsed' | 'disk.used_percent' | 'dup' | 'diskUsedPercent' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'file_desc.current' | 'fdc' | 'fileDescriptorCurrent' | 'file_desc.max' | 'fdm' | 'fileDescriptorMax' | 'file_desc.percent' | 'fdp' | 'fileDescriptorPercent' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'heap.current' | 'hc' | 'heapCurrent' | 'heap.max' | 'hm' | 'heapMax' | 'heap.percent' | 'hp' | 'heapPercent' | 'http_address' | 'http' | 'id' | 'nodeId' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'i' | 'jdk' | 'j' | 'load_1m' | 'l' | 'load_5m' | 'l' | 'load_15m' | 'l' | 'mappings.total_count' | 'mtc' | 'mappingsTotalCount' | 'mappings.total_estimated_overhead_in_bytes' | 'mteo' | 'mappingsTotalEstimatedOverheadInBytes' | 'master' | 'm' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'name' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | 'pid' | 'p' | 'port' | 'po' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.hit_count' | 'qchc' | 'queryCacheHitCount' | 'query_cache.miss_count' | 'qcmc' | 'queryCacheMissCount' | 'ram.current' | 'rc' | 'ramCurrent' | 'ram.max' | 'rm' | 'ramMax' | 'ram.percent' | 'rp' | 'ramPercent' | 'refresh.total' | 'rto' | 'refreshTotal' | 'refresh.time' | 'rti' | 'refreshTime' | 'request_cache.memory_size' | 'rcm' | 'requestCacheMemory' | 'request_cache.evictions' | 'rce' | 'requestCacheEvictions' | 'request_cache.hit_count' | 'rchc' | 'requestCacheHitCount' | 'request_cache.miss_count' | 'rcmc' | 'requestCacheMissCount' | 'script.compilations' | 'scrcc' | 'scriptCompilations' | 'script.cache_evictions' | 'scrce' | 'scriptCacheEvictions' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'shard_stats.total_count' | 'sstc' | 'shards' | 'shardStatsTotalCount' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'uptime' | 'u' | 'version' | 'v' | string;
|
|
5942
|
+
export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[];
|
|
5943
|
+
export type CatCatRecoveryColumn = 'index' | 'i' | 'idx' | 'shard' | 's' | 'sh' | 'time' | 't' | 'ti' | 'primaryOrReplica' | 'type' | 'stage' | 'st' | 'source_host' | 'shost' | 'source_node' | 'snode' | 'target_host' | 'thost' | 'target_node' | 'tnode' | 'repository' | 'tnode' | 'snapshot' | 'snap' | 'files' | 'f' | 'files_recovered' | 'fr' | 'files_percent' | 'fp' | 'files_total' | 'tf' | 'bytes' | 'b' | 'bytes_recovered' | 'br' | 'bytes_percent' | 'bp' | 'bytes_total' | 'tb' | 'translog_ops' | 'to' | 'translog_ops_recovered' | 'tor' | 'translog_ops_percent' | 'top' | 'start_time' | 'start' | 'start_time_millis' | 'start_millis' | 'stop_time' | 'stop' | 'stop_time_millis' | 'stop_millis' | string;
|
|
5944
|
+
export type CatCatRecoveryColumns = CatCatRecoveryColumn | CatCatRecoveryColumn[];
|
|
5771
5945
|
export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
|
|
5772
5946
|
}
|
|
5947
|
+
export type CatCatSegmentsColumn = 'index' | 'i' | 'idx' | 'shard' | 's' | 'sh' | 'prirep' | 'p' | 'pr' | 'primaryOrReplica' | 'ip' | 'segment' | 'generation' | 'docs.count' | 'docs.deleted' | 'size' | 'size.memory' | 'committed' | 'searchable' | 'version' | 'compound' | 'id' | string;
|
|
5948
|
+
export type CatCatSegmentsColumns = CatCatSegmentsColumn | CatCatSegmentsColumn[];
|
|
5949
|
+
export type CatCatShardColumn = 'completion.size' | 'cs' | 'completionSize' | 'dataset.size' | 'dense_vector.value_count' | 'dvc' | 'denseVectorCount' | 'docs' | 'd' | 'dc' | 'fielddata.evictions' | 'fe' | 'fielddataEvictions' | 'fielddata.memory_size' | 'fm' | 'fielddataMemory' | 'flush.total' | 'ft' | 'flushTotal' | 'flush.total_time' | 'ftt' | 'flushTotalTime' | 'get.current' | 'gc' | 'getCurrent' | 'get.exists_time' | 'geti' | 'getExistsTime' | 'get.exists_total' | 'geto' | 'getExistsTotal' | 'get.missing_time' | 'gmti' | 'getMissingTime' | 'get.missing_total' | 'gmto' | 'getMissingTotal' | 'get.time' | 'gti' | 'getTime' | 'get.total' | 'gto' | 'getTotal' | 'id' | 'index' | 'i' | 'idx' | 'indexing.delete_current' | 'idc' | 'indexingDeleteCurrent' | 'indexing.delete_time' | 'idti' | 'indexingDeleteTime' | 'indexing.delete_total' | 'idto' | 'indexingDeleteTotal' | 'indexing.index_current' | 'iic' | 'indexingIndexCurrent' | 'indexing.index_failed_due_to_version_conflict' | 'iifvc' | 'indexingIndexFailedDueToVersionConflict' | 'indexing.index_failed' | 'iif' | 'indexingIndexFailed' | 'indexing.index_time' | 'iiti' | 'indexingIndexTime' | 'indexing.index_total' | 'iito' | 'indexingIndexTotal' | 'ip' | 'merges.current' | 'mc' | 'mergesCurrent' | 'merges.current_docs' | 'mcd' | 'mergesCurrentDocs' | 'merges.current_size' | 'mcs' | 'mergesCurrentSize' | 'merges.total' | 'mt' | 'mergesTotal' | 'merges.total_docs' | 'mtd' | 'mergesTotalDocs' | 'merges.total_size' | 'mts' | 'mergesTotalSize' | 'merges.total_time' | 'mtt' | 'mergesTotalTime' | 'node' | 'n' | 'prirep' | 'p' | 'pr' | 'primaryOrReplica' | 'query_cache.evictions' | 'qce' | 'queryCacheEvictions' | 'query_cache.memory_size' | 'qcm' | 'queryCacheMemory' | 'recoverysource.type' | 'rs' | 'refresh.time' | 'rti' | 'refreshTime' | 'refresh.total' | 'rto' | 'refreshTotal' | 'search.fetch_current' | 'sfc' | 'searchFetchCurrent' | 'search.fetch_time' | 'sfti' | 'searchFetchTime' | 'search.fetch_total' | 'sfto' | 'searchFetchTotal' | 'search.open_contexts' | 'so' | 'searchOpenContexts' | 'search.query_current' | 'sqc' | 'searchQueryCurrent' | 'search.query_time' | 'sqti' | 'searchQueryTime' | 'search.query_total' | 'sqto' | 'searchQueryTotal' | 'search.scroll_current' | 'scc' | 'searchScrollCurrent' | 'search.scroll_time' | 'scti' | 'searchScrollTime' | 'search.scroll_total' | 'scto' | 'searchScrollTotal' | 'segments.count' | 'sc' | 'segmentsCount' | 'segments.fixed_bitset_memory' | 'sfbm' | 'fixedBitsetMemory' | 'segments.index_writer_memory' | 'siwm' | 'segmentsIndexWriterMemory' | 'segments.memory' | 'sm' | 'segmentsMemory' | 'segments.version_map_memory' | 'svmm' | 'segmentsVersionMapMemory' | 'seq_no.global_checkpoint' | 'sqg' | 'globalCheckpoint' | 'seq_no.local_checkpoint' | 'sql' | 'localCheckpoint' | 'seq_no.max' | 'sqm' | 'maxSeqNo' | 'shard' | 's' | 'sh' | 'dsparse_vector.value_count' | 'svc' | 'sparseVectorCount' | 'state' | 'st' | 'store' | 'sto' | 'suggest.current' | 'suc' | 'suggestCurrent' | 'suggest.time' | 'suti' | 'suggestTime' | 'suggest.total' | 'suto' | 'suggestTotal' | 'sync_id' | 'unassigned.at' | 'ua' | 'unassigned.details' | 'ud' | 'unassigned.for' | 'uf' | 'unassigned.reason' | 'ur' | string;
|
|
5950
|
+
export type CatCatShardColumns = CatCatShardColumn | CatCatShardColumn[];
|
|
5951
|
+
export type CatCatSnapshotsColumn = 'id' | 'snapshot' | 'repository' | 're' | 'repo' | 'status' | 's' | 'start_epoch' | 'ste' | 'startEpoch' | 'start_time' | 'sti' | 'startTime' | 'end_epoch' | 'ete' | 'endEpoch' | 'end_time' | 'eti' | 'endTime' | 'duration' | 'dur' | 'indices' | 'i' | 'successful_shards' | 'ss' | 'failed_shards' | 'fs' | 'total_shards' | 'ts' | 'reason' | 'r' | string;
|
|
5952
|
+
export type CatCatSnapshotsColumns = CatCatSnapshotsColumn | CatCatSnapshotsColumn[];
|
|
5953
|
+
export type CatCatThreadPoolColumn = 'active' | 'a' | 'completed' | 'c' | 'core' | 'cr' | 'ephemeral_id' | 'eid' | 'host' | 'h' | 'ip' | 'i' | 'keep_alive' | 'k' | 'largest' | 'l' | 'max' | 'mx' | 'name' | 'node_id' | 'id' | 'node_name' | 'pid' | 'p' | 'pool_size' | 'psz' | 'port' | 'po' | 'queue' | 'q' | 'queue_size' | 'qs' | 'rejected' | 'r' | 'size' | 'sz' | 'type' | 't' | string;
|
|
5954
|
+
export type CatCatThreadPoolColumns = CatCatThreadPoolColumn | CatCatThreadPoolColumn[];
|
|
5773
5955
|
export type CatCatTrainedModelsColumn = 'create_time' | 'ct' | 'created_by' | 'c' | 'createdBy' | 'data_frame_analytics_id' | 'df' | 'dataFrameAnalytics' | 'dfid' | 'description' | 'd' | 'heap_size' | 'hs' | 'modelHeapSize' | 'id' | 'ingest.count' | 'ic' | 'ingestCount' | 'ingest.current' | 'icurr' | 'ingestCurrent' | 'ingest.failed' | 'if' | 'ingestFailed' | 'ingest.pipelines' | 'ip' | 'ingestPipelines' | 'ingest.time' | 'it' | 'ingestTime' | 'license' | 'l' | 'operations' | 'o' | 'modelOperations' | 'version' | 'v';
|
|
5774
5956
|
export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
|
|
5775
5957
|
export type CatCatTransformColumn = 'changes_last_detection_time' | 'cldt' | 'checkpoint' | 'cp' | 'checkpoint_duration_time_exp_avg' | 'cdtea' | 'checkpointTimeExpAvg' | 'checkpoint_progress' | 'c' | 'checkpointProgress' | 'create_time' | 'ct' | 'createTime' | 'delete_time' | 'dtime' | 'description' | 'd' | 'dest_index' | 'di' | 'destIndex' | 'documents_deleted' | 'docd' | 'documents_indexed' | 'doci' | 'docs_per_second' | 'dps' | 'documents_processed' | 'docp' | 'frequency' | 'f' | 'id' | 'index_failure' | 'if' | 'index_time' | 'itime' | 'index_total' | 'it' | 'indexed_documents_exp_avg' | 'idea' | 'last_search_time' | 'lst' | 'lastSearchTime' | 'max_page_search_size' | 'mpsz' | 'pages_processed' | 'pp' | 'pipeline' | 'p' | 'processed_documents_exp_avg' | 'pdea' | 'processing_time' | 'pt' | 'reason' | 'r' | 'search_failure' | 'sf' | 'search_time' | 'stime' | 'search_total' | 'st' | 'source_index' | 'si' | 'sourceIndex' | 'state' | 's' | 'transform_type' | 'tt' | 'trigger_count' | 'tc' | 'version' | 'v';
|
|
@@ -5799,7 +5981,6 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5799
5981
|
s?: Names;
|
|
5800
5982
|
expand_wildcards?: ExpandWildcards;
|
|
5801
5983
|
local?: boolean;
|
|
5802
|
-
master_timeout?: Duration;
|
|
5803
5984
|
}
|
|
5804
5985
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5805
5986
|
export interface CatAllocationAllocationRecord {
|
|
@@ -6911,7 +7092,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6911
7092
|
bytes?: Bytes;
|
|
6912
7093
|
full_id?: boolean | string;
|
|
6913
7094
|
include_unloaded_segments?: boolean;
|
|
6914
|
-
h?:
|
|
7095
|
+
h?: CatCatNodeColumns;
|
|
6915
7096
|
s?: Names;
|
|
6916
7097
|
master_timeout?: Duration;
|
|
6917
7098
|
time?: TimeUnit;
|
|
@@ -7018,7 +7199,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
7018
7199
|
active_only?: boolean;
|
|
7019
7200
|
bytes?: Bytes;
|
|
7020
7201
|
detailed?: boolean;
|
|
7021
|
-
h?:
|
|
7202
|
+
h?: CatCatRecoveryColumns;
|
|
7022
7203
|
s?: Names;
|
|
7023
7204
|
time?: TimeUnit;
|
|
7024
7205
|
}
|
|
@@ -7039,7 +7220,7 @@ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
|
7039
7220
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
7040
7221
|
index?: Indices;
|
|
7041
7222
|
bytes?: Bytes;
|
|
7042
|
-
h?:
|
|
7223
|
+
h?: CatCatSegmentsColumns;
|
|
7043
7224
|
s?: Names;
|
|
7044
7225
|
local?: boolean;
|
|
7045
7226
|
master_timeout?: Duration;
|
|
@@ -7089,7 +7270,7 @@ export interface CatSegmentsSegmentsRecord {
|
|
|
7089
7270
|
export interface CatShardsRequest extends CatCatRequestBase {
|
|
7090
7271
|
index?: Indices;
|
|
7091
7272
|
bytes?: Bytes;
|
|
7092
|
-
h?:
|
|
7273
|
+
h?: CatCatShardColumns;
|
|
7093
7274
|
s?: Names;
|
|
7094
7275
|
master_timeout?: Duration;
|
|
7095
7276
|
time?: TimeUnit;
|
|
@@ -7312,7 +7493,7 @@ export interface CatShardsShardsRecord {
|
|
|
7312
7493
|
export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
7313
7494
|
repository?: Names;
|
|
7314
7495
|
ignore_unavailable?: boolean;
|
|
7315
|
-
h?:
|
|
7496
|
+
h?: CatCatSnapshotsColumns;
|
|
7316
7497
|
s?: Names;
|
|
7317
7498
|
master_timeout?: Duration;
|
|
7318
7499
|
time?: TimeUnit;
|
|
@@ -7420,7 +7601,7 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7420
7601
|
}
|
|
7421
7602
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7422
7603
|
thread_pool_patterns?: Names;
|
|
7423
|
-
h?:
|
|
7604
|
+
h?: CatCatThreadPoolColumns;
|
|
7424
7605
|
s?: Names;
|
|
7425
7606
|
time?: TimeUnit;
|
|
7426
7607
|
local?: boolean;
|
|
@@ -7912,6 +8093,7 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7912
8093
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7913
8094
|
name?: Name;
|
|
7914
8095
|
flat_settings?: boolean;
|
|
8096
|
+
settings_filter?: string | string[];
|
|
7915
8097
|
include_defaults?: boolean;
|
|
7916
8098
|
local?: boolean;
|
|
7917
8099
|
master_timeout?: Duration;
|
|
@@ -8023,6 +8205,7 @@ export type ClusterPostVotingConfigExclusionsResponse = boolean;
|
|
|
8023
8205
|
export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
8024
8206
|
name: Name;
|
|
8025
8207
|
create?: boolean;
|
|
8208
|
+
cause?: string;
|
|
8026
8209
|
master_timeout?: Duration;
|
|
8027
8210
|
template: IndicesIndexState;
|
|
8028
8211
|
version?: VersionNumber;
|
|
@@ -8141,6 +8324,35 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
8141
8324
|
wait_for_timeout?: Duration;
|
|
8142
8325
|
}
|
|
8143
8326
|
export type ClusterStateResponse = any;
|
|
8327
|
+
export interface ClusterStatsCCSStats {
|
|
8328
|
+
clusters?: Record<string, ClusterStatsRemoteClusterInfo>;
|
|
8329
|
+
_search: ClusterStatsCCSUsageStats;
|
|
8330
|
+
_esql?: ClusterStatsCCSUsageStats;
|
|
8331
|
+
}
|
|
8332
|
+
export interface ClusterStatsCCSUsageClusterStats {
|
|
8333
|
+
total: integer;
|
|
8334
|
+
skipped: integer;
|
|
8335
|
+
took: ClusterStatsCCSUsageTimeValue;
|
|
8336
|
+
}
|
|
8337
|
+
export interface ClusterStatsCCSUsageStats {
|
|
8338
|
+
total: integer;
|
|
8339
|
+
success: integer;
|
|
8340
|
+
skipped: integer;
|
|
8341
|
+
took: ClusterStatsCCSUsageTimeValue;
|
|
8342
|
+
took_mrt_true?: ClusterStatsCCSUsageTimeValue;
|
|
8343
|
+
took_mrt_false?: ClusterStatsCCSUsageTimeValue;
|
|
8344
|
+
remotes_per_search_max: integer;
|
|
8345
|
+
remotes_per_search_avg: double;
|
|
8346
|
+
failure_reasons: Record<string, integer>;
|
|
8347
|
+
features: Record<string, integer>;
|
|
8348
|
+
clients: Record<string, integer>;
|
|
8349
|
+
clusters: Record<string, ClusterStatsCCSUsageClusterStats>;
|
|
8350
|
+
}
|
|
8351
|
+
export interface ClusterStatsCCSUsageTimeValue {
|
|
8352
|
+
max: DurationValue<UnitMillis>;
|
|
8353
|
+
avg: DurationValue<UnitMillis>;
|
|
8354
|
+
p90: DurationValue<UnitMillis>;
|
|
8355
|
+
}
|
|
8144
8356
|
export interface ClusterStatsCharFilterTypes {
|
|
8145
8357
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
8146
8358
|
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
@@ -8150,24 +8362,42 @@ export interface ClusterStatsCharFilterTypes {
|
|
|
8150
8362
|
char_filter_types: ClusterStatsFieldTypes[];
|
|
8151
8363
|
filter_types: ClusterStatsFieldTypes[];
|
|
8152
8364
|
tokenizer_types: ClusterStatsFieldTypes[];
|
|
8365
|
+
synonyms: Record<Name, ClusterStatsSynonymsStats>;
|
|
8153
8366
|
}
|
|
8154
8367
|
export interface ClusterStatsClusterFileSystem {
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8368
|
+
path?: string;
|
|
8369
|
+
mount?: string;
|
|
8370
|
+
type?: string;
|
|
8371
|
+
available_in_bytes?: long;
|
|
8372
|
+
available?: ByteSize;
|
|
8373
|
+
free_in_bytes?: long;
|
|
8374
|
+
free?: ByteSize;
|
|
8375
|
+
total_in_bytes?: long;
|
|
8376
|
+
total?: ByteSize;
|
|
8377
|
+
low_watermark_free_space?: ByteSize;
|
|
8378
|
+
low_watermark_free_space_in_bytes?: long;
|
|
8379
|
+
high_watermark_free_space?: ByteSize;
|
|
8380
|
+
high_watermark_free_space_in_bytes?: long;
|
|
8381
|
+
flood_stage_free_space?: ByteSize;
|
|
8382
|
+
flood_stage_free_space_in_bytes?: long;
|
|
8383
|
+
frozen_flood_stage_free_space?: ByteSize;
|
|
8384
|
+
frozen_flood_stage_free_space_in_bytes?: long;
|
|
8158
8385
|
}
|
|
8159
8386
|
export interface ClusterStatsClusterIndices {
|
|
8160
|
-
analysis
|
|
8387
|
+
analysis?: ClusterStatsCharFilterTypes;
|
|
8161
8388
|
completion: CompletionStats;
|
|
8162
8389
|
count: long;
|
|
8163
8390
|
docs: DocStats;
|
|
8164
8391
|
fielddata: FielddataStats;
|
|
8165
8392
|
query_cache: QueryCacheStats;
|
|
8393
|
+
search: ClusterStatsSearchUsageStats;
|
|
8166
8394
|
segments: SegmentsStats;
|
|
8167
8395
|
shards: ClusterStatsClusterIndicesShards;
|
|
8168
8396
|
store: StoreStats;
|
|
8169
|
-
mappings
|
|
8397
|
+
mappings?: ClusterStatsFieldTypesMappings;
|
|
8170
8398
|
versions?: ClusterStatsIndicesVersions[];
|
|
8399
|
+
dense_vector: ClusterStatsDenseVectorStats;
|
|
8400
|
+
sparse_vector: ClusterStatsSparseVectorStats;
|
|
8171
8401
|
}
|
|
8172
8402
|
export interface ClusterStatsClusterIndicesShards {
|
|
8173
8403
|
index?: ClusterStatsClusterIndicesShardsIndex;
|
|
@@ -8186,13 +8416,16 @@ export interface ClusterStatsClusterIngest {
|
|
|
8186
8416
|
}
|
|
8187
8417
|
export interface ClusterStatsClusterJvm {
|
|
8188
8418
|
max_uptime_in_millis: DurationValue<UnitMillis>;
|
|
8419
|
+
max_uptime?: Duration;
|
|
8189
8420
|
mem: ClusterStatsClusterJvmMemory;
|
|
8190
8421
|
threads: long;
|
|
8191
8422
|
versions: ClusterStatsClusterJvmVersion[];
|
|
8192
8423
|
}
|
|
8193
8424
|
export interface ClusterStatsClusterJvmMemory {
|
|
8194
8425
|
heap_max_in_bytes: long;
|
|
8426
|
+
heap_max?: ByteSize;
|
|
8195
8427
|
heap_used_in_bytes: long;
|
|
8428
|
+
heap_used?: ByteSize;
|
|
8196
8429
|
}
|
|
8197
8430
|
export interface ClusterStatsClusterJvmVersion {
|
|
8198
8431
|
bundled_jdk: boolean;
|
|
@@ -8208,20 +8441,22 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
8208
8441
|
transport_types: Record<string, integer>;
|
|
8209
8442
|
}
|
|
8210
8443
|
export interface ClusterStatsClusterNodeCount {
|
|
8211
|
-
coordinating_only: integer;
|
|
8212
|
-
data: integer;
|
|
8213
|
-
data_cold: integer;
|
|
8214
|
-
data_content: integer;
|
|
8215
|
-
data_frozen?: integer;
|
|
8216
|
-
data_hot: integer;
|
|
8217
|
-
data_warm: integer;
|
|
8218
|
-
ingest: integer;
|
|
8219
|
-
master: integer;
|
|
8220
|
-
ml: integer;
|
|
8221
|
-
remote_cluster_client: integer;
|
|
8222
8444
|
total: integer;
|
|
8223
|
-
|
|
8224
|
-
|
|
8445
|
+
coordinating_only?: integer;
|
|
8446
|
+
data?: integer;
|
|
8447
|
+
data_cold?: integer;
|
|
8448
|
+
data_content?: integer;
|
|
8449
|
+
data_frozen?: integer;
|
|
8450
|
+
data_hot?: integer;
|
|
8451
|
+
data_warm?: integer;
|
|
8452
|
+
index?: integer;
|
|
8453
|
+
ingest?: integer;
|
|
8454
|
+
master?: integer;
|
|
8455
|
+
ml?: integer;
|
|
8456
|
+
remote_cluster_client?: integer;
|
|
8457
|
+
search?: integer;
|
|
8458
|
+
transform?: integer;
|
|
8459
|
+
voting_only?: integer;
|
|
8225
8460
|
}
|
|
8226
8461
|
export interface ClusterStatsClusterNodes {
|
|
8227
8462
|
count: ClusterStatsClusterNodeCount;
|
|
@@ -8281,45 +8516,56 @@ export interface ClusterStatsClusterShardMetrics {
|
|
|
8281
8516
|
max: double;
|
|
8282
8517
|
min: double;
|
|
8283
8518
|
}
|
|
8519
|
+
export interface ClusterStatsClusterSnapshotStats {
|
|
8520
|
+
current_counts: ClusterStatsSnapshotCurrentCounts;
|
|
8521
|
+
repositories: Record<Name, ClusterStatsPerRepositoryStats>;
|
|
8522
|
+
}
|
|
8523
|
+
export interface ClusterStatsDenseVectorOffHeapStats {
|
|
8524
|
+
total_size_bytes: long;
|
|
8525
|
+
total_size?: ByteSize;
|
|
8526
|
+
total_veb_size_bytes: long;
|
|
8527
|
+
total_veb_size?: ByteSize;
|
|
8528
|
+
total_vec_size_bytes: long;
|
|
8529
|
+
total_vec_size?: ByteSize;
|
|
8530
|
+
total_veq_size_bytes: long;
|
|
8531
|
+
total_veq_size?: ByteSize;
|
|
8532
|
+
total_vex_size_bytes: long;
|
|
8533
|
+
total_vex_size?: ByteSize;
|
|
8534
|
+
fielddata?: Record<string, Record<string, long>>;
|
|
8535
|
+
}
|
|
8536
|
+
export interface ClusterStatsDenseVectorStats {
|
|
8537
|
+
value_count: long;
|
|
8538
|
+
off_heap?: ClusterStatsDenseVectorOffHeapStats;
|
|
8539
|
+
}
|
|
8284
8540
|
export interface ClusterStatsFieldTypes {
|
|
8285
8541
|
name: Name;
|
|
8286
8542
|
count: integer;
|
|
8287
8543
|
index_count: integer;
|
|
8288
|
-
indexed_vector_count?:
|
|
8289
|
-
indexed_vector_dim_max?:
|
|
8290
|
-
indexed_vector_dim_min?:
|
|
8544
|
+
indexed_vector_count?: integer;
|
|
8545
|
+
indexed_vector_dim_max?: integer;
|
|
8546
|
+
indexed_vector_dim_min?: integer;
|
|
8291
8547
|
script_count?: integer;
|
|
8548
|
+
vector_index_type_count?: Record<Name, integer>;
|
|
8549
|
+
vector_similarity_type_count?: Record<Name, integer>;
|
|
8550
|
+
vector_element_type_count?: Record<Name, integer>;
|
|
8292
8551
|
}
|
|
8293
8552
|
export interface ClusterStatsFieldTypesMappings {
|
|
8294
8553
|
field_types: ClusterStatsFieldTypes[];
|
|
8295
|
-
runtime_field_types
|
|
8296
|
-
total_field_count?:
|
|
8297
|
-
total_deduplicated_field_count?:
|
|
8554
|
+
runtime_field_types: ClusterStatsRuntimeFieldTypes[];
|
|
8555
|
+
total_field_count?: long;
|
|
8556
|
+
total_deduplicated_field_count?: long;
|
|
8298
8557
|
total_deduplicated_mapping_size?: ByteSize;
|
|
8299
8558
|
total_deduplicated_mapping_size_in_bytes?: long;
|
|
8559
|
+
source_modes: Record<Name, integer>;
|
|
8300
8560
|
}
|
|
8301
8561
|
export interface ClusterStatsIndexingPressure {
|
|
8302
|
-
memory:
|
|
8303
|
-
}
|
|
8304
|
-
export interface ClusterStatsIndexingPressureMemory {
|
|
8305
|
-
current: ClusterStatsIndexingPressureMemorySummary;
|
|
8306
|
-
limit_in_bytes: long;
|
|
8307
|
-
total: ClusterStatsIndexingPressureMemorySummary;
|
|
8308
|
-
}
|
|
8309
|
-
export interface ClusterStatsIndexingPressureMemorySummary {
|
|
8310
|
-
all_in_bytes: long;
|
|
8311
|
-
combined_coordinating_and_primary_in_bytes: long;
|
|
8312
|
-
coordinating_in_bytes: long;
|
|
8313
|
-
coordinating_rejections?: long;
|
|
8314
|
-
primary_in_bytes: long;
|
|
8315
|
-
primary_rejections?: long;
|
|
8316
|
-
replica_in_bytes: long;
|
|
8317
|
-
replica_rejections?: long;
|
|
8562
|
+
memory: NodesIndexingPressureMemory;
|
|
8318
8563
|
}
|
|
8319
8564
|
export interface ClusterStatsIndicesVersions {
|
|
8320
8565
|
index_count: integer;
|
|
8321
8566
|
primary_shard_count: integer;
|
|
8322
8567
|
total_primary_bytes: long;
|
|
8568
|
+
total_primary_size?: ByteSize;
|
|
8323
8569
|
version: VersionString;
|
|
8324
8570
|
}
|
|
8325
8571
|
export interface ClusterStatsNodePackagingType {
|
|
@@ -8329,12 +8575,54 @@ export interface ClusterStatsNodePackagingType {
|
|
|
8329
8575
|
}
|
|
8330
8576
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
8331
8577
|
adjusted_total_in_bytes?: long;
|
|
8578
|
+
adjusted_total?: ByteSize;
|
|
8332
8579
|
free_in_bytes: long;
|
|
8580
|
+
free?: ByteSize;
|
|
8333
8581
|
free_percent: integer;
|
|
8334
8582
|
total_in_bytes: long;
|
|
8583
|
+
total?: ByteSize;
|
|
8335
8584
|
used_in_bytes: long;
|
|
8585
|
+
used?: ByteSize;
|
|
8336
8586
|
used_percent: integer;
|
|
8337
8587
|
}
|
|
8588
|
+
export interface ClusterStatsPerRepositoryStats {
|
|
8589
|
+
type: string;
|
|
8590
|
+
oldest_start_time_millis: UnitMillis;
|
|
8591
|
+
oldest_start_time?: DateFormat;
|
|
8592
|
+
current_counts: ClusterStatsRepositoryStatsCurrentCounts;
|
|
8593
|
+
}
|
|
8594
|
+
export interface ClusterStatsRemoteClusterInfo {
|
|
8595
|
+
cluster_uuid: string;
|
|
8596
|
+
mode: string;
|
|
8597
|
+
skip_unavailable: boolean;
|
|
8598
|
+
'transport.compress': string;
|
|
8599
|
+
status: HealthStatus;
|
|
8600
|
+
version: VersionString[];
|
|
8601
|
+
nodes_count: integer;
|
|
8602
|
+
shards_count: integer;
|
|
8603
|
+
indices_count: integer;
|
|
8604
|
+
indices_total_size_in_bytes: long;
|
|
8605
|
+
indices_total_size?: string;
|
|
8606
|
+
max_heap_in_bytes: long;
|
|
8607
|
+
max_heap?: string;
|
|
8608
|
+
mem_total_in_bytes: long;
|
|
8609
|
+
mem_total?: string;
|
|
8610
|
+
}
|
|
8611
|
+
export interface ClusterStatsRepositoryStatsCurrentCounts {
|
|
8612
|
+
snapshots: integer;
|
|
8613
|
+
clones: integer;
|
|
8614
|
+
finalizations: integer;
|
|
8615
|
+
deletions: integer;
|
|
8616
|
+
snapshot_deletions: integer;
|
|
8617
|
+
active_deletions: integer;
|
|
8618
|
+
shards: ClusterStatsRepositoryStatsShards;
|
|
8619
|
+
}
|
|
8620
|
+
export interface ClusterStatsRepositoryStatsShards {
|
|
8621
|
+
total: integer;
|
|
8622
|
+
complete: integer;
|
|
8623
|
+
incomplete: integer;
|
|
8624
|
+
states: Record<ClusterStatsShardState, integer>;
|
|
8625
|
+
}
|
|
8338
8626
|
export interface ClusterStatsRequest extends RequestBase {
|
|
8339
8627
|
node_id?: NodeIds;
|
|
8340
8628
|
include_remotes?: boolean;
|
|
@@ -8357,13 +8645,38 @@ export interface ClusterStatsRuntimeFieldTypes {
|
|
|
8357
8645
|
source_max: integer;
|
|
8358
8646
|
source_total: integer;
|
|
8359
8647
|
}
|
|
8648
|
+
export interface ClusterStatsSearchUsageStats {
|
|
8649
|
+
total: long;
|
|
8650
|
+
queries: Record<Name, long>;
|
|
8651
|
+
rescorers: Record<Name, long>;
|
|
8652
|
+
sections: Record<Name, long>;
|
|
8653
|
+
retrievers: Record<Name, long>;
|
|
8654
|
+
}
|
|
8655
|
+
export type ClusterStatsShardState = 'INIT' | 'SUCCESS' | 'FAILED' | 'ABORTED' | 'MISSING' | 'WAITING' | 'QUEUED' | 'PAUSED_FOR_NODE_REMOVAL';
|
|
8656
|
+
export interface ClusterStatsSnapshotCurrentCounts {
|
|
8657
|
+
snapshots: integer;
|
|
8658
|
+
shard_snapshots: integer;
|
|
8659
|
+
snapshot_deletions: integer;
|
|
8660
|
+
concurrent_operations: integer;
|
|
8661
|
+
cleanups: integer;
|
|
8662
|
+
}
|
|
8663
|
+
export interface ClusterStatsSparseVectorStats {
|
|
8664
|
+
value_count: long;
|
|
8665
|
+
}
|
|
8360
8666
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
8361
8667
|
cluster_name: Name;
|
|
8362
8668
|
cluster_uuid: Uuid;
|
|
8363
8669
|
indices: ClusterStatsClusterIndices;
|
|
8364
8670
|
nodes: ClusterStatsClusterNodes;
|
|
8365
|
-
|
|
8671
|
+
repositories: Record<Name, Record<Name, long>>;
|
|
8672
|
+
snapshots: ClusterStatsClusterSnapshotStats;
|
|
8673
|
+
status?: HealthStatus;
|
|
8366
8674
|
timestamp: long;
|
|
8675
|
+
ccs: ClusterStatsCCSStats;
|
|
8676
|
+
}
|
|
8677
|
+
export interface ClusterStatsSynonymsStats {
|
|
8678
|
+
count: integer;
|
|
8679
|
+
index_count: integer;
|
|
8367
8680
|
}
|
|
8368
8681
|
export interface ConnectorConnector {
|
|
8369
8682
|
api_key_id?: string;
|
|
@@ -8943,6 +9256,7 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8943
9256
|
index: Indices;
|
|
8944
9257
|
allow_no_indices?: boolean;
|
|
8945
9258
|
expand_wildcards?: ExpandWildcards;
|
|
9259
|
+
ccs_minimize_roundtrips?: boolean;
|
|
8946
9260
|
ignore_unavailable?: boolean;
|
|
8947
9261
|
query: string;
|
|
8948
9262
|
case_sensitive?: boolean;
|
|
@@ -8964,6 +9278,52 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8964
9278
|
}
|
|
8965
9279
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8966
9280
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
9281
|
+
export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
|
|
9282
|
+
id?: string;
|
|
9283
|
+
is_running: boolean;
|
|
9284
|
+
}
|
|
9285
|
+
export interface EsqlEsqlClusterDetails {
|
|
9286
|
+
status: EsqlEsqlClusterStatus;
|
|
9287
|
+
indices: string;
|
|
9288
|
+
took?: DurationValue<UnitMillis>;
|
|
9289
|
+
_shards?: EsqlEsqlShardInfo;
|
|
9290
|
+
}
|
|
9291
|
+
export interface EsqlEsqlClusterInfo {
|
|
9292
|
+
total: integer;
|
|
9293
|
+
successful: integer;
|
|
9294
|
+
running: integer;
|
|
9295
|
+
skipped: integer;
|
|
9296
|
+
partial: integer;
|
|
9297
|
+
failed: integer;
|
|
9298
|
+
details: Record<string, EsqlEsqlClusterDetails>;
|
|
9299
|
+
}
|
|
9300
|
+
export type EsqlEsqlClusterStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
9301
|
+
export interface EsqlEsqlColumnInfo {
|
|
9302
|
+
name: string;
|
|
9303
|
+
type: string;
|
|
9304
|
+
}
|
|
9305
|
+
export interface EsqlEsqlResult {
|
|
9306
|
+
took?: DurationValue<UnitMillis>;
|
|
9307
|
+
is_partial?: boolean;
|
|
9308
|
+
all_columns?: EsqlEsqlColumnInfo[];
|
|
9309
|
+
columns: EsqlEsqlColumnInfo[];
|
|
9310
|
+
values: FieldValue[][];
|
|
9311
|
+
_clusters?: EsqlEsqlClusterInfo;
|
|
9312
|
+
profile?: any;
|
|
9313
|
+
}
|
|
9314
|
+
export interface EsqlEsqlShardFailure {
|
|
9315
|
+
shard: Id;
|
|
9316
|
+
index: IndexName;
|
|
9317
|
+
node?: NodeId;
|
|
9318
|
+
reason: ErrorCause;
|
|
9319
|
+
}
|
|
9320
|
+
export interface EsqlEsqlShardInfo {
|
|
9321
|
+
total: integer;
|
|
9322
|
+
successful?: integer;
|
|
9323
|
+
skipped?: integer;
|
|
9324
|
+
failed?: integer;
|
|
9325
|
+
failures?: EsqlEsqlShardFailure[];
|
|
9326
|
+
}
|
|
8967
9327
|
export interface EsqlTableValuesContainer {
|
|
8968
9328
|
integer?: EsqlTableValuesIntegerValue[];
|
|
8969
9329
|
keyword?: EsqlTableValuesKeywordValue[];
|
|
@@ -8975,11 +9335,10 @@ export type EsqlTableValuesKeywordValue = string | string[];
|
|
|
8975
9335
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
8976
9336
|
export type EsqlTableValuesLongValue = long | long[];
|
|
8977
9337
|
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
9338
|
+
allow_partial_results?: boolean;
|
|
8978
9339
|
delimiter?: string;
|
|
8979
9340
|
drop_null_columns?: boolean;
|
|
8980
9341
|
format?: EsqlQueryEsqlFormat;
|
|
8981
|
-
keep_alive?: Duration;
|
|
8982
|
-
keep_on_completion?: boolean;
|
|
8983
9342
|
columnar?: boolean;
|
|
8984
9343
|
filter?: QueryDslQueryContainer;
|
|
8985
9344
|
locale?: string;
|
|
@@ -8989,8 +9348,10 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
8989
9348
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8990
9349
|
include_ccs_metadata?: boolean;
|
|
8991
9350
|
wait_for_completion_timeout?: Duration;
|
|
9351
|
+
keep_alive?: Duration;
|
|
9352
|
+
keep_on_completion?: boolean;
|
|
8992
9353
|
}
|
|
8993
|
-
export type EsqlAsyncQueryResponse =
|
|
9354
|
+
export type EsqlAsyncQueryResponse = EsqlEsqlResult;
|
|
8994
9355
|
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
8995
9356
|
id: Id;
|
|
8996
9357
|
}
|
|
@@ -8998,20 +9359,22 @@ export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
|
|
|
8998
9359
|
export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
8999
9360
|
id: Id;
|
|
9000
9361
|
drop_null_columns?: boolean;
|
|
9362
|
+
format?: EsqlQueryEsqlFormat;
|
|
9001
9363
|
keep_alive?: Duration;
|
|
9002
9364
|
wait_for_completion_timeout?: Duration;
|
|
9003
9365
|
}
|
|
9004
|
-
export type EsqlAsyncQueryGetResponse =
|
|
9366
|
+
export type EsqlAsyncQueryGetResponse = EsqlAsyncEsqlResult;
|
|
9005
9367
|
export interface EsqlAsyncQueryStopRequest extends RequestBase {
|
|
9006
9368
|
id: Id;
|
|
9007
9369
|
drop_null_columns?: boolean;
|
|
9008
9370
|
}
|
|
9009
|
-
export type EsqlAsyncQueryStopResponse =
|
|
9371
|
+
export type EsqlAsyncQueryStopResponse = EsqlEsqlResult;
|
|
9010
9372
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
9011
9373
|
export interface EsqlQueryRequest extends RequestBase {
|
|
9012
9374
|
format?: EsqlQueryEsqlFormat;
|
|
9013
9375
|
delimiter?: string;
|
|
9014
9376
|
drop_null_columns?: boolean;
|
|
9377
|
+
allow_partial_results?: boolean;
|
|
9015
9378
|
columnar?: boolean;
|
|
9016
9379
|
filter?: QueryDslQueryContainer;
|
|
9017
9380
|
locale?: string;
|
|
@@ -9021,7 +9384,7 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
9021
9384
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
9022
9385
|
include_ccs_metadata?: boolean;
|
|
9023
9386
|
}
|
|
9024
|
-
export type EsqlQueryResponse =
|
|
9387
|
+
export type EsqlQueryResponse = EsqlEsqlResult;
|
|
9025
9388
|
export interface FeaturesFeature {
|
|
9026
9389
|
name: string;
|
|
9027
9390
|
description: string;
|
|
@@ -9306,7 +9669,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9306
9669
|
lifecycle_date?: DateTime;
|
|
9307
9670
|
lifecycle_date_millis?: EpochTime<UnitMillis>;
|
|
9308
9671
|
managed: true;
|
|
9309
|
-
phase
|
|
9672
|
+
phase?: Name;
|
|
9310
9673
|
phase_time?: DateTime;
|
|
9311
9674
|
phase_time_millis?: EpochTime<UnitMillis>;
|
|
9312
9675
|
policy?: Name;
|
|
@@ -9320,6 +9683,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9320
9683
|
step_time_millis?: EpochTime<UnitMillis>;
|
|
9321
9684
|
phase_execution?: IlmExplainLifecycleLifecycleExplainPhaseExecution;
|
|
9322
9685
|
time_since_index_creation?: Duration;
|
|
9686
|
+
skip: boolean;
|
|
9323
9687
|
}
|
|
9324
9688
|
export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
|
|
9325
9689
|
phase_definition?: IlmPhase;
|
|
@@ -9806,6 +10170,7 @@ export type IndicesSourceMode = 'disabled' | 'stored' | 'synthetic';
|
|
|
9806
10170
|
export interface IndicesStorage {
|
|
9807
10171
|
type: IndicesStorageType;
|
|
9808
10172
|
allow_mmap?: boolean;
|
|
10173
|
+
stats_refresh_interval?: Duration;
|
|
9809
10174
|
}
|
|
9810
10175
|
export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
|
|
9811
10176
|
export interface IndicesTemplateMapping {
|
|
@@ -10017,13 +10382,16 @@ export interface IndicesDeleteRequest extends RequestBase {
|
|
|
10017
10382
|
timeout?: Duration;
|
|
10018
10383
|
}
|
|
10019
10384
|
export type IndicesDeleteResponse = IndicesResponseBase;
|
|
10385
|
+
export interface IndicesDeleteAliasIndicesAliasesResponseBody extends AcknowledgedResponseBase {
|
|
10386
|
+
errors?: boolean;
|
|
10387
|
+
}
|
|
10020
10388
|
export interface IndicesDeleteAliasRequest extends RequestBase {
|
|
10021
10389
|
index: Indices;
|
|
10022
10390
|
name: Names;
|
|
10023
10391
|
master_timeout?: Duration;
|
|
10024
10392
|
timeout?: Duration;
|
|
10025
10393
|
}
|
|
10026
|
-
export type IndicesDeleteAliasResponse =
|
|
10394
|
+
export type IndicesDeleteAliasResponse = IndicesDeleteAliasIndicesAliasesResponseBody;
|
|
10027
10395
|
export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
|
|
10028
10396
|
name: DataStreamNames;
|
|
10029
10397
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10199,9 +10567,6 @@ export interface IndicesGetRequest extends RequestBase {
|
|
|
10199
10567
|
features?: IndicesGetFeatures;
|
|
10200
10568
|
}
|
|
10201
10569
|
export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
|
|
10202
|
-
export interface IndicesGetAliasIndexAliases {
|
|
10203
|
-
aliases: Record<string, IndicesAliasDefinition>;
|
|
10204
|
-
}
|
|
10205
10570
|
export interface IndicesGetAliasRequest extends RequestBase {
|
|
10206
10571
|
name?: Names;
|
|
10207
10572
|
index?: Indices;
|
|
@@ -10211,6 +10576,16 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
10211
10576
|
local?: boolean;
|
|
10212
10577
|
}
|
|
10213
10578
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
10579
|
+
export interface IndicesGetAliasIndexAliases {
|
|
10580
|
+
aliases: Record<string, IndicesAliasDefinition>;
|
|
10581
|
+
}
|
|
10582
|
+
export interface IndicesGetAliasNotFoundAliasesKeys {
|
|
10583
|
+
error: string;
|
|
10584
|
+
status: number;
|
|
10585
|
+
}
|
|
10586
|
+
export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys & {
|
|
10587
|
+
[property: string]: IndicesGetAliasIndexAliases | string | number;
|
|
10588
|
+
};
|
|
10214
10589
|
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
10215
10590
|
name: DataStreamName;
|
|
10216
10591
|
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
@@ -10531,6 +10906,9 @@ export interface IndicesRecoveryRequest extends RequestBase {
|
|
|
10531
10906
|
index?: Indices;
|
|
10532
10907
|
active_only?: boolean;
|
|
10533
10908
|
detailed?: boolean;
|
|
10909
|
+
allow_no_indices?: boolean;
|
|
10910
|
+
expand_wildcards?: ExpandWildcards;
|
|
10911
|
+
ignore_unavailable?: boolean;
|
|
10534
10912
|
}
|
|
10535
10913
|
export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
|
|
10536
10914
|
export interface IndicesRecoveryShardRecovery {
|
|
@@ -11059,6 +11437,27 @@ export interface InferenceAmazonBedrockTaskSettings {
|
|
|
11059
11437
|
top_p?: float;
|
|
11060
11438
|
}
|
|
11061
11439
|
export type InferenceAmazonBedrockTaskType = 'completion' | 'text_embedding';
|
|
11440
|
+
export type InferenceAmazonSageMakerApi = 'openai' | 'elastic';
|
|
11441
|
+
export interface InferenceAmazonSageMakerServiceSettings {
|
|
11442
|
+
access_key: string;
|
|
11443
|
+
endpoint_name: string;
|
|
11444
|
+
api: InferenceAmazonSageMakerApi;
|
|
11445
|
+
region: string;
|
|
11446
|
+
secret_key: string;
|
|
11447
|
+
target_model?: string;
|
|
11448
|
+
target_container_hostname?: string;
|
|
11449
|
+
inference_component_name?: string;
|
|
11450
|
+
batch_size?: integer;
|
|
11451
|
+
dimensions?: integer;
|
|
11452
|
+
}
|
|
11453
|
+
export type InferenceAmazonSageMakerServiceType = 'amazon_sagemaker';
|
|
11454
|
+
export interface InferenceAmazonSageMakerTaskSettings {
|
|
11455
|
+
custom_attributes?: string;
|
|
11456
|
+
enable_explanations?: string;
|
|
11457
|
+
inference_id?: string;
|
|
11458
|
+
session_id?: string;
|
|
11459
|
+
target_variant?: string;
|
|
11460
|
+
}
|
|
11062
11461
|
export interface InferenceAnthropicServiceSettings {
|
|
11063
11462
|
api_key: string;
|
|
11064
11463
|
model_id: string;
|
|
@@ -11101,7 +11500,7 @@ export interface InferenceAzureOpenAITaskSettings {
|
|
|
11101
11500
|
user?: string;
|
|
11102
11501
|
}
|
|
11103
11502
|
export type InferenceAzureOpenAITaskType = 'completion' | 'text_embedding';
|
|
11104
|
-
export type InferenceCohereEmbeddingType = 'byte' | 'float' | 'int8';
|
|
11503
|
+
export type InferenceCohereEmbeddingType = 'binary' | 'bit' | 'byte' | 'float' | 'int8';
|
|
11105
11504
|
export type InferenceCohereInputType = 'classification' | 'clustering' | 'ingest' | 'search';
|
|
11106
11505
|
export interface InferenceCohereServiceSettings {
|
|
11107
11506
|
api_key: string;
|
|
@@ -11148,6 +11547,32 @@ export interface InferenceContentObject {
|
|
|
11148
11547
|
text: string;
|
|
11149
11548
|
type: string;
|
|
11150
11549
|
}
|
|
11550
|
+
export interface InferenceCustomRequestParams {
|
|
11551
|
+
content: string;
|
|
11552
|
+
}
|
|
11553
|
+
export interface InferenceCustomResponseParams {
|
|
11554
|
+
json_parser: any;
|
|
11555
|
+
}
|
|
11556
|
+
export interface InferenceCustomServiceSettings {
|
|
11557
|
+
headers?: any;
|
|
11558
|
+
input_type?: any;
|
|
11559
|
+
query_parameters?: any;
|
|
11560
|
+
request: InferenceCustomRequestParams;
|
|
11561
|
+
response: InferenceCustomResponseParams;
|
|
11562
|
+
secret_parameters: any;
|
|
11563
|
+
url?: string;
|
|
11564
|
+
}
|
|
11565
|
+
export type InferenceCustomServiceType = 'custom';
|
|
11566
|
+
export interface InferenceCustomTaskSettings {
|
|
11567
|
+
parameters?: any;
|
|
11568
|
+
}
|
|
11569
|
+
export type InferenceCustomTaskType = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
|
|
11570
|
+
export interface InferenceDeepSeekServiceSettings {
|
|
11571
|
+
api_key: string;
|
|
11572
|
+
model_id: string;
|
|
11573
|
+
url?: string;
|
|
11574
|
+
}
|
|
11575
|
+
export type InferenceDeepSeekServiceType = 'deepseek';
|
|
11151
11576
|
export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
|
|
11152
11577
|
pipelines: string[];
|
|
11153
11578
|
}
|
|
@@ -11191,14 +11616,19 @@ export interface InferenceGoogleVertexAITaskSettings {
|
|
|
11191
11616
|
auto_truncate?: boolean;
|
|
11192
11617
|
top_n?: integer;
|
|
11193
11618
|
}
|
|
11194
|
-
export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding';
|
|
11619
|
+
export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding' | 'completion' | 'chat_completion';
|
|
11195
11620
|
export interface InferenceHuggingFaceServiceSettings {
|
|
11196
11621
|
api_key: string;
|
|
11197
11622
|
rate_limit?: InferenceRateLimitSetting;
|
|
11198
11623
|
url: string;
|
|
11624
|
+
model_id?: string;
|
|
11199
11625
|
}
|
|
11200
11626
|
export type InferenceHuggingFaceServiceType = 'hugging_face';
|
|
11201
|
-
export
|
|
11627
|
+
export interface InferenceHuggingFaceTaskSettings {
|
|
11628
|
+
return_documents?: boolean;
|
|
11629
|
+
top_n?: integer;
|
|
11630
|
+
}
|
|
11631
|
+
export type InferenceHuggingFaceTaskType = 'chat_completion' | 'completion' | 'rerank' | 'text_embedding';
|
|
11202
11632
|
export interface InferenceInferenceChunkingSettings {
|
|
11203
11633
|
max_chunk_size?: integer;
|
|
11204
11634
|
overlap?: integer;
|
|
@@ -11215,6 +11645,82 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
|
|
|
11215
11645
|
inference_id: string;
|
|
11216
11646
|
task_type: InferenceTaskType;
|
|
11217
11647
|
}
|
|
11648
|
+
export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint {
|
|
11649
|
+
inference_id: string;
|
|
11650
|
+
task_type: InferenceTaskTypeAlibabaCloudAI;
|
|
11651
|
+
}
|
|
11652
|
+
export interface InferenceInferenceEndpointInfoAmazonBedrock extends InferenceInferenceEndpoint {
|
|
11653
|
+
inference_id: string;
|
|
11654
|
+
task_type: InferenceTaskTypeAmazonBedrock;
|
|
11655
|
+
}
|
|
11656
|
+
export interface InferenceInferenceEndpointInfoAmazonSageMaker extends InferenceInferenceEndpoint {
|
|
11657
|
+
inference_id: string;
|
|
11658
|
+
task_type: InferenceTaskTypeAmazonSageMaker;
|
|
11659
|
+
}
|
|
11660
|
+
export interface InferenceInferenceEndpointInfoAnthropic extends InferenceInferenceEndpoint {
|
|
11661
|
+
inference_id: string;
|
|
11662
|
+
task_type: InferenceTaskTypeAnthropic;
|
|
11663
|
+
}
|
|
11664
|
+
export interface InferenceInferenceEndpointInfoAzureAIStudio extends InferenceInferenceEndpoint {
|
|
11665
|
+
inference_id: string;
|
|
11666
|
+
task_type: InferenceTaskTypeAzureAIStudio;
|
|
11667
|
+
}
|
|
11668
|
+
export interface InferenceInferenceEndpointInfoAzureOpenAI extends InferenceInferenceEndpoint {
|
|
11669
|
+
inference_id: string;
|
|
11670
|
+
task_type: InferenceTaskTypeAzureOpenAI;
|
|
11671
|
+
}
|
|
11672
|
+
export interface InferenceInferenceEndpointInfoCohere extends InferenceInferenceEndpoint {
|
|
11673
|
+
inference_id: string;
|
|
11674
|
+
task_type: InferenceTaskTypeCohere;
|
|
11675
|
+
}
|
|
11676
|
+
export interface InferenceInferenceEndpointInfoCustom extends InferenceInferenceEndpoint {
|
|
11677
|
+
inference_id: string;
|
|
11678
|
+
task_type: InferenceTaskTypeCustom;
|
|
11679
|
+
}
|
|
11680
|
+
export interface InferenceInferenceEndpointInfoDeepSeek extends InferenceInferenceEndpoint {
|
|
11681
|
+
inference_id: string;
|
|
11682
|
+
task_type: InferenceTaskTypeDeepSeek;
|
|
11683
|
+
}
|
|
11684
|
+
export interface InferenceInferenceEndpointInfoELSER extends InferenceInferenceEndpoint {
|
|
11685
|
+
inference_id: string;
|
|
11686
|
+
task_type: InferenceTaskTypeELSER;
|
|
11687
|
+
}
|
|
11688
|
+
export interface InferenceInferenceEndpointInfoElasticsearch extends InferenceInferenceEndpoint {
|
|
11689
|
+
inference_id: string;
|
|
11690
|
+
task_type: InferenceTaskTypeElasticsearch;
|
|
11691
|
+
}
|
|
11692
|
+
export interface InferenceInferenceEndpointInfoGoogleAIStudio extends InferenceInferenceEndpoint {
|
|
11693
|
+
inference_id: string;
|
|
11694
|
+
task_type: InferenceTaskTypeGoogleAIStudio;
|
|
11695
|
+
}
|
|
11696
|
+
export interface InferenceInferenceEndpointInfoGoogleVertexAI extends InferenceInferenceEndpoint {
|
|
11697
|
+
inference_id: string;
|
|
11698
|
+
task_type: InferenceTaskTypeGoogleVertexAI;
|
|
11699
|
+
}
|
|
11700
|
+
export interface InferenceInferenceEndpointInfoHuggingFace extends InferenceInferenceEndpoint {
|
|
11701
|
+
inference_id: string;
|
|
11702
|
+
task_type: InferenceTaskTypeHuggingFace;
|
|
11703
|
+
}
|
|
11704
|
+
export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint {
|
|
11705
|
+
inference_id: string;
|
|
11706
|
+
task_type: InferenceTaskTypeJinaAi;
|
|
11707
|
+
}
|
|
11708
|
+
export interface InferenceInferenceEndpointInfoMistral extends InferenceInferenceEndpoint {
|
|
11709
|
+
inference_id: string;
|
|
11710
|
+
task_type: InferenceTaskTypeMistral;
|
|
11711
|
+
}
|
|
11712
|
+
export interface InferenceInferenceEndpointInfoOpenAI extends InferenceInferenceEndpoint {
|
|
11713
|
+
inference_id: string;
|
|
11714
|
+
task_type: InferenceTaskTypeOpenAI;
|
|
11715
|
+
}
|
|
11716
|
+
export interface InferenceInferenceEndpointInfoVoyageAI extends InferenceInferenceEndpoint {
|
|
11717
|
+
inference_id: string;
|
|
11718
|
+
task_type: InferenceTaskTypeVoyageAI;
|
|
11719
|
+
}
|
|
11720
|
+
export interface InferenceInferenceEndpointInfoWatsonx extends InferenceInferenceEndpoint {
|
|
11721
|
+
inference_id: string;
|
|
11722
|
+
task_type: InferenceTaskTypeWatsonx;
|
|
11723
|
+
}
|
|
11218
11724
|
export interface InferenceInferenceResult {
|
|
11219
11725
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
11220
11726
|
text_embedding_bits?: InferenceTextEmbeddingByteResult[];
|
|
@@ -11252,7 +11758,7 @@ export interface InferenceMistralServiceSettings {
|
|
|
11252
11758
|
rate_limit?: InferenceRateLimitSetting;
|
|
11253
11759
|
}
|
|
11254
11760
|
export type InferenceMistralServiceType = 'mistral';
|
|
11255
|
-
export type InferenceMistralTaskType = 'text_embedding';
|
|
11761
|
+
export type InferenceMistralTaskType = 'text_embedding' | 'completion' | 'chat_completion';
|
|
11256
11762
|
export interface InferenceOpenAIServiceSettings {
|
|
11257
11763
|
api_key: string;
|
|
11258
11764
|
dimensions?: integer;
|
|
@@ -11297,11 +11803,31 @@ export interface InferenceSparseEmbeddingResult {
|
|
|
11297
11803
|
export type InferenceSparseVector = Record<string, float>;
|
|
11298
11804
|
export type InferenceTaskSettings = any;
|
|
11299
11805
|
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion';
|
|
11806
|
+
export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding';
|
|
11807
|
+
export type InferenceTaskTypeAmazonBedrock = 'text_embedding' | 'completion';
|
|
11808
|
+
export type InferenceTaskTypeAmazonSageMaker = 'text_embedding' | 'completion' | 'chat_completion' | 'sparse_embedding' | 'rerank';
|
|
11809
|
+
export type InferenceTaskTypeAnthropic = 'completion';
|
|
11810
|
+
export type InferenceTaskTypeAzureAIStudio = 'text_embedding' | 'completion';
|
|
11811
|
+
export type InferenceTaskTypeAzureOpenAI = 'text_embedding' | 'completion';
|
|
11812
|
+
export type InferenceTaskTypeCohere = 'text_embedding' | 'rerank' | 'completion';
|
|
11813
|
+
export type InferenceTaskTypeCustom = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
|
|
11814
|
+
export type InferenceTaskTypeDeepSeek = 'completion' | 'chat_completion';
|
|
11815
|
+
export type InferenceTaskTypeELSER = 'sparse_embedding';
|
|
11816
|
+
export type InferenceTaskTypeElasticsearch = 'sparse_embedding' | 'text_embedding' | 'rerank';
|
|
11817
|
+
export type InferenceTaskTypeGoogleAIStudio = 'text_embedding' | 'completion';
|
|
11818
|
+
export type InferenceTaskTypeGoogleVertexAI = 'text_embedding' | 'rerank';
|
|
11819
|
+
export type InferenceTaskTypeHuggingFace = 'text_embedding';
|
|
11820
|
+
export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank';
|
|
11821
|
+
export type InferenceTaskTypeMistral = 'text_embedding';
|
|
11822
|
+
export type InferenceTaskTypeOpenAI = 'text_embedding' | 'chat_completion' | 'completion';
|
|
11823
|
+
export type InferenceTaskTypeVoyageAI = 'text_embedding' | 'rerank';
|
|
11824
|
+
export type InferenceTaskTypeWatsonx = 'text_embedding';
|
|
11300
11825
|
export interface InferenceTextEmbeddingByteResult {
|
|
11301
11826
|
embedding: InferenceDenseByteVector;
|
|
11302
11827
|
}
|
|
11303
11828
|
export interface InferenceTextEmbeddingInferenceResult {
|
|
11304
11829
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
11830
|
+
text_embedding_bits?: InferenceTextEmbeddingByteResult[];
|
|
11305
11831
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
11306
11832
|
}
|
|
11307
11833
|
export interface InferenceTextEmbeddingResult {
|
|
@@ -11373,153 +11899,200 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
11373
11899
|
timeout?: Duration;
|
|
11374
11900
|
query?: string;
|
|
11375
11901
|
input: string | string[];
|
|
11902
|
+
input_type?: string;
|
|
11376
11903
|
task_settings?: InferenceTaskSettings;
|
|
11377
11904
|
}
|
|
11378
11905
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
11379
11906
|
export interface InferencePutRequest extends RequestBase {
|
|
11380
11907
|
task_type?: InferenceTaskType;
|
|
11381
11908
|
inference_id: Id;
|
|
11909
|
+
timeout?: Duration;
|
|
11382
11910
|
inference_config?: InferenceInferenceEndpoint;
|
|
11383
11911
|
}
|
|
11384
11912
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
11385
11913
|
export interface InferencePutAlibabacloudRequest extends RequestBase {
|
|
11386
11914
|
task_type: InferenceAlibabaCloudTaskType;
|
|
11387
11915
|
alibabacloud_inference_id: Id;
|
|
11916
|
+
timeout?: Duration;
|
|
11388
11917
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11389
11918
|
service: InferenceAlibabaCloudServiceType;
|
|
11390
11919
|
service_settings: InferenceAlibabaCloudServiceSettings;
|
|
11391
11920
|
task_settings?: InferenceAlibabaCloudTaskSettings;
|
|
11392
11921
|
}
|
|
11393
|
-
export type InferencePutAlibabacloudResponse =
|
|
11922
|
+
export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI;
|
|
11394
11923
|
export interface InferencePutAmazonbedrockRequest extends RequestBase {
|
|
11395
11924
|
task_type: InferenceAmazonBedrockTaskType;
|
|
11396
11925
|
amazonbedrock_inference_id: Id;
|
|
11926
|
+
timeout?: Duration;
|
|
11397
11927
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11398
11928
|
service: InferenceAmazonBedrockServiceType;
|
|
11399
11929
|
service_settings: InferenceAmazonBedrockServiceSettings;
|
|
11400
11930
|
task_settings?: InferenceAmazonBedrockTaskSettings;
|
|
11401
11931
|
}
|
|
11402
|
-
export type InferencePutAmazonbedrockResponse =
|
|
11932
|
+
export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfoAmazonBedrock;
|
|
11933
|
+
export interface InferencePutAmazonsagemakerRequest extends RequestBase {
|
|
11934
|
+
task_type: InferenceTaskTypeAmazonSageMaker;
|
|
11935
|
+
amazonsagemaker_inference_id: Id;
|
|
11936
|
+
timeout?: Duration;
|
|
11937
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11938
|
+
service: InferenceAmazonSageMakerServiceType;
|
|
11939
|
+
service_settings: InferenceAmazonSageMakerServiceSettings;
|
|
11940
|
+
task_settings?: InferenceAmazonSageMakerTaskSettings;
|
|
11941
|
+
}
|
|
11942
|
+
export type InferencePutAmazonsagemakerResponse = InferenceInferenceEndpointInfoAmazonSageMaker;
|
|
11403
11943
|
export interface InferencePutAnthropicRequest extends RequestBase {
|
|
11404
11944
|
task_type: InferenceAnthropicTaskType;
|
|
11405
11945
|
anthropic_inference_id: Id;
|
|
11946
|
+
timeout?: Duration;
|
|
11406
11947
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11407
11948
|
service: InferenceAnthropicServiceType;
|
|
11408
11949
|
service_settings: InferenceAnthropicServiceSettings;
|
|
11409
11950
|
task_settings?: InferenceAnthropicTaskSettings;
|
|
11410
11951
|
}
|
|
11411
|
-
export type InferencePutAnthropicResponse =
|
|
11952
|
+
export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfoAnthropic;
|
|
11412
11953
|
export interface InferencePutAzureaistudioRequest extends RequestBase {
|
|
11413
11954
|
task_type: InferenceAzureAiStudioTaskType;
|
|
11414
11955
|
azureaistudio_inference_id: Id;
|
|
11956
|
+
timeout?: Duration;
|
|
11415
11957
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11416
11958
|
service: InferenceAzureAiStudioServiceType;
|
|
11417
11959
|
service_settings: InferenceAzureAiStudioServiceSettings;
|
|
11418
11960
|
task_settings?: InferenceAzureAiStudioTaskSettings;
|
|
11419
11961
|
}
|
|
11420
|
-
export type InferencePutAzureaistudioResponse =
|
|
11962
|
+
export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfoAzureAIStudio;
|
|
11421
11963
|
export interface InferencePutAzureopenaiRequest extends RequestBase {
|
|
11422
11964
|
task_type: InferenceAzureOpenAITaskType;
|
|
11423
11965
|
azureopenai_inference_id: Id;
|
|
11966
|
+
timeout?: Duration;
|
|
11424
11967
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11425
11968
|
service: InferenceAzureOpenAIServiceType;
|
|
11426
11969
|
service_settings: InferenceAzureOpenAIServiceSettings;
|
|
11427
11970
|
task_settings?: InferenceAzureOpenAITaskSettings;
|
|
11428
11971
|
}
|
|
11429
|
-
export type InferencePutAzureopenaiResponse =
|
|
11972
|
+
export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfoAzureOpenAI;
|
|
11430
11973
|
export interface InferencePutCohereRequest extends RequestBase {
|
|
11431
11974
|
task_type: InferenceCohereTaskType;
|
|
11432
11975
|
cohere_inference_id: Id;
|
|
11976
|
+
timeout?: Duration;
|
|
11433
11977
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11434
11978
|
service: InferenceCohereServiceType;
|
|
11435
11979
|
service_settings: InferenceCohereServiceSettings;
|
|
11436
11980
|
task_settings?: InferenceCohereTaskSettings;
|
|
11437
11981
|
}
|
|
11438
|
-
export type InferencePutCohereResponse =
|
|
11982
|
+
export type InferencePutCohereResponse = InferenceInferenceEndpointInfoCohere;
|
|
11983
|
+
export interface InferencePutCustomRequest extends RequestBase {
|
|
11984
|
+
task_type: InferenceCustomTaskType;
|
|
11985
|
+
custom_inference_id: Id;
|
|
11986
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11987
|
+
service: InferenceCustomServiceType;
|
|
11988
|
+
service_settings: InferenceCustomServiceSettings;
|
|
11989
|
+
task_settings?: InferenceCustomTaskSettings;
|
|
11990
|
+
}
|
|
11991
|
+
export type InferencePutCustomResponse = InferenceInferenceEndpointInfoCustom;
|
|
11992
|
+
export interface InferencePutDeepseekRequest extends RequestBase {
|
|
11993
|
+
task_type: InferenceTaskTypeDeepSeek;
|
|
11994
|
+
deepseek_inference_id: Id;
|
|
11995
|
+
timeout?: Duration;
|
|
11996
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11997
|
+
service: InferenceDeepSeekServiceType;
|
|
11998
|
+
service_settings: InferenceDeepSeekServiceSettings;
|
|
11999
|
+
}
|
|
12000
|
+
export type InferencePutDeepseekResponse = InferenceInferenceEndpointInfoDeepSeek;
|
|
11439
12001
|
export interface InferencePutElasticsearchRequest extends RequestBase {
|
|
11440
12002
|
task_type: InferenceElasticsearchTaskType;
|
|
11441
12003
|
elasticsearch_inference_id: Id;
|
|
12004
|
+
timeout?: Duration;
|
|
11442
12005
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11443
12006
|
service: InferenceElasticsearchServiceType;
|
|
11444
12007
|
service_settings: InferenceElasticsearchServiceSettings;
|
|
11445
12008
|
task_settings?: InferenceElasticsearchTaskSettings;
|
|
11446
12009
|
}
|
|
11447
|
-
export type InferencePutElasticsearchResponse =
|
|
12010
|
+
export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfoElasticsearch;
|
|
11448
12011
|
export interface InferencePutElserRequest extends RequestBase {
|
|
11449
12012
|
task_type: InferenceElserTaskType;
|
|
11450
12013
|
elser_inference_id: Id;
|
|
12014
|
+
timeout?: Duration;
|
|
11451
12015
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11452
12016
|
service: InferenceElserServiceType;
|
|
11453
12017
|
service_settings: InferenceElserServiceSettings;
|
|
11454
12018
|
}
|
|
11455
|
-
export type InferencePutElserResponse =
|
|
12019
|
+
export type InferencePutElserResponse = InferenceInferenceEndpointInfoELSER;
|
|
11456
12020
|
export interface InferencePutGoogleaistudioRequest extends RequestBase {
|
|
11457
12021
|
task_type: InferenceGoogleAiStudioTaskType;
|
|
11458
12022
|
googleaistudio_inference_id: Id;
|
|
12023
|
+
timeout?: Duration;
|
|
11459
12024
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11460
12025
|
service: InferenceGoogleAiServiceType;
|
|
11461
12026
|
service_settings: InferenceGoogleAiStudioServiceSettings;
|
|
11462
12027
|
}
|
|
11463
|
-
export type InferencePutGoogleaistudioResponse =
|
|
12028
|
+
export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfoGoogleAIStudio;
|
|
11464
12029
|
export interface InferencePutGooglevertexaiRequest extends RequestBase {
|
|
11465
12030
|
task_type: InferenceGoogleVertexAITaskType;
|
|
11466
12031
|
googlevertexai_inference_id: Id;
|
|
12032
|
+
timeout?: Duration;
|
|
11467
12033
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11468
12034
|
service: InferenceGoogleVertexAIServiceType;
|
|
11469
12035
|
service_settings: InferenceGoogleVertexAIServiceSettings;
|
|
11470
12036
|
task_settings?: InferenceGoogleVertexAITaskSettings;
|
|
11471
12037
|
}
|
|
11472
|
-
export type InferencePutGooglevertexaiResponse =
|
|
12038
|
+
export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfoGoogleVertexAI;
|
|
11473
12039
|
export interface InferencePutHuggingFaceRequest extends RequestBase {
|
|
11474
12040
|
task_type: InferenceHuggingFaceTaskType;
|
|
11475
12041
|
huggingface_inference_id: Id;
|
|
12042
|
+
timeout?: Duration;
|
|
11476
12043
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11477
12044
|
service: InferenceHuggingFaceServiceType;
|
|
11478
12045
|
service_settings: InferenceHuggingFaceServiceSettings;
|
|
12046
|
+
task_settings?: InferenceHuggingFaceTaskSettings;
|
|
11479
12047
|
}
|
|
11480
|
-
export type InferencePutHuggingFaceResponse =
|
|
12048
|
+
export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfoHuggingFace;
|
|
11481
12049
|
export interface InferencePutJinaaiRequest extends RequestBase {
|
|
11482
12050
|
task_type: InferenceJinaAITaskType;
|
|
11483
12051
|
jinaai_inference_id: Id;
|
|
12052
|
+
timeout?: Duration;
|
|
11484
12053
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11485
12054
|
service: InferenceJinaAIServiceType;
|
|
11486
12055
|
service_settings: InferenceJinaAIServiceSettings;
|
|
11487
12056
|
task_settings?: InferenceJinaAITaskSettings;
|
|
11488
12057
|
}
|
|
11489
|
-
export type InferencePutJinaaiResponse =
|
|
12058
|
+
export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfoJinaAi;
|
|
11490
12059
|
export interface InferencePutMistralRequest extends RequestBase {
|
|
11491
12060
|
task_type: InferenceMistralTaskType;
|
|
11492
12061
|
mistral_inference_id: Id;
|
|
12062
|
+
timeout?: Duration;
|
|
11493
12063
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11494
12064
|
service: InferenceMistralServiceType;
|
|
11495
12065
|
service_settings: InferenceMistralServiceSettings;
|
|
11496
12066
|
}
|
|
11497
|
-
export type InferencePutMistralResponse =
|
|
12067
|
+
export type InferencePutMistralResponse = InferenceInferenceEndpointInfoMistral;
|
|
11498
12068
|
export interface InferencePutOpenaiRequest extends RequestBase {
|
|
11499
12069
|
task_type: InferenceOpenAITaskType;
|
|
11500
12070
|
openai_inference_id: Id;
|
|
12071
|
+
timeout?: Duration;
|
|
11501
12072
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11502
12073
|
service: InferenceOpenAIServiceType;
|
|
11503
12074
|
service_settings: InferenceOpenAIServiceSettings;
|
|
11504
12075
|
task_settings?: InferenceOpenAITaskSettings;
|
|
11505
12076
|
}
|
|
11506
|
-
export type InferencePutOpenaiResponse =
|
|
12077
|
+
export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfoOpenAI;
|
|
11507
12078
|
export interface InferencePutVoyageaiRequest extends RequestBase {
|
|
11508
12079
|
task_type: InferenceVoyageAITaskType;
|
|
11509
12080
|
voyageai_inference_id: Id;
|
|
12081
|
+
timeout?: Duration;
|
|
11510
12082
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11511
12083
|
service: InferenceVoyageAIServiceType;
|
|
11512
12084
|
service_settings: InferenceVoyageAIServiceSettings;
|
|
11513
12085
|
task_settings?: InferenceVoyageAITaskSettings;
|
|
11514
12086
|
}
|
|
11515
|
-
export type InferencePutVoyageaiResponse =
|
|
12087
|
+
export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfoVoyageAI;
|
|
11516
12088
|
export interface InferencePutWatsonxRequest extends RequestBase {
|
|
11517
12089
|
task_type: InferenceWatsonxTaskType;
|
|
11518
12090
|
watsonx_inference_id: Id;
|
|
12091
|
+
timeout?: Duration;
|
|
11519
12092
|
service: InferenceWatsonxServiceType;
|
|
11520
12093
|
service_settings: InferenceWatsonxServiceSettings;
|
|
11521
12094
|
}
|
|
11522
|
-
export type InferencePutWatsonxResponse =
|
|
12095
|
+
export type InferencePutWatsonxResponse = InferenceInferenceEndpointInfoWatsonx;
|
|
11523
12096
|
export interface InferenceRerankRequest extends RequestBase {
|
|
11524
12097
|
inference_id: Id;
|
|
11525
12098
|
timeout?: Duration;
|
|
@@ -11537,6 +12110,7 @@ export interface InferenceSparseEmbeddingRequest extends RequestBase {
|
|
|
11537
12110
|
export type InferenceSparseEmbeddingResponse = InferenceSparseEmbeddingInferenceResult;
|
|
11538
12111
|
export interface InferenceStreamCompletionRequest extends RequestBase {
|
|
11539
12112
|
inference_id: Id;
|
|
12113
|
+
timeout?: Duration;
|
|
11540
12114
|
input: string | string[];
|
|
11541
12115
|
task_settings?: InferenceTaskSettings;
|
|
11542
12116
|
}
|
|
@@ -11841,15 +12415,16 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
|
11841
12415
|
name: Name;
|
|
11842
12416
|
ignore_missing_pipeline?: boolean;
|
|
11843
12417
|
}
|
|
11844
|
-
export interface
|
|
12418
|
+
export interface IngestPipelineProcessorResult {
|
|
11845
12419
|
doc?: IngestDocumentSimulation;
|
|
11846
12420
|
tag?: string;
|
|
11847
12421
|
processor_type?: string;
|
|
11848
|
-
status?:
|
|
12422
|
+
status?: IngestPipelineSimulationStatusOptions;
|
|
11849
12423
|
description?: string;
|
|
11850
12424
|
ignored_error?: ErrorCause;
|
|
11851
12425
|
error?: ErrorCause;
|
|
11852
12426
|
}
|
|
12427
|
+
export type IngestPipelineSimulationStatusOptions = 'success' | 'error' | 'error_ignored' | 'skipped' | 'dropped';
|
|
11853
12428
|
export interface IngestProcessorBase {
|
|
11854
12429
|
description?: string;
|
|
11855
12430
|
if?: string;
|
|
@@ -11959,7 +12534,7 @@ export type IngestShapeType = 'geo_shape' | 'shape';
|
|
|
11959
12534
|
export interface IngestSimulateDocumentResult {
|
|
11960
12535
|
doc?: IngestDocumentSimulation;
|
|
11961
12536
|
error?: ErrorCause;
|
|
11962
|
-
processor_results?:
|
|
12537
|
+
processor_results?: IngestPipelineProcessorResult[];
|
|
11963
12538
|
}
|
|
11964
12539
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
11965
12540
|
field: Field;
|
|
@@ -12068,7 +12643,6 @@ export interface IngestGetIpLocationDatabaseDatabaseConfigurationMetadata {
|
|
|
12068
12643
|
}
|
|
12069
12644
|
export interface IngestGetIpLocationDatabaseRequest extends RequestBase {
|
|
12070
12645
|
id?: Ids;
|
|
12071
|
-
master_timeout?: Duration;
|
|
12072
12646
|
}
|
|
12073
12647
|
export interface IngestGetIpLocationDatabaseResponse {
|
|
12074
12648
|
databases: IngestGetIpLocationDatabaseDatabaseConfigurationMetadata[];
|
|
@@ -12201,7 +12775,7 @@ export interface LicensePostStartBasicResponse {
|
|
|
12201
12775
|
}
|
|
12202
12776
|
export interface LicensePostStartTrialRequest extends RequestBase {
|
|
12203
12777
|
acknowledge?: boolean;
|
|
12204
|
-
|
|
12778
|
+
type?: string;
|
|
12205
12779
|
master_timeout?: Duration;
|
|
12206
12780
|
}
|
|
12207
12781
|
export interface LicensePostStartTrialResponse {
|
|
@@ -12227,8 +12801,7 @@ export interface LogstashPipelineSettings {
|
|
|
12227
12801
|
'pipeline.batch.size': integer;
|
|
12228
12802
|
'pipeline.batch.delay': integer;
|
|
12229
12803
|
'queue.type': string;
|
|
12230
|
-
'queue.max_bytes
|
|
12231
|
-
'queue.max_bytes.units': string;
|
|
12804
|
+
'queue.max_bytes': string;
|
|
12232
12805
|
'queue.checkpoint.writes': integer;
|
|
12233
12806
|
}
|
|
12234
12807
|
export interface LogstashDeletePipelineRequest extends RequestBase {
|
|
@@ -12290,7 +12863,8 @@ export interface MigrationPostFeatureUpgradeRequest extends RequestBase {
|
|
|
12290
12863
|
}
|
|
12291
12864
|
export interface MigrationPostFeatureUpgradeResponse {
|
|
12292
12865
|
accepted: boolean;
|
|
12293
|
-
features
|
|
12866
|
+
features?: MigrationPostFeatureUpgradeMigrationFeature[];
|
|
12867
|
+
reason?: string;
|
|
12294
12868
|
}
|
|
12295
12869
|
export interface MlAdaptiveAllocationsSettings {
|
|
12296
12870
|
enabled: boolean;
|
|
@@ -14733,6 +15307,7 @@ export interface NodesJvmMemoryStats {
|
|
|
14733
15307
|
heap_used_percent?: long;
|
|
14734
15308
|
heap_committed_in_bytes?: long;
|
|
14735
15309
|
heap_max_in_bytes?: long;
|
|
15310
|
+
heap_max?: ByteSize;
|
|
14736
15311
|
non_heap_used_in_bytes?: long;
|
|
14737
15312
|
non_heap_committed_in_bytes?: long;
|
|
14738
15313
|
pools?: Record<string, NodesPool>;
|
|
@@ -14798,6 +15373,8 @@ export interface NodesPressureMemory {
|
|
|
14798
15373
|
coordinating_rejections?: long;
|
|
14799
15374
|
primary_rejections?: long;
|
|
14800
15375
|
replica_rejections?: long;
|
|
15376
|
+
primary_document_rejections?: long;
|
|
15377
|
+
large_operation_rejections?: long;
|
|
14801
15378
|
}
|
|
14802
15379
|
export interface NodesProcess {
|
|
14803
15380
|
cpu?: NodesCpu;
|
|
@@ -14972,12 +15549,13 @@ export interface NodesInfoNodeInfo {
|
|
|
14972
15549
|
build_flavor: string;
|
|
14973
15550
|
build_hash: string;
|
|
14974
15551
|
build_type: string;
|
|
15552
|
+
component_versions: Record<Name, integer>;
|
|
14975
15553
|
host: Host;
|
|
14976
15554
|
http?: NodesInfoNodeInfoHttp;
|
|
15555
|
+
index_version: VersionNumber;
|
|
14977
15556
|
ip: Ip;
|
|
14978
15557
|
jvm?: NodesInfoNodeJvmInfo;
|
|
14979
15558
|
name: Name;
|
|
14980
|
-
network?: NodesInfoNodeInfoNetwork;
|
|
14981
15559
|
os?: NodesInfoNodeOperatingSystemInfo;
|
|
14982
15560
|
plugins?: PluginStats[];
|
|
14983
15561
|
process?: NodesInfoNodeProcessInfo;
|
|
@@ -14988,10 +15566,12 @@ export interface NodesInfoNodeInfo {
|
|
|
14988
15566
|
total_indexing_buffer_in_bytes?: ByteSize;
|
|
14989
15567
|
transport?: NodesInfoNodeInfoTransport;
|
|
14990
15568
|
transport_address: TransportAddress;
|
|
15569
|
+
transport_version: VersionNumber;
|
|
14991
15570
|
version: VersionString;
|
|
14992
15571
|
modules?: PluginStats[];
|
|
14993
15572
|
ingest?: NodesInfoNodeInfoIngest;
|
|
14994
15573
|
aggregations?: Record<string, NodesInfoNodeInfoAggregation>;
|
|
15574
|
+
remote_cluster_server?: NodesInfoRemoveClusterServer;
|
|
14995
15575
|
}
|
|
14996
15576
|
export interface NodesInfoNodeInfoAction {
|
|
14997
15577
|
destructive_requires_name: string;
|
|
@@ -15006,7 +15586,7 @@ export interface NodesInfoNodeInfoClient {
|
|
|
15006
15586
|
type: string;
|
|
15007
15587
|
}
|
|
15008
15588
|
export interface NodesInfoNodeInfoDiscoverKeys {
|
|
15009
|
-
seed_hosts?: string[];
|
|
15589
|
+
seed_hosts?: string[] | string;
|
|
15010
15590
|
type?: string;
|
|
15011
15591
|
seed_providers?: string[];
|
|
15012
15592
|
}
|
|
@@ -15047,15 +15627,6 @@ export interface NodesInfoNodeInfoMemory {
|
|
|
15047
15627
|
total: string;
|
|
15048
15628
|
total_in_bytes: long;
|
|
15049
15629
|
}
|
|
15050
|
-
export interface NodesInfoNodeInfoNetwork {
|
|
15051
|
-
primary_interface: NodesInfoNodeInfoNetworkInterface;
|
|
15052
|
-
refresh_interval: integer;
|
|
15053
|
-
}
|
|
15054
|
-
export interface NodesInfoNodeInfoNetworkInterface {
|
|
15055
|
-
address: string;
|
|
15056
|
-
mac_address: string;
|
|
15057
|
-
name: Name;
|
|
15058
|
-
}
|
|
15059
15630
|
export interface NodesInfoNodeInfoOSCPU {
|
|
15060
15631
|
cache_size: string;
|
|
15061
15632
|
cache_size_in_bytes: integer;
|
|
@@ -15109,7 +15680,7 @@ export interface NodesInfoNodeInfoSettingsCluster {
|
|
|
15109
15680
|
name: Name;
|
|
15110
15681
|
routing?: IndicesIndexRouting;
|
|
15111
15682
|
election: NodesInfoNodeInfoSettingsClusterElection;
|
|
15112
|
-
initial_master_nodes?: string[];
|
|
15683
|
+
initial_master_nodes?: string[] | string;
|
|
15113
15684
|
deprecation_indexing?: NodesInfoDeprecationIndexing;
|
|
15114
15685
|
}
|
|
15115
15686
|
export interface NodesInfoNodeInfoSettingsClusterElection {
|
|
@@ -15172,6 +15743,7 @@ export interface NodesInfoNodeInfoSettingsTransport {
|
|
|
15172
15743
|
type: NodesInfoNodeInfoSettingsTransportType | string;
|
|
15173
15744
|
'type.default'?: string;
|
|
15174
15745
|
features?: NodesInfoNodeInfoSettingsTransportFeatures;
|
|
15746
|
+
ignore_deserialization_errors?: SpecUtilsStringified<boolean>;
|
|
15175
15747
|
}
|
|
15176
15748
|
export interface NodesInfoNodeInfoSettingsTransportFeatures {
|
|
15177
15749
|
'x-pack': string;
|
|
@@ -15235,7 +15807,6 @@ export interface NodesInfoNodeJvmInfo {
|
|
|
15235
15807
|
vm_vendor: string;
|
|
15236
15808
|
vm_version: VersionString;
|
|
15237
15809
|
using_bundled_jdk: boolean;
|
|
15238
|
-
bundled_jdk: boolean;
|
|
15239
15810
|
using_compressed_ordinary_object_pointers?: boolean | string;
|
|
15240
15811
|
input_arguments: string[];
|
|
15241
15812
|
}
|
|
@@ -15264,6 +15835,10 @@ export interface NodesInfoNodeThreadPoolInfo {
|
|
|
15264
15835
|
size?: integer;
|
|
15265
15836
|
type: string;
|
|
15266
15837
|
}
|
|
15838
|
+
export interface NodesInfoRemoveClusterServer {
|
|
15839
|
+
bound_address: TransportAddress[];
|
|
15840
|
+
publish_address: TransportAddress;
|
|
15841
|
+
}
|
|
15267
15842
|
export interface NodesInfoRequest extends RequestBase {
|
|
15268
15843
|
node_id?: NodeIds;
|
|
15269
15844
|
metric?: Metrics;
|
|
@@ -16277,9 +16852,6 @@ export interface SecurityGetUserRequest extends RequestBase {
|
|
|
16277
16852
|
}
|
|
16278
16853
|
export type SecurityGetUserResponse = Record<string, SecurityUser>;
|
|
16279
16854
|
export interface SecurityGetUserPrivilegesRequest extends RequestBase {
|
|
16280
|
-
application?: Name;
|
|
16281
|
-
priviledge?: Name;
|
|
16282
|
-
username?: Name | null;
|
|
16283
16855
|
}
|
|
16284
16856
|
export interface SecurityGetUserPrivilegesResponse {
|
|
16285
16857
|
applications: SecurityApplicationPrivileges[];
|
|
@@ -16310,6 +16882,7 @@ export interface SecurityGrantApiKeyGrantApiKey {
|
|
|
16310
16882
|
metadata?: Metadata;
|
|
16311
16883
|
}
|
|
16312
16884
|
export interface SecurityGrantApiKeyRequest extends RequestBase {
|
|
16885
|
+
refresh?: Refresh;
|
|
16313
16886
|
api_key: SecurityGrantApiKeyGrantApiKey;
|
|
16314
16887
|
grant_type: SecurityGrantApiKeyApiKeyGrantType;
|
|
16315
16888
|
access_token?: string;
|
|
@@ -16814,6 +17387,13 @@ export interface SlmSnapshotLifecycle {
|
|
|
16814
17387
|
version: VersionNumber;
|
|
16815
17388
|
stats: SlmStatistics;
|
|
16816
17389
|
}
|
|
17390
|
+
export interface SlmSnapshotPolicyStats {
|
|
17391
|
+
policy: string;
|
|
17392
|
+
snapshots_taken: long;
|
|
17393
|
+
snapshots_failed: long;
|
|
17394
|
+
snapshots_deleted: long;
|
|
17395
|
+
snapshot_deletion_failures: long;
|
|
17396
|
+
}
|
|
16817
17397
|
export interface SlmStatistics {
|
|
16818
17398
|
retention_deletion_time?: Duration;
|
|
16819
17399
|
retention_deletion_time_millis?: DurationValue<UnitMillis>;
|
|
@@ -16869,7 +17449,7 @@ export interface SlmGetStatsResponse {
|
|
|
16869
17449
|
total_snapshot_deletion_failures: long;
|
|
16870
17450
|
total_snapshots_failed: long;
|
|
16871
17451
|
total_snapshots_taken: long;
|
|
16872
|
-
policy_stats:
|
|
17452
|
+
policy_stats: SlmSnapshotPolicyStats[];
|
|
16873
17453
|
}
|
|
16874
17454
|
export interface SlmGetStatusRequest extends RequestBase {
|
|
16875
17455
|
master_timeout?: Duration;
|
|
@@ -17030,7 +17610,7 @@ export interface SnapshotSnapshotShardFailure {
|
|
|
17030
17610
|
index: IndexName;
|
|
17031
17611
|
node_id?: Id;
|
|
17032
17612
|
reason: string;
|
|
17033
|
-
shard_id:
|
|
17613
|
+
shard_id: integer;
|
|
17034
17614
|
index_uuid: Id;
|
|
17035
17615
|
status: string;
|
|
17036
17616
|
}
|
|
@@ -17114,6 +17694,7 @@ export interface SnapshotDeleteRequest extends RequestBase {
|
|
|
17114
17694
|
repository: Name;
|
|
17115
17695
|
snapshot: Name;
|
|
17116
17696
|
master_timeout?: Duration;
|
|
17697
|
+
wait_for_completion?: boolean;
|
|
17117
17698
|
}
|
|
17118
17699
|
export type SnapshotDeleteResponse = AcknowledgedResponseBase;
|
|
17119
17700
|
export interface SnapshotDeleteRepositoryRequest extends RequestBase {
|
|
@@ -18956,10 +19537,10 @@ export interface SpecUtilsCommonQueryParameters {
|
|
|
18956
19537
|
human?: boolean;
|
|
18957
19538
|
pretty?: boolean;
|
|
18958
19539
|
}
|
|
19540
|
+
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
|
19541
|
+
}
|
|
18959
19542
|
export interface SpecUtilsCommonCatQueryParameters {
|
|
18960
19543
|
format?: string;
|
|
18961
19544
|
help?: boolean;
|
|
18962
19545
|
v?: boolean;
|
|
18963
19546
|
}
|
|
18964
|
-
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
|
18965
|
-
}
|