@elastic/elasticsearch 8.18.2 → 8.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +2 -2
- 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.js +1 -1
- package/lib/api/api/delete_by_query.js.map +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 +19 -12
- package/lib/api/api/transform.js +21 -0
- package/lib/api/api/transform.js.map +1 -1
- 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 +782 -186
- package/lib/api/typesWithBodyKey.d.ts +791 -186
- package/lib/client.js +9 -12
- package/lib/client.js.map +1 -1
- package/lib/helpers.js +1 -1
- package/lib/helpers.js.map +1 -1
- package/package.json +12 -12
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;
|
|
@@ -172,7 +169,6 @@ export interface DeleteByQueryRequest extends RequestBase {
|
|
|
172
169
|
search_timeout?: Duration;
|
|
173
170
|
search_type?: SearchType;
|
|
174
171
|
slices?: Slices;
|
|
175
|
-
sort?: string[];
|
|
176
172
|
stats?: string[];
|
|
177
173
|
terminate_after?: long;
|
|
178
174
|
timeout?: Duration;
|
|
@@ -182,6 +178,7 @@ export interface DeleteByQueryRequest extends RequestBase {
|
|
|
182
178
|
max_docs?: long;
|
|
183
179
|
query?: QueryDslQueryContainer;
|
|
184
180
|
slice?: SlicedScroll;
|
|
181
|
+
sort?: Sort;
|
|
185
182
|
}
|
|
186
183
|
export interface DeleteByQueryResponse {
|
|
187
184
|
batches?: long;
|
|
@@ -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;
|
|
@@ -1685,7 +1683,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
|
|
1685
1683
|
doc?: TDocument;
|
|
1686
1684
|
filter?: TermvectorsFilter;
|
|
1687
1685
|
per_field_analyzer?: Record<Field, string>;
|
|
1688
|
-
fields?:
|
|
1686
|
+
fields?: Field[];
|
|
1689
1687
|
field_statistics?: boolean;
|
|
1690
1688
|
offsets?: boolean;
|
|
1691
1689
|
payloads?: boolean;
|
|
@@ -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;
|
|
@@ -2597,7 +2644,7 @@ export interface AggregationsAggregationRange {
|
|
|
2597
2644
|
to?: double | null;
|
|
2598
2645
|
}
|
|
2599
2646
|
export interface AggregationsArrayPercentilesItem {
|
|
2600
|
-
key:
|
|
2647
|
+
key: double;
|
|
2601
2648
|
value: double | null;
|
|
2602
2649
|
value_as_string?: string;
|
|
2603
2650
|
}
|
|
@@ -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;
|
|
@@ -3134,7 +3183,7 @@ export interface AggregationsIpRangeBucketKeys extends AggregationsMultiBucketBa
|
|
|
3134
3183
|
export type AggregationsIpRangeBucket = AggregationsIpRangeBucketKeys & {
|
|
3135
3184
|
[property: string]: AggregationsAggregate | string | long;
|
|
3136
3185
|
};
|
|
3137
|
-
export type AggregationsKeyedPercentiles = Record<string, string |
|
|
3186
|
+
export type AggregationsKeyedPercentiles = Record<string, string | double | null>;
|
|
3138
3187
|
export interface AggregationsLinearMovingAverageAggregation extends AggregationsMovingAverageAggregationBase {
|
|
3139
3188
|
model: 'linear';
|
|
3140
3189
|
settings: EmptyObject;
|
|
@@ -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;
|
|
@@ -5762,14 +5932,36 @@ export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
|
5762
5932
|
policy?: AutoscalingAutoscalingPolicy;
|
|
5763
5933
|
}
|
|
5764
5934
|
export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
5935
|
+
export type CatCatAliasesColumn = 'alias' | 'a' | 'index' | 'i' | 'idx' | 'filter' | 'f' | 'fi' | 'routing.index' | 'ri' | 'routingIndex' | 'routing.search' | 'rs' | 'routingSearch' | 'is_write_index' | 'w' | 'isWriteIndex' | string;
|
|
5936
|
+
export type CatCatAliasesColumns = CatCatAliasesColumn | CatCatAliasesColumn[];
|
|
5937
|
+
export type CatCatAllocationColumn = 'shards' | 's' | 'shards.undesired' | 'write_load.forecast' | 'wlf' | 'writeLoadForecast' | 'disk.indices.forecast' | 'dif' | 'diskIndicesForecast' | 'disk.indices' | 'di' | 'diskIndices' | 'disk.used' | 'du' | 'diskUsed' | 'disk.avail' | 'da' | 'diskAvail' | 'disk.total' | 'dt' | 'diskTotal' | 'disk.percent' | 'dp' | 'diskPercent' | 'host' | 'h' | 'ip' | 'node' | 'n' | 'node.role' | 'r' | 'role' | 'nodeRole' | string;
|
|
5938
|
+
export type CatCatAllocationColumns = CatCatAllocationColumn | CatCatAllocationColumn[];
|
|
5765
5939
|
export type CatCatAnomalyDetectorColumn = 'assignment_explanation' | 'ae' | 'buckets.count' | 'bc' | 'bucketsCount' | 'buckets.time.exp_avg' | 'btea' | 'bucketsTimeExpAvg' | 'buckets.time.exp_avg_hour' | 'bteah' | 'bucketsTimeExpAvgHour' | 'buckets.time.max' | 'btmax' | 'bucketsTimeMax' | 'buckets.time.min' | 'btmin' | 'bucketsTimeMin' | 'buckets.time.total' | 'btt' | 'bucketsTimeTotal' | 'data.buckets' | 'db' | 'dataBuckets' | 'data.earliest_record' | 'der' | 'dataEarliestRecord' | 'data.empty_buckets' | 'deb' | 'dataEmptyBuckets' | 'data.input_bytes' | 'dib' | 'dataInputBytes' | 'data.input_fields' | 'dif' | 'dataInputFields' | 'data.input_records' | 'dir' | 'dataInputRecords' | 'data.invalid_dates' | 'did' | 'dataInvalidDates' | 'data.last' | 'dl' | 'dataLast' | 'data.last_empty_bucket' | 'dleb' | 'dataLastEmptyBucket' | 'data.last_sparse_bucket' | 'dlsb' | 'dataLastSparseBucket' | 'data.latest_record' | 'dlr' | 'dataLatestRecord' | 'data.missing_fields' | 'dmf' | 'dataMissingFields' | 'data.out_of_order_timestamps' | 'doot' | 'dataOutOfOrderTimestamps' | 'data.processed_fields' | 'dpf' | 'dataProcessedFields' | 'data.processed_records' | 'dpr' | 'dataProcessedRecords' | 'data.sparse_buckets' | 'dsb' | 'dataSparseBuckets' | 'forecasts.memory.avg' | 'fmavg' | 'forecastsMemoryAvg' | 'forecasts.memory.max' | 'fmmax' | 'forecastsMemoryMax' | 'forecasts.memory.min' | 'fmmin' | 'forecastsMemoryMin' | 'forecasts.memory.total' | 'fmt' | 'forecastsMemoryTotal' | 'forecasts.records.avg' | 'fravg' | 'forecastsRecordsAvg' | 'forecasts.records.max' | 'frmax' | 'forecastsRecordsMax' | 'forecasts.records.min' | 'frmin' | 'forecastsRecordsMin' | 'forecasts.records.total' | 'frt' | 'forecastsRecordsTotal' | 'forecasts.time.avg' | 'ftavg' | 'forecastsTimeAvg' | 'forecasts.time.max' | 'ftmax' | 'forecastsTimeMax' | 'forecasts.time.min' | 'ftmin' | 'forecastsTimeMin' | 'forecasts.time.total' | 'ftt' | 'forecastsTimeTotal' | 'forecasts.total' | 'ft' | 'forecastsTotal' | 'id' | 'model.bucket_allocation_failures' | 'mbaf' | 'modelBucketAllocationFailures' | 'model.by_fields' | 'mbf' | 'modelByFields' | 'model.bytes' | 'mb' | 'modelBytes' | 'model.bytes_exceeded' | 'mbe' | 'modelBytesExceeded' | 'model.categorization_status' | 'mcs' | 'modelCategorizationStatus' | 'model.categorized_doc_count' | 'mcdc' | 'modelCategorizedDocCount' | 'model.dead_category_count' | 'mdcc' | 'modelDeadCategoryCount' | 'model.failed_category_count' | 'mdcc' | 'modelFailedCategoryCount' | 'model.frequent_category_count' | 'mfcc' | 'modelFrequentCategoryCount' | 'model.log_time' | 'mlt' | 'modelLogTime' | 'model.memory_limit' | 'mml' | 'modelMemoryLimit' | 'model.memory_status' | 'mms' | 'modelMemoryStatus' | 'model.over_fields' | 'mof' | 'modelOverFields' | 'model.partition_fields' | 'mpf' | 'modelPartitionFields' | 'model.rare_category_count' | 'mrcc' | 'modelRareCategoryCount' | 'model.timestamp' | 'mt' | 'modelTimestamp' | 'model.total_category_count' | 'mtcc' | 'modelTotalCategoryCount' | 'node.address' | 'na' | 'nodeAddress' | 'node.ephemeral_id' | 'ne' | 'nodeEphemeralId' | 'node.id' | 'ni' | 'nodeId' | 'node.name' | 'nn' | 'nodeName' | 'opened_time' | 'ot' | 'state' | 's';
|
|
5766
|
-
export type
|
|
5940
|
+
export type CatCatAnomalyDetectorColumns = CatCatAnomalyDetectorColumn | CatCatAnomalyDetectorColumn[];
|
|
5941
|
+
export type CatCatComponentColumn = 'name' | 'n' | 'version' | 'v' | 'alias_count' | 'a' | 'mapping_count' | 'm' | 'settings_count' | 's' | 'metadata_count' | 'me' | 'included_in' | 'i' | string;
|
|
5942
|
+
export type CatCatComponentColumns = CatCatComponentColumn | CatCatComponentColumn[];
|
|
5943
|
+
export type CatCatCountColumn = 'epoch' | 't' | 'time' | 'timestamp' | 'ts' | 'hms' | 'hhmmss' | 'count' | 'dc' | 'docs.count' | 'docsCount' | string;
|
|
5944
|
+
export type CatCatCountColumns = CatCatCountColumn | CatCatCountColumn[];
|
|
5767
5945
|
export type CatCatDatafeedColumn = 'ae' | 'assignment_explanation' | 'bc' | 'buckets.count' | 'bucketsCount' | 'id' | 'na' | 'node.address' | 'nodeAddress' | 'ne' | 'node.ephemeral_id' | 'nodeEphemeralId' | 'ni' | 'node.id' | 'nodeId' | 'nn' | 'node.name' | 'nodeName' | 'sba' | 'search.bucket_avg' | 'searchBucketAvg' | 'sc' | 'search.count' | 'searchCount' | 'seah' | 'search.exp_avg_hour' | 'searchExpAvgHour' | 'st' | 'search.time' | 'searchTime' | 's' | 'state';
|
|
5768
5946
|
export type CatCatDatafeedColumns = CatCatDatafeedColumn | CatCatDatafeedColumn[];
|
|
5769
5947
|
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
5948
|
export type CatCatDfaColumns = CatCatDfaColumn | CatCatDfaColumn[];
|
|
5949
|
+
export type CatCatFieldDataColumn = 'id' | 'host' | 'h' | 'ip' | 'node' | 'n' | 'field' | 'f' | 'size' | 's' | string;
|
|
5950
|
+
export type CatCatFieldDataColumns = CatCatFieldDataColumn | CatCatFieldDataColumn[];
|
|
5951
|
+
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;
|
|
5952
|
+
export type CatCatNodeColumns = CatCatNodeColumn | CatCatNodeColumn[];
|
|
5953
|
+
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;
|
|
5954
|
+
export type CatCatRecoveryColumns = CatCatRecoveryColumn | CatCatRecoveryColumn[];
|
|
5771
5955
|
export interface CatCatRequestBase extends RequestBase, SpecUtilsCommonCatQueryParameters {
|
|
5772
5956
|
}
|
|
5957
|
+
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;
|
|
5958
|
+
export type CatCatSegmentsColumns = CatCatSegmentsColumn | CatCatSegmentsColumn[];
|
|
5959
|
+
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;
|
|
5960
|
+
export type CatCatShardColumns = CatCatShardColumn | CatCatShardColumn[];
|
|
5961
|
+
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;
|
|
5962
|
+
export type CatCatSnapshotsColumns = CatCatSnapshotsColumn | CatCatSnapshotsColumn[];
|
|
5963
|
+
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;
|
|
5964
|
+
export type CatCatThreadPoolColumns = CatCatThreadPoolColumn | CatCatThreadPoolColumn[];
|
|
5773
5965
|
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
5966
|
export type CatCatTrainedModelsColumns = CatCatTrainedModelsColumn | CatCatTrainedModelsColumn[];
|
|
5775
5967
|
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';
|
|
@@ -5795,11 +5987,10 @@ export interface CatAliasesAliasesRecord {
|
|
|
5795
5987
|
}
|
|
5796
5988
|
export interface CatAliasesRequest extends CatCatRequestBase {
|
|
5797
5989
|
name?: Names;
|
|
5798
|
-
h?:
|
|
5990
|
+
h?: CatCatAliasesColumns;
|
|
5799
5991
|
s?: Names;
|
|
5800
5992
|
expand_wildcards?: ExpandWildcards;
|
|
5801
5993
|
local?: boolean;
|
|
5802
|
-
master_timeout?: Duration;
|
|
5803
5994
|
}
|
|
5804
5995
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5805
5996
|
export interface CatAllocationAllocationRecord {
|
|
@@ -5840,7 +6031,7 @@ export interface CatAllocationAllocationRecord {
|
|
|
5840
6031
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5841
6032
|
node_id?: NodeIds;
|
|
5842
6033
|
bytes?: Bytes;
|
|
5843
|
-
h?:
|
|
6034
|
+
h?: CatCatAllocationColumns;
|
|
5844
6035
|
s?: Names;
|
|
5845
6036
|
local?: boolean;
|
|
5846
6037
|
master_timeout?: Duration;
|
|
@@ -5857,7 +6048,7 @@ export interface CatComponentTemplatesComponentTemplate {
|
|
|
5857
6048
|
}
|
|
5858
6049
|
export interface CatComponentTemplatesRequest extends CatCatRequestBase {
|
|
5859
6050
|
name?: string;
|
|
5860
|
-
h?:
|
|
6051
|
+
h?: CatCatComponentColumns;
|
|
5861
6052
|
s?: Names;
|
|
5862
6053
|
local?: boolean;
|
|
5863
6054
|
master_timeout?: Duration;
|
|
@@ -5878,7 +6069,7 @@ export interface CatCountCountRecord {
|
|
|
5878
6069
|
}
|
|
5879
6070
|
export interface CatCountRequest extends CatCatRequestBase {
|
|
5880
6071
|
index?: Indices;
|
|
5881
|
-
h?:
|
|
6072
|
+
h?: CatCatCountColumns;
|
|
5882
6073
|
s?: Names;
|
|
5883
6074
|
}
|
|
5884
6075
|
export type CatCountResponse = CatCountCountRecord[];
|
|
@@ -5896,7 +6087,7 @@ export interface CatFielddataFielddataRecord {
|
|
|
5896
6087
|
export interface CatFielddataRequest extends CatCatRequestBase {
|
|
5897
6088
|
fields?: Fields;
|
|
5898
6089
|
bytes?: Bytes;
|
|
5899
|
-
h?:
|
|
6090
|
+
h?: CatCatFieldDataColumns;
|
|
5900
6091
|
s?: Names;
|
|
5901
6092
|
}
|
|
5902
6093
|
export type CatFielddataResponse = CatFielddataFielddataRecord[];
|
|
@@ -6555,8 +6746,8 @@ export interface CatMlJobsRequest extends CatCatRequestBase {
|
|
|
6555
6746
|
job_id?: Id;
|
|
6556
6747
|
allow_no_match?: boolean;
|
|
6557
6748
|
bytes?: Bytes;
|
|
6558
|
-
h?:
|
|
6559
|
-
s?:
|
|
6749
|
+
h?: CatCatAnomalyDetectorColumns;
|
|
6750
|
+
s?: CatCatAnomalyDetectorColumns;
|
|
6560
6751
|
time?: TimeUnit;
|
|
6561
6752
|
}
|
|
6562
6753
|
export type CatMlJobsResponse = CatMlJobsJobsRecord[];
|
|
@@ -6911,7 +7102,7 @@ export interface CatNodesRequest extends CatCatRequestBase {
|
|
|
6911
7102
|
bytes?: Bytes;
|
|
6912
7103
|
full_id?: boolean | string;
|
|
6913
7104
|
include_unloaded_segments?: boolean;
|
|
6914
|
-
h?:
|
|
7105
|
+
h?: CatCatNodeColumns;
|
|
6915
7106
|
s?: Names;
|
|
6916
7107
|
master_timeout?: Duration;
|
|
6917
7108
|
time?: TimeUnit;
|
|
@@ -7018,7 +7209,7 @@ export interface CatRecoveryRequest extends CatCatRequestBase {
|
|
|
7018
7209
|
active_only?: boolean;
|
|
7019
7210
|
bytes?: Bytes;
|
|
7020
7211
|
detailed?: boolean;
|
|
7021
|
-
h?:
|
|
7212
|
+
h?: CatCatRecoveryColumns;
|
|
7022
7213
|
s?: Names;
|
|
7023
7214
|
time?: TimeUnit;
|
|
7024
7215
|
}
|
|
@@ -7039,7 +7230,7 @@ export type CatRepositoriesResponse = CatRepositoriesRepositoriesRecord[];
|
|
|
7039
7230
|
export interface CatSegmentsRequest extends CatCatRequestBase {
|
|
7040
7231
|
index?: Indices;
|
|
7041
7232
|
bytes?: Bytes;
|
|
7042
|
-
h?:
|
|
7233
|
+
h?: CatCatSegmentsColumns;
|
|
7043
7234
|
s?: Names;
|
|
7044
7235
|
local?: boolean;
|
|
7045
7236
|
master_timeout?: Duration;
|
|
@@ -7089,7 +7280,7 @@ export interface CatSegmentsSegmentsRecord {
|
|
|
7089
7280
|
export interface CatShardsRequest extends CatCatRequestBase {
|
|
7090
7281
|
index?: Indices;
|
|
7091
7282
|
bytes?: Bytes;
|
|
7092
|
-
h?:
|
|
7283
|
+
h?: CatCatShardColumns;
|
|
7093
7284
|
s?: Names;
|
|
7094
7285
|
master_timeout?: Duration;
|
|
7095
7286
|
time?: TimeUnit;
|
|
@@ -7312,7 +7503,7 @@ export interface CatShardsShardsRecord {
|
|
|
7312
7503
|
export interface CatSnapshotsRequest extends CatCatRequestBase {
|
|
7313
7504
|
repository?: Names;
|
|
7314
7505
|
ignore_unavailable?: boolean;
|
|
7315
|
-
h?:
|
|
7506
|
+
h?: CatCatSnapshotsColumns;
|
|
7316
7507
|
s?: Names;
|
|
7317
7508
|
master_timeout?: Duration;
|
|
7318
7509
|
time?: TimeUnit;
|
|
@@ -7420,7 +7611,7 @@ export interface CatTemplatesTemplatesRecord {
|
|
|
7420
7611
|
}
|
|
7421
7612
|
export interface CatThreadPoolRequest extends CatCatRequestBase {
|
|
7422
7613
|
thread_pool_patterns?: Names;
|
|
7423
|
-
h?:
|
|
7614
|
+
h?: CatCatThreadPoolColumns;
|
|
7424
7615
|
s?: Names;
|
|
7425
7616
|
time?: TimeUnit;
|
|
7426
7617
|
local?: boolean;
|
|
@@ -7912,6 +8103,7 @@ export type ClusterExistsComponentTemplateResponse = boolean;
|
|
|
7912
8103
|
export interface ClusterGetComponentTemplateRequest extends RequestBase {
|
|
7913
8104
|
name?: Name;
|
|
7914
8105
|
flat_settings?: boolean;
|
|
8106
|
+
settings_filter?: string | string[];
|
|
7915
8107
|
include_defaults?: boolean;
|
|
7916
8108
|
local?: boolean;
|
|
7917
8109
|
master_timeout?: Duration;
|
|
@@ -8023,6 +8215,7 @@ export type ClusterPostVotingConfigExclusionsResponse = boolean;
|
|
|
8023
8215
|
export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
8024
8216
|
name: Name;
|
|
8025
8217
|
create?: boolean;
|
|
8218
|
+
cause?: string;
|
|
8026
8219
|
master_timeout?: Duration;
|
|
8027
8220
|
template: IndicesIndexState;
|
|
8028
8221
|
version?: VersionNumber;
|
|
@@ -8141,6 +8334,35 @@ export interface ClusterStateRequest extends RequestBase {
|
|
|
8141
8334
|
wait_for_timeout?: Duration;
|
|
8142
8335
|
}
|
|
8143
8336
|
export type ClusterStateResponse = any;
|
|
8337
|
+
export interface ClusterStatsCCSStats {
|
|
8338
|
+
clusters?: Record<string, ClusterStatsRemoteClusterInfo>;
|
|
8339
|
+
_search: ClusterStatsCCSUsageStats;
|
|
8340
|
+
_esql?: ClusterStatsCCSUsageStats;
|
|
8341
|
+
}
|
|
8342
|
+
export interface ClusterStatsCCSUsageClusterStats {
|
|
8343
|
+
total: integer;
|
|
8344
|
+
skipped: integer;
|
|
8345
|
+
took: ClusterStatsCCSUsageTimeValue;
|
|
8346
|
+
}
|
|
8347
|
+
export interface ClusterStatsCCSUsageStats {
|
|
8348
|
+
total: integer;
|
|
8349
|
+
success: integer;
|
|
8350
|
+
skipped: integer;
|
|
8351
|
+
took: ClusterStatsCCSUsageTimeValue;
|
|
8352
|
+
took_mrt_true?: ClusterStatsCCSUsageTimeValue;
|
|
8353
|
+
took_mrt_false?: ClusterStatsCCSUsageTimeValue;
|
|
8354
|
+
remotes_per_search_max: integer;
|
|
8355
|
+
remotes_per_search_avg: double;
|
|
8356
|
+
failure_reasons: Record<string, integer>;
|
|
8357
|
+
features: Record<string, integer>;
|
|
8358
|
+
clients: Record<string, integer>;
|
|
8359
|
+
clusters: Record<string, ClusterStatsCCSUsageClusterStats>;
|
|
8360
|
+
}
|
|
8361
|
+
export interface ClusterStatsCCSUsageTimeValue {
|
|
8362
|
+
max: DurationValue<UnitMillis>;
|
|
8363
|
+
avg: DurationValue<UnitMillis>;
|
|
8364
|
+
p90: DurationValue<UnitMillis>;
|
|
8365
|
+
}
|
|
8144
8366
|
export interface ClusterStatsCharFilterTypes {
|
|
8145
8367
|
analyzer_types: ClusterStatsFieldTypes[];
|
|
8146
8368
|
built_in_analyzers: ClusterStatsFieldTypes[];
|
|
@@ -8150,24 +8372,42 @@ export interface ClusterStatsCharFilterTypes {
|
|
|
8150
8372
|
char_filter_types: ClusterStatsFieldTypes[];
|
|
8151
8373
|
filter_types: ClusterStatsFieldTypes[];
|
|
8152
8374
|
tokenizer_types: ClusterStatsFieldTypes[];
|
|
8375
|
+
synonyms: Record<Name, ClusterStatsSynonymsStats>;
|
|
8153
8376
|
}
|
|
8154
8377
|
export interface ClusterStatsClusterFileSystem {
|
|
8155
|
-
|
|
8156
|
-
|
|
8157
|
-
|
|
8378
|
+
path?: string;
|
|
8379
|
+
mount?: string;
|
|
8380
|
+
type?: string;
|
|
8381
|
+
available_in_bytes?: long;
|
|
8382
|
+
available?: ByteSize;
|
|
8383
|
+
free_in_bytes?: long;
|
|
8384
|
+
free?: ByteSize;
|
|
8385
|
+
total_in_bytes?: long;
|
|
8386
|
+
total?: ByteSize;
|
|
8387
|
+
low_watermark_free_space?: ByteSize;
|
|
8388
|
+
low_watermark_free_space_in_bytes?: long;
|
|
8389
|
+
high_watermark_free_space?: ByteSize;
|
|
8390
|
+
high_watermark_free_space_in_bytes?: long;
|
|
8391
|
+
flood_stage_free_space?: ByteSize;
|
|
8392
|
+
flood_stage_free_space_in_bytes?: long;
|
|
8393
|
+
frozen_flood_stage_free_space?: ByteSize;
|
|
8394
|
+
frozen_flood_stage_free_space_in_bytes?: long;
|
|
8158
8395
|
}
|
|
8159
8396
|
export interface ClusterStatsClusterIndices {
|
|
8160
|
-
analysis
|
|
8397
|
+
analysis?: ClusterStatsCharFilterTypes;
|
|
8161
8398
|
completion: CompletionStats;
|
|
8162
8399
|
count: long;
|
|
8163
8400
|
docs: DocStats;
|
|
8164
8401
|
fielddata: FielddataStats;
|
|
8165
8402
|
query_cache: QueryCacheStats;
|
|
8403
|
+
search: ClusterStatsSearchUsageStats;
|
|
8166
8404
|
segments: SegmentsStats;
|
|
8167
8405
|
shards: ClusterStatsClusterIndicesShards;
|
|
8168
8406
|
store: StoreStats;
|
|
8169
|
-
mappings
|
|
8407
|
+
mappings?: ClusterStatsFieldTypesMappings;
|
|
8170
8408
|
versions?: ClusterStatsIndicesVersions[];
|
|
8409
|
+
dense_vector: ClusterStatsDenseVectorStats;
|
|
8410
|
+
sparse_vector: ClusterStatsSparseVectorStats;
|
|
8171
8411
|
}
|
|
8172
8412
|
export interface ClusterStatsClusterIndicesShards {
|
|
8173
8413
|
index?: ClusterStatsClusterIndicesShardsIndex;
|
|
@@ -8186,13 +8426,16 @@ export interface ClusterStatsClusterIngest {
|
|
|
8186
8426
|
}
|
|
8187
8427
|
export interface ClusterStatsClusterJvm {
|
|
8188
8428
|
max_uptime_in_millis: DurationValue<UnitMillis>;
|
|
8429
|
+
max_uptime?: Duration;
|
|
8189
8430
|
mem: ClusterStatsClusterJvmMemory;
|
|
8190
8431
|
threads: long;
|
|
8191
8432
|
versions: ClusterStatsClusterJvmVersion[];
|
|
8192
8433
|
}
|
|
8193
8434
|
export interface ClusterStatsClusterJvmMemory {
|
|
8194
8435
|
heap_max_in_bytes: long;
|
|
8436
|
+
heap_max?: ByteSize;
|
|
8195
8437
|
heap_used_in_bytes: long;
|
|
8438
|
+
heap_used?: ByteSize;
|
|
8196
8439
|
}
|
|
8197
8440
|
export interface ClusterStatsClusterJvmVersion {
|
|
8198
8441
|
bundled_jdk: boolean;
|
|
@@ -8208,20 +8451,22 @@ export interface ClusterStatsClusterNetworkTypes {
|
|
|
8208
8451
|
transport_types: Record<string, integer>;
|
|
8209
8452
|
}
|
|
8210
8453
|
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
8454
|
total: integer;
|
|
8223
|
-
|
|
8224
|
-
|
|
8455
|
+
coordinating_only?: integer;
|
|
8456
|
+
data?: integer;
|
|
8457
|
+
data_cold?: integer;
|
|
8458
|
+
data_content?: integer;
|
|
8459
|
+
data_frozen?: integer;
|
|
8460
|
+
data_hot?: integer;
|
|
8461
|
+
data_warm?: integer;
|
|
8462
|
+
index?: integer;
|
|
8463
|
+
ingest?: integer;
|
|
8464
|
+
master?: integer;
|
|
8465
|
+
ml?: integer;
|
|
8466
|
+
remote_cluster_client?: integer;
|
|
8467
|
+
search?: integer;
|
|
8468
|
+
transform?: integer;
|
|
8469
|
+
voting_only?: integer;
|
|
8225
8470
|
}
|
|
8226
8471
|
export interface ClusterStatsClusterNodes {
|
|
8227
8472
|
count: ClusterStatsClusterNodeCount;
|
|
@@ -8281,45 +8526,56 @@ export interface ClusterStatsClusterShardMetrics {
|
|
|
8281
8526
|
max: double;
|
|
8282
8527
|
min: double;
|
|
8283
8528
|
}
|
|
8529
|
+
export interface ClusterStatsClusterSnapshotStats {
|
|
8530
|
+
current_counts: ClusterStatsSnapshotCurrentCounts;
|
|
8531
|
+
repositories: Record<Name, ClusterStatsPerRepositoryStats>;
|
|
8532
|
+
}
|
|
8533
|
+
export interface ClusterStatsDenseVectorOffHeapStats {
|
|
8534
|
+
total_size_bytes: long;
|
|
8535
|
+
total_size?: ByteSize;
|
|
8536
|
+
total_veb_size_bytes: long;
|
|
8537
|
+
total_veb_size?: ByteSize;
|
|
8538
|
+
total_vec_size_bytes: long;
|
|
8539
|
+
total_vec_size?: ByteSize;
|
|
8540
|
+
total_veq_size_bytes: long;
|
|
8541
|
+
total_veq_size?: ByteSize;
|
|
8542
|
+
total_vex_size_bytes: long;
|
|
8543
|
+
total_vex_size?: ByteSize;
|
|
8544
|
+
fielddata?: Record<string, Record<string, long>>;
|
|
8545
|
+
}
|
|
8546
|
+
export interface ClusterStatsDenseVectorStats {
|
|
8547
|
+
value_count: long;
|
|
8548
|
+
off_heap?: ClusterStatsDenseVectorOffHeapStats;
|
|
8549
|
+
}
|
|
8284
8550
|
export interface ClusterStatsFieldTypes {
|
|
8285
8551
|
name: Name;
|
|
8286
8552
|
count: integer;
|
|
8287
8553
|
index_count: integer;
|
|
8288
|
-
indexed_vector_count?:
|
|
8289
|
-
indexed_vector_dim_max?:
|
|
8290
|
-
indexed_vector_dim_min?:
|
|
8554
|
+
indexed_vector_count?: integer;
|
|
8555
|
+
indexed_vector_dim_max?: integer;
|
|
8556
|
+
indexed_vector_dim_min?: integer;
|
|
8291
8557
|
script_count?: integer;
|
|
8558
|
+
vector_index_type_count?: Record<Name, integer>;
|
|
8559
|
+
vector_similarity_type_count?: Record<Name, integer>;
|
|
8560
|
+
vector_element_type_count?: Record<Name, integer>;
|
|
8292
8561
|
}
|
|
8293
8562
|
export interface ClusterStatsFieldTypesMappings {
|
|
8294
8563
|
field_types: ClusterStatsFieldTypes[];
|
|
8295
|
-
runtime_field_types
|
|
8296
|
-
total_field_count?:
|
|
8297
|
-
total_deduplicated_field_count?:
|
|
8564
|
+
runtime_field_types: ClusterStatsRuntimeFieldTypes[];
|
|
8565
|
+
total_field_count?: long;
|
|
8566
|
+
total_deduplicated_field_count?: long;
|
|
8298
8567
|
total_deduplicated_mapping_size?: ByteSize;
|
|
8299
8568
|
total_deduplicated_mapping_size_in_bytes?: long;
|
|
8569
|
+
source_modes: Record<Name, integer>;
|
|
8300
8570
|
}
|
|
8301
8571
|
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;
|
|
8572
|
+
memory: NodesIndexingPressureMemory;
|
|
8318
8573
|
}
|
|
8319
8574
|
export interface ClusterStatsIndicesVersions {
|
|
8320
8575
|
index_count: integer;
|
|
8321
8576
|
primary_shard_count: integer;
|
|
8322
8577
|
total_primary_bytes: long;
|
|
8578
|
+
total_primary_size?: ByteSize;
|
|
8323
8579
|
version: VersionString;
|
|
8324
8580
|
}
|
|
8325
8581
|
export interface ClusterStatsNodePackagingType {
|
|
@@ -8329,12 +8585,54 @@ export interface ClusterStatsNodePackagingType {
|
|
|
8329
8585
|
}
|
|
8330
8586
|
export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
8331
8587
|
adjusted_total_in_bytes?: long;
|
|
8588
|
+
adjusted_total?: ByteSize;
|
|
8332
8589
|
free_in_bytes: long;
|
|
8590
|
+
free?: ByteSize;
|
|
8333
8591
|
free_percent: integer;
|
|
8334
8592
|
total_in_bytes: long;
|
|
8593
|
+
total?: ByteSize;
|
|
8335
8594
|
used_in_bytes: long;
|
|
8595
|
+
used?: ByteSize;
|
|
8336
8596
|
used_percent: integer;
|
|
8337
8597
|
}
|
|
8598
|
+
export interface ClusterStatsPerRepositoryStats {
|
|
8599
|
+
type: string;
|
|
8600
|
+
oldest_start_time_millis: UnitMillis;
|
|
8601
|
+
oldest_start_time?: DateFormat;
|
|
8602
|
+
current_counts: ClusterStatsRepositoryStatsCurrentCounts;
|
|
8603
|
+
}
|
|
8604
|
+
export interface ClusterStatsRemoteClusterInfo {
|
|
8605
|
+
cluster_uuid: string;
|
|
8606
|
+
mode: string;
|
|
8607
|
+
skip_unavailable: boolean;
|
|
8608
|
+
'transport.compress': string;
|
|
8609
|
+
status: HealthStatus;
|
|
8610
|
+
version: VersionString[];
|
|
8611
|
+
nodes_count: integer;
|
|
8612
|
+
shards_count: integer;
|
|
8613
|
+
indices_count: integer;
|
|
8614
|
+
indices_total_size_in_bytes: long;
|
|
8615
|
+
indices_total_size?: string;
|
|
8616
|
+
max_heap_in_bytes: long;
|
|
8617
|
+
max_heap?: string;
|
|
8618
|
+
mem_total_in_bytes: long;
|
|
8619
|
+
mem_total?: string;
|
|
8620
|
+
}
|
|
8621
|
+
export interface ClusterStatsRepositoryStatsCurrentCounts {
|
|
8622
|
+
snapshots: integer;
|
|
8623
|
+
clones: integer;
|
|
8624
|
+
finalizations: integer;
|
|
8625
|
+
deletions: integer;
|
|
8626
|
+
snapshot_deletions: integer;
|
|
8627
|
+
active_deletions: integer;
|
|
8628
|
+
shards: ClusterStatsRepositoryStatsShards;
|
|
8629
|
+
}
|
|
8630
|
+
export interface ClusterStatsRepositoryStatsShards {
|
|
8631
|
+
total: integer;
|
|
8632
|
+
complete: integer;
|
|
8633
|
+
incomplete: integer;
|
|
8634
|
+
states: Record<ClusterStatsShardState, integer>;
|
|
8635
|
+
}
|
|
8338
8636
|
export interface ClusterStatsRequest extends RequestBase {
|
|
8339
8637
|
node_id?: NodeIds;
|
|
8340
8638
|
include_remotes?: boolean;
|
|
@@ -8357,13 +8655,38 @@ export interface ClusterStatsRuntimeFieldTypes {
|
|
|
8357
8655
|
source_max: integer;
|
|
8358
8656
|
source_total: integer;
|
|
8359
8657
|
}
|
|
8658
|
+
export interface ClusterStatsSearchUsageStats {
|
|
8659
|
+
total: long;
|
|
8660
|
+
queries: Record<Name, long>;
|
|
8661
|
+
rescorers: Record<Name, long>;
|
|
8662
|
+
sections: Record<Name, long>;
|
|
8663
|
+
retrievers: Record<Name, long>;
|
|
8664
|
+
}
|
|
8665
|
+
export type ClusterStatsShardState = 'INIT' | 'SUCCESS' | 'FAILED' | 'ABORTED' | 'MISSING' | 'WAITING' | 'QUEUED' | 'PAUSED_FOR_NODE_REMOVAL';
|
|
8666
|
+
export interface ClusterStatsSnapshotCurrentCounts {
|
|
8667
|
+
snapshots: integer;
|
|
8668
|
+
shard_snapshots: integer;
|
|
8669
|
+
snapshot_deletions: integer;
|
|
8670
|
+
concurrent_operations: integer;
|
|
8671
|
+
cleanups: integer;
|
|
8672
|
+
}
|
|
8673
|
+
export interface ClusterStatsSparseVectorStats {
|
|
8674
|
+
value_count: long;
|
|
8675
|
+
}
|
|
8360
8676
|
export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
8361
8677
|
cluster_name: Name;
|
|
8362
8678
|
cluster_uuid: Uuid;
|
|
8363
8679
|
indices: ClusterStatsClusterIndices;
|
|
8364
8680
|
nodes: ClusterStatsClusterNodes;
|
|
8365
|
-
|
|
8681
|
+
repositories: Record<Name, Record<Name, long>>;
|
|
8682
|
+
snapshots: ClusterStatsClusterSnapshotStats;
|
|
8683
|
+
status?: HealthStatus;
|
|
8366
8684
|
timestamp: long;
|
|
8685
|
+
ccs: ClusterStatsCCSStats;
|
|
8686
|
+
}
|
|
8687
|
+
export interface ClusterStatsSynonymsStats {
|
|
8688
|
+
count: integer;
|
|
8689
|
+
index_count: integer;
|
|
8367
8690
|
}
|
|
8368
8691
|
export interface ConnectorConnector {
|
|
8369
8692
|
api_key_id?: string;
|
|
@@ -8943,6 +9266,7 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8943
9266
|
index: Indices;
|
|
8944
9267
|
allow_no_indices?: boolean;
|
|
8945
9268
|
expand_wildcards?: ExpandWildcards;
|
|
9269
|
+
ccs_minimize_roundtrips?: boolean;
|
|
8946
9270
|
ignore_unavailable?: boolean;
|
|
8947
9271
|
query: string;
|
|
8948
9272
|
case_sensitive?: boolean;
|
|
@@ -8964,6 +9288,52 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8964
9288
|
}
|
|
8965
9289
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8966
9290
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
9291
|
+
export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
|
|
9292
|
+
id?: string;
|
|
9293
|
+
is_running: boolean;
|
|
9294
|
+
}
|
|
9295
|
+
export interface EsqlEsqlClusterDetails {
|
|
9296
|
+
status: EsqlEsqlClusterStatus;
|
|
9297
|
+
indices: string;
|
|
9298
|
+
took?: DurationValue<UnitMillis>;
|
|
9299
|
+
_shards?: EsqlEsqlShardInfo;
|
|
9300
|
+
}
|
|
9301
|
+
export interface EsqlEsqlClusterInfo {
|
|
9302
|
+
total: integer;
|
|
9303
|
+
successful: integer;
|
|
9304
|
+
running: integer;
|
|
9305
|
+
skipped: integer;
|
|
9306
|
+
partial: integer;
|
|
9307
|
+
failed: integer;
|
|
9308
|
+
details: Record<string, EsqlEsqlClusterDetails>;
|
|
9309
|
+
}
|
|
9310
|
+
export type EsqlEsqlClusterStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
9311
|
+
export interface EsqlEsqlColumnInfo {
|
|
9312
|
+
name: string;
|
|
9313
|
+
type: string;
|
|
9314
|
+
}
|
|
9315
|
+
export interface EsqlEsqlResult {
|
|
9316
|
+
took?: DurationValue<UnitMillis>;
|
|
9317
|
+
is_partial?: boolean;
|
|
9318
|
+
all_columns?: EsqlEsqlColumnInfo[];
|
|
9319
|
+
columns: EsqlEsqlColumnInfo[];
|
|
9320
|
+
values: FieldValue[][];
|
|
9321
|
+
_clusters?: EsqlEsqlClusterInfo;
|
|
9322
|
+
profile?: any;
|
|
9323
|
+
}
|
|
9324
|
+
export interface EsqlEsqlShardFailure {
|
|
9325
|
+
shard: Id;
|
|
9326
|
+
index: IndexName;
|
|
9327
|
+
node?: NodeId;
|
|
9328
|
+
reason: ErrorCause;
|
|
9329
|
+
}
|
|
9330
|
+
export interface EsqlEsqlShardInfo {
|
|
9331
|
+
total: integer;
|
|
9332
|
+
successful?: integer;
|
|
9333
|
+
skipped?: integer;
|
|
9334
|
+
failed?: integer;
|
|
9335
|
+
failures?: EsqlEsqlShardFailure[];
|
|
9336
|
+
}
|
|
8967
9337
|
export interface EsqlTableValuesContainer {
|
|
8968
9338
|
integer?: EsqlTableValuesIntegerValue[];
|
|
8969
9339
|
keyword?: EsqlTableValuesKeywordValue[];
|
|
@@ -8975,11 +9345,10 @@ export type EsqlTableValuesKeywordValue = string | string[];
|
|
|
8975
9345
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
8976
9346
|
export type EsqlTableValuesLongValue = long | long[];
|
|
8977
9347
|
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
9348
|
+
allow_partial_results?: boolean;
|
|
8978
9349
|
delimiter?: string;
|
|
8979
9350
|
drop_null_columns?: boolean;
|
|
8980
9351
|
format?: EsqlQueryEsqlFormat;
|
|
8981
|
-
keep_alive?: Duration;
|
|
8982
|
-
keep_on_completion?: boolean;
|
|
8983
9352
|
columnar?: boolean;
|
|
8984
9353
|
filter?: QueryDslQueryContainer;
|
|
8985
9354
|
locale?: string;
|
|
@@ -8989,8 +9358,10 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
8989
9358
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8990
9359
|
include_ccs_metadata?: boolean;
|
|
8991
9360
|
wait_for_completion_timeout?: Duration;
|
|
9361
|
+
keep_alive?: Duration;
|
|
9362
|
+
keep_on_completion?: boolean;
|
|
8992
9363
|
}
|
|
8993
|
-
export type EsqlAsyncQueryResponse =
|
|
9364
|
+
export type EsqlAsyncQueryResponse = EsqlEsqlResult;
|
|
8994
9365
|
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
8995
9366
|
id: Id;
|
|
8996
9367
|
}
|
|
@@ -8998,20 +9369,22 @@ export type EsqlAsyncQueryDeleteResponse = AcknowledgedResponseBase;
|
|
|
8998
9369
|
export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
8999
9370
|
id: Id;
|
|
9000
9371
|
drop_null_columns?: boolean;
|
|
9372
|
+
format?: EsqlQueryEsqlFormat;
|
|
9001
9373
|
keep_alive?: Duration;
|
|
9002
9374
|
wait_for_completion_timeout?: Duration;
|
|
9003
9375
|
}
|
|
9004
|
-
export type EsqlAsyncQueryGetResponse =
|
|
9376
|
+
export type EsqlAsyncQueryGetResponse = EsqlAsyncEsqlResult;
|
|
9005
9377
|
export interface EsqlAsyncQueryStopRequest extends RequestBase {
|
|
9006
9378
|
id: Id;
|
|
9007
9379
|
drop_null_columns?: boolean;
|
|
9008
9380
|
}
|
|
9009
|
-
export type EsqlAsyncQueryStopResponse =
|
|
9381
|
+
export type EsqlAsyncQueryStopResponse = EsqlEsqlResult;
|
|
9010
9382
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
9011
9383
|
export interface EsqlQueryRequest extends RequestBase {
|
|
9012
9384
|
format?: EsqlQueryEsqlFormat;
|
|
9013
9385
|
delimiter?: string;
|
|
9014
9386
|
drop_null_columns?: boolean;
|
|
9387
|
+
allow_partial_results?: boolean;
|
|
9015
9388
|
columnar?: boolean;
|
|
9016
9389
|
filter?: QueryDslQueryContainer;
|
|
9017
9390
|
locale?: string;
|
|
@@ -9021,7 +9394,7 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
9021
9394
|
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
9022
9395
|
include_ccs_metadata?: boolean;
|
|
9023
9396
|
}
|
|
9024
|
-
export type EsqlQueryResponse =
|
|
9397
|
+
export type EsqlQueryResponse = EsqlEsqlResult;
|
|
9025
9398
|
export interface FeaturesFeature {
|
|
9026
9399
|
name: string;
|
|
9027
9400
|
description: string;
|
|
@@ -9306,7 +9679,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9306
9679
|
lifecycle_date?: DateTime;
|
|
9307
9680
|
lifecycle_date_millis?: EpochTime<UnitMillis>;
|
|
9308
9681
|
managed: true;
|
|
9309
|
-
phase
|
|
9682
|
+
phase?: Name;
|
|
9310
9683
|
phase_time?: DateTime;
|
|
9311
9684
|
phase_time_millis?: EpochTime<UnitMillis>;
|
|
9312
9685
|
policy?: Name;
|
|
@@ -9320,6 +9693,7 @@ export interface IlmExplainLifecycleLifecycleExplainManaged {
|
|
|
9320
9693
|
step_time_millis?: EpochTime<UnitMillis>;
|
|
9321
9694
|
phase_execution?: IlmExplainLifecycleLifecycleExplainPhaseExecution;
|
|
9322
9695
|
time_since_index_creation?: Duration;
|
|
9696
|
+
skip: boolean;
|
|
9323
9697
|
}
|
|
9324
9698
|
export interface IlmExplainLifecycleLifecycleExplainPhaseExecution {
|
|
9325
9699
|
phase_definition?: IlmPhase;
|
|
@@ -9806,6 +10180,7 @@ export type IndicesSourceMode = 'disabled' | 'stored' | 'synthetic';
|
|
|
9806
10180
|
export interface IndicesStorage {
|
|
9807
10181
|
type: IndicesStorageType;
|
|
9808
10182
|
allow_mmap?: boolean;
|
|
10183
|
+
stats_refresh_interval?: Duration;
|
|
9809
10184
|
}
|
|
9810
10185
|
export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
|
|
9811
10186
|
export interface IndicesTemplateMapping {
|
|
@@ -10017,13 +10392,16 @@ export interface IndicesDeleteRequest extends RequestBase {
|
|
|
10017
10392
|
timeout?: Duration;
|
|
10018
10393
|
}
|
|
10019
10394
|
export type IndicesDeleteResponse = IndicesResponseBase;
|
|
10395
|
+
export interface IndicesDeleteAliasIndicesAliasesResponseBody extends AcknowledgedResponseBase {
|
|
10396
|
+
errors?: boolean;
|
|
10397
|
+
}
|
|
10020
10398
|
export interface IndicesDeleteAliasRequest extends RequestBase {
|
|
10021
10399
|
index: Indices;
|
|
10022
10400
|
name: Names;
|
|
10023
10401
|
master_timeout?: Duration;
|
|
10024
10402
|
timeout?: Duration;
|
|
10025
10403
|
}
|
|
10026
|
-
export type IndicesDeleteAliasResponse =
|
|
10404
|
+
export type IndicesDeleteAliasResponse = IndicesDeleteAliasIndicesAliasesResponseBody;
|
|
10027
10405
|
export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
|
|
10028
10406
|
name: DataStreamNames;
|
|
10029
10407
|
expand_wildcards?: ExpandWildcards;
|
|
@@ -10199,9 +10577,6 @@ export interface IndicesGetRequest extends RequestBase {
|
|
|
10199
10577
|
features?: IndicesGetFeatures;
|
|
10200
10578
|
}
|
|
10201
10579
|
export type IndicesGetResponse = Record<IndexName, IndicesIndexState>;
|
|
10202
|
-
export interface IndicesGetAliasIndexAliases {
|
|
10203
|
-
aliases: Record<string, IndicesAliasDefinition>;
|
|
10204
|
-
}
|
|
10205
10580
|
export interface IndicesGetAliasRequest extends RequestBase {
|
|
10206
10581
|
name?: Names;
|
|
10207
10582
|
index?: Indices;
|
|
@@ -10211,6 +10586,16 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
10211
10586
|
local?: boolean;
|
|
10212
10587
|
}
|
|
10213
10588
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
10589
|
+
export interface IndicesGetAliasIndexAliases {
|
|
10590
|
+
aliases: Record<string, IndicesAliasDefinition>;
|
|
10591
|
+
}
|
|
10592
|
+
export interface IndicesGetAliasNotFoundAliasesKeys {
|
|
10593
|
+
error: string;
|
|
10594
|
+
status: number;
|
|
10595
|
+
}
|
|
10596
|
+
export type IndicesGetAliasNotFoundAliases = IndicesGetAliasNotFoundAliasesKeys & {
|
|
10597
|
+
[property: string]: IndicesGetAliasIndexAliases | string | number;
|
|
10598
|
+
};
|
|
10214
10599
|
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
10215
10600
|
name: DataStreamName;
|
|
10216
10601
|
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
@@ -10531,6 +10916,9 @@ export interface IndicesRecoveryRequest extends RequestBase {
|
|
|
10531
10916
|
index?: Indices;
|
|
10532
10917
|
active_only?: boolean;
|
|
10533
10918
|
detailed?: boolean;
|
|
10919
|
+
allow_no_indices?: boolean;
|
|
10920
|
+
expand_wildcards?: ExpandWildcards;
|
|
10921
|
+
ignore_unavailable?: boolean;
|
|
10534
10922
|
}
|
|
10535
10923
|
export type IndicesRecoveryResponse = Record<IndexName, IndicesRecoveryRecoveryStatus>;
|
|
10536
10924
|
export interface IndicesRecoveryShardRecovery {
|
|
@@ -11059,6 +11447,27 @@ export interface InferenceAmazonBedrockTaskSettings {
|
|
|
11059
11447
|
top_p?: float;
|
|
11060
11448
|
}
|
|
11061
11449
|
export type InferenceAmazonBedrockTaskType = 'completion' | 'text_embedding';
|
|
11450
|
+
export type InferenceAmazonSageMakerApi = 'openai' | 'elastic';
|
|
11451
|
+
export interface InferenceAmazonSageMakerServiceSettings {
|
|
11452
|
+
access_key: string;
|
|
11453
|
+
endpoint_name: string;
|
|
11454
|
+
api: InferenceAmazonSageMakerApi;
|
|
11455
|
+
region: string;
|
|
11456
|
+
secret_key: string;
|
|
11457
|
+
target_model?: string;
|
|
11458
|
+
target_container_hostname?: string;
|
|
11459
|
+
inference_component_name?: string;
|
|
11460
|
+
batch_size?: integer;
|
|
11461
|
+
dimensions?: integer;
|
|
11462
|
+
}
|
|
11463
|
+
export type InferenceAmazonSageMakerServiceType = 'amazon_sagemaker';
|
|
11464
|
+
export interface InferenceAmazonSageMakerTaskSettings {
|
|
11465
|
+
custom_attributes?: string;
|
|
11466
|
+
enable_explanations?: string;
|
|
11467
|
+
inference_id?: string;
|
|
11468
|
+
session_id?: string;
|
|
11469
|
+
target_variant?: string;
|
|
11470
|
+
}
|
|
11062
11471
|
export interface InferenceAnthropicServiceSettings {
|
|
11063
11472
|
api_key: string;
|
|
11064
11473
|
model_id: string;
|
|
@@ -11101,7 +11510,7 @@ export interface InferenceAzureOpenAITaskSettings {
|
|
|
11101
11510
|
user?: string;
|
|
11102
11511
|
}
|
|
11103
11512
|
export type InferenceAzureOpenAITaskType = 'completion' | 'text_embedding';
|
|
11104
|
-
export type InferenceCohereEmbeddingType = 'byte' | 'float' | 'int8';
|
|
11513
|
+
export type InferenceCohereEmbeddingType = 'binary' | 'bit' | 'byte' | 'float' | 'int8';
|
|
11105
11514
|
export type InferenceCohereInputType = 'classification' | 'clustering' | 'ingest' | 'search';
|
|
11106
11515
|
export interface InferenceCohereServiceSettings {
|
|
11107
11516
|
api_key: string;
|
|
@@ -11148,6 +11557,32 @@ export interface InferenceContentObject {
|
|
|
11148
11557
|
text: string;
|
|
11149
11558
|
type: string;
|
|
11150
11559
|
}
|
|
11560
|
+
export interface InferenceCustomRequestParams {
|
|
11561
|
+
content: string;
|
|
11562
|
+
}
|
|
11563
|
+
export interface InferenceCustomResponseParams {
|
|
11564
|
+
json_parser: any;
|
|
11565
|
+
}
|
|
11566
|
+
export interface InferenceCustomServiceSettings {
|
|
11567
|
+
headers?: any;
|
|
11568
|
+
input_type?: any;
|
|
11569
|
+
query_parameters?: any;
|
|
11570
|
+
request: InferenceCustomRequestParams;
|
|
11571
|
+
response: InferenceCustomResponseParams;
|
|
11572
|
+
secret_parameters: any;
|
|
11573
|
+
url?: string;
|
|
11574
|
+
}
|
|
11575
|
+
export type InferenceCustomServiceType = 'custom';
|
|
11576
|
+
export interface InferenceCustomTaskSettings {
|
|
11577
|
+
parameters?: any;
|
|
11578
|
+
}
|
|
11579
|
+
export type InferenceCustomTaskType = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
|
|
11580
|
+
export interface InferenceDeepSeekServiceSettings {
|
|
11581
|
+
api_key: string;
|
|
11582
|
+
model_id: string;
|
|
11583
|
+
url?: string;
|
|
11584
|
+
}
|
|
11585
|
+
export type InferenceDeepSeekServiceType = 'deepseek';
|
|
11151
11586
|
export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResponseBase {
|
|
11152
11587
|
pipelines: string[];
|
|
11153
11588
|
}
|
|
@@ -11191,14 +11626,19 @@ export interface InferenceGoogleVertexAITaskSettings {
|
|
|
11191
11626
|
auto_truncate?: boolean;
|
|
11192
11627
|
top_n?: integer;
|
|
11193
11628
|
}
|
|
11194
|
-
export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding';
|
|
11629
|
+
export type InferenceGoogleVertexAITaskType = 'rerank' | 'text_embedding' | 'completion' | 'chat_completion';
|
|
11195
11630
|
export interface InferenceHuggingFaceServiceSettings {
|
|
11196
11631
|
api_key: string;
|
|
11197
11632
|
rate_limit?: InferenceRateLimitSetting;
|
|
11198
11633
|
url: string;
|
|
11634
|
+
model_id?: string;
|
|
11199
11635
|
}
|
|
11200
11636
|
export type InferenceHuggingFaceServiceType = 'hugging_face';
|
|
11201
|
-
export
|
|
11637
|
+
export interface InferenceHuggingFaceTaskSettings {
|
|
11638
|
+
return_documents?: boolean;
|
|
11639
|
+
top_n?: integer;
|
|
11640
|
+
}
|
|
11641
|
+
export type InferenceHuggingFaceTaskType = 'chat_completion' | 'completion' | 'rerank' | 'text_embedding';
|
|
11202
11642
|
export interface InferenceInferenceChunkingSettings {
|
|
11203
11643
|
max_chunk_size?: integer;
|
|
11204
11644
|
overlap?: integer;
|
|
@@ -11215,6 +11655,82 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
|
|
|
11215
11655
|
inference_id: string;
|
|
11216
11656
|
task_type: InferenceTaskType;
|
|
11217
11657
|
}
|
|
11658
|
+
export interface InferenceInferenceEndpointInfoAlibabaCloudAI extends InferenceInferenceEndpoint {
|
|
11659
|
+
inference_id: string;
|
|
11660
|
+
task_type: InferenceTaskTypeAlibabaCloudAI;
|
|
11661
|
+
}
|
|
11662
|
+
export interface InferenceInferenceEndpointInfoAmazonBedrock extends InferenceInferenceEndpoint {
|
|
11663
|
+
inference_id: string;
|
|
11664
|
+
task_type: InferenceTaskTypeAmazonBedrock;
|
|
11665
|
+
}
|
|
11666
|
+
export interface InferenceInferenceEndpointInfoAmazonSageMaker extends InferenceInferenceEndpoint {
|
|
11667
|
+
inference_id: string;
|
|
11668
|
+
task_type: InferenceTaskTypeAmazonSageMaker;
|
|
11669
|
+
}
|
|
11670
|
+
export interface InferenceInferenceEndpointInfoAnthropic extends InferenceInferenceEndpoint {
|
|
11671
|
+
inference_id: string;
|
|
11672
|
+
task_type: InferenceTaskTypeAnthropic;
|
|
11673
|
+
}
|
|
11674
|
+
export interface InferenceInferenceEndpointInfoAzureAIStudio extends InferenceInferenceEndpoint {
|
|
11675
|
+
inference_id: string;
|
|
11676
|
+
task_type: InferenceTaskTypeAzureAIStudio;
|
|
11677
|
+
}
|
|
11678
|
+
export interface InferenceInferenceEndpointInfoAzureOpenAI extends InferenceInferenceEndpoint {
|
|
11679
|
+
inference_id: string;
|
|
11680
|
+
task_type: InferenceTaskTypeAzureOpenAI;
|
|
11681
|
+
}
|
|
11682
|
+
export interface InferenceInferenceEndpointInfoCohere extends InferenceInferenceEndpoint {
|
|
11683
|
+
inference_id: string;
|
|
11684
|
+
task_type: InferenceTaskTypeCohere;
|
|
11685
|
+
}
|
|
11686
|
+
export interface InferenceInferenceEndpointInfoCustom extends InferenceInferenceEndpoint {
|
|
11687
|
+
inference_id: string;
|
|
11688
|
+
task_type: InferenceTaskTypeCustom;
|
|
11689
|
+
}
|
|
11690
|
+
export interface InferenceInferenceEndpointInfoDeepSeek extends InferenceInferenceEndpoint {
|
|
11691
|
+
inference_id: string;
|
|
11692
|
+
task_type: InferenceTaskTypeDeepSeek;
|
|
11693
|
+
}
|
|
11694
|
+
export interface InferenceInferenceEndpointInfoELSER extends InferenceInferenceEndpoint {
|
|
11695
|
+
inference_id: string;
|
|
11696
|
+
task_type: InferenceTaskTypeELSER;
|
|
11697
|
+
}
|
|
11698
|
+
export interface InferenceInferenceEndpointInfoElasticsearch extends InferenceInferenceEndpoint {
|
|
11699
|
+
inference_id: string;
|
|
11700
|
+
task_type: InferenceTaskTypeElasticsearch;
|
|
11701
|
+
}
|
|
11702
|
+
export interface InferenceInferenceEndpointInfoGoogleAIStudio extends InferenceInferenceEndpoint {
|
|
11703
|
+
inference_id: string;
|
|
11704
|
+
task_type: InferenceTaskTypeGoogleAIStudio;
|
|
11705
|
+
}
|
|
11706
|
+
export interface InferenceInferenceEndpointInfoGoogleVertexAI extends InferenceInferenceEndpoint {
|
|
11707
|
+
inference_id: string;
|
|
11708
|
+
task_type: InferenceTaskTypeGoogleVertexAI;
|
|
11709
|
+
}
|
|
11710
|
+
export interface InferenceInferenceEndpointInfoHuggingFace extends InferenceInferenceEndpoint {
|
|
11711
|
+
inference_id: string;
|
|
11712
|
+
task_type: InferenceTaskTypeHuggingFace;
|
|
11713
|
+
}
|
|
11714
|
+
export interface InferenceInferenceEndpointInfoJinaAi extends InferenceInferenceEndpoint {
|
|
11715
|
+
inference_id: string;
|
|
11716
|
+
task_type: InferenceTaskTypeJinaAi;
|
|
11717
|
+
}
|
|
11718
|
+
export interface InferenceInferenceEndpointInfoMistral extends InferenceInferenceEndpoint {
|
|
11719
|
+
inference_id: string;
|
|
11720
|
+
task_type: InferenceTaskTypeMistral;
|
|
11721
|
+
}
|
|
11722
|
+
export interface InferenceInferenceEndpointInfoOpenAI extends InferenceInferenceEndpoint {
|
|
11723
|
+
inference_id: string;
|
|
11724
|
+
task_type: InferenceTaskTypeOpenAI;
|
|
11725
|
+
}
|
|
11726
|
+
export interface InferenceInferenceEndpointInfoVoyageAI extends InferenceInferenceEndpoint {
|
|
11727
|
+
inference_id: string;
|
|
11728
|
+
task_type: InferenceTaskTypeVoyageAI;
|
|
11729
|
+
}
|
|
11730
|
+
export interface InferenceInferenceEndpointInfoWatsonx extends InferenceInferenceEndpoint {
|
|
11731
|
+
inference_id: string;
|
|
11732
|
+
task_type: InferenceTaskTypeWatsonx;
|
|
11733
|
+
}
|
|
11218
11734
|
export interface InferenceInferenceResult {
|
|
11219
11735
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
11220
11736
|
text_embedding_bits?: InferenceTextEmbeddingByteResult[];
|
|
@@ -11252,7 +11768,7 @@ export interface InferenceMistralServiceSettings {
|
|
|
11252
11768
|
rate_limit?: InferenceRateLimitSetting;
|
|
11253
11769
|
}
|
|
11254
11770
|
export type InferenceMistralServiceType = 'mistral';
|
|
11255
|
-
export type InferenceMistralTaskType = 'text_embedding';
|
|
11771
|
+
export type InferenceMistralTaskType = 'text_embedding' | 'completion' | 'chat_completion';
|
|
11256
11772
|
export interface InferenceOpenAIServiceSettings {
|
|
11257
11773
|
api_key: string;
|
|
11258
11774
|
dimensions?: integer;
|
|
@@ -11297,11 +11813,31 @@ export interface InferenceSparseEmbeddingResult {
|
|
|
11297
11813
|
export type InferenceSparseVector = Record<string, float>;
|
|
11298
11814
|
export type InferenceTaskSettings = any;
|
|
11299
11815
|
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion' | 'chat_completion';
|
|
11816
|
+
export type InferenceTaskTypeAlibabaCloudAI = 'text_embedding' | 'rerank' | 'completion' | 'sparse_embedding';
|
|
11817
|
+
export type InferenceTaskTypeAmazonBedrock = 'text_embedding' | 'completion';
|
|
11818
|
+
export type InferenceTaskTypeAmazonSageMaker = 'text_embedding' | 'completion' | 'chat_completion' | 'sparse_embedding' | 'rerank';
|
|
11819
|
+
export type InferenceTaskTypeAnthropic = 'completion';
|
|
11820
|
+
export type InferenceTaskTypeAzureAIStudio = 'text_embedding' | 'completion';
|
|
11821
|
+
export type InferenceTaskTypeAzureOpenAI = 'text_embedding' | 'completion';
|
|
11822
|
+
export type InferenceTaskTypeCohere = 'text_embedding' | 'rerank' | 'completion';
|
|
11823
|
+
export type InferenceTaskTypeCustom = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
|
|
11824
|
+
export type InferenceTaskTypeDeepSeek = 'completion' | 'chat_completion';
|
|
11825
|
+
export type InferenceTaskTypeELSER = 'sparse_embedding';
|
|
11826
|
+
export type InferenceTaskTypeElasticsearch = 'sparse_embedding' | 'text_embedding' | 'rerank';
|
|
11827
|
+
export type InferenceTaskTypeGoogleAIStudio = 'text_embedding' | 'completion';
|
|
11828
|
+
export type InferenceTaskTypeGoogleVertexAI = 'text_embedding' | 'rerank';
|
|
11829
|
+
export type InferenceTaskTypeHuggingFace = 'text_embedding';
|
|
11830
|
+
export type InferenceTaskTypeJinaAi = 'text_embedding' | 'rerank';
|
|
11831
|
+
export type InferenceTaskTypeMistral = 'text_embedding';
|
|
11832
|
+
export type InferenceTaskTypeOpenAI = 'text_embedding' | 'chat_completion' | 'completion';
|
|
11833
|
+
export type InferenceTaskTypeVoyageAI = 'text_embedding' | 'rerank';
|
|
11834
|
+
export type InferenceTaskTypeWatsonx = 'text_embedding';
|
|
11300
11835
|
export interface InferenceTextEmbeddingByteResult {
|
|
11301
11836
|
embedding: InferenceDenseByteVector;
|
|
11302
11837
|
}
|
|
11303
11838
|
export interface InferenceTextEmbeddingInferenceResult {
|
|
11304
11839
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
11840
|
+
text_embedding_bits?: InferenceTextEmbeddingByteResult[];
|
|
11305
11841
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
11306
11842
|
}
|
|
11307
11843
|
export interface InferenceTextEmbeddingResult {
|
|
@@ -11373,153 +11909,200 @@ export interface InferenceInferenceRequest extends RequestBase {
|
|
|
11373
11909
|
timeout?: Duration;
|
|
11374
11910
|
query?: string;
|
|
11375
11911
|
input: string | string[];
|
|
11912
|
+
input_type?: string;
|
|
11376
11913
|
task_settings?: InferenceTaskSettings;
|
|
11377
11914
|
}
|
|
11378
11915
|
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
11379
11916
|
export interface InferencePutRequest extends RequestBase {
|
|
11380
11917
|
task_type?: InferenceTaskType;
|
|
11381
11918
|
inference_id: Id;
|
|
11919
|
+
timeout?: Duration;
|
|
11382
11920
|
inference_config?: InferenceInferenceEndpoint;
|
|
11383
11921
|
}
|
|
11384
11922
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
11385
11923
|
export interface InferencePutAlibabacloudRequest extends RequestBase {
|
|
11386
11924
|
task_type: InferenceAlibabaCloudTaskType;
|
|
11387
11925
|
alibabacloud_inference_id: Id;
|
|
11926
|
+
timeout?: Duration;
|
|
11388
11927
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11389
11928
|
service: InferenceAlibabaCloudServiceType;
|
|
11390
11929
|
service_settings: InferenceAlibabaCloudServiceSettings;
|
|
11391
11930
|
task_settings?: InferenceAlibabaCloudTaskSettings;
|
|
11392
11931
|
}
|
|
11393
|
-
export type InferencePutAlibabacloudResponse =
|
|
11932
|
+
export type InferencePutAlibabacloudResponse = InferenceInferenceEndpointInfoAlibabaCloudAI;
|
|
11394
11933
|
export interface InferencePutAmazonbedrockRequest extends RequestBase {
|
|
11395
11934
|
task_type: InferenceAmazonBedrockTaskType;
|
|
11396
11935
|
amazonbedrock_inference_id: Id;
|
|
11936
|
+
timeout?: Duration;
|
|
11397
11937
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11398
11938
|
service: InferenceAmazonBedrockServiceType;
|
|
11399
11939
|
service_settings: InferenceAmazonBedrockServiceSettings;
|
|
11400
11940
|
task_settings?: InferenceAmazonBedrockTaskSettings;
|
|
11401
11941
|
}
|
|
11402
|
-
export type InferencePutAmazonbedrockResponse =
|
|
11942
|
+
export type InferencePutAmazonbedrockResponse = InferenceInferenceEndpointInfoAmazonBedrock;
|
|
11943
|
+
export interface InferencePutAmazonsagemakerRequest extends RequestBase {
|
|
11944
|
+
task_type: InferenceTaskTypeAmazonSageMaker;
|
|
11945
|
+
amazonsagemaker_inference_id: Id;
|
|
11946
|
+
timeout?: Duration;
|
|
11947
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11948
|
+
service: InferenceAmazonSageMakerServiceType;
|
|
11949
|
+
service_settings: InferenceAmazonSageMakerServiceSettings;
|
|
11950
|
+
task_settings?: InferenceAmazonSageMakerTaskSettings;
|
|
11951
|
+
}
|
|
11952
|
+
export type InferencePutAmazonsagemakerResponse = InferenceInferenceEndpointInfoAmazonSageMaker;
|
|
11403
11953
|
export interface InferencePutAnthropicRequest extends RequestBase {
|
|
11404
11954
|
task_type: InferenceAnthropicTaskType;
|
|
11405
11955
|
anthropic_inference_id: Id;
|
|
11956
|
+
timeout?: Duration;
|
|
11406
11957
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11407
11958
|
service: InferenceAnthropicServiceType;
|
|
11408
11959
|
service_settings: InferenceAnthropicServiceSettings;
|
|
11409
11960
|
task_settings?: InferenceAnthropicTaskSettings;
|
|
11410
11961
|
}
|
|
11411
|
-
export type InferencePutAnthropicResponse =
|
|
11962
|
+
export type InferencePutAnthropicResponse = InferenceInferenceEndpointInfoAnthropic;
|
|
11412
11963
|
export interface InferencePutAzureaistudioRequest extends RequestBase {
|
|
11413
11964
|
task_type: InferenceAzureAiStudioTaskType;
|
|
11414
11965
|
azureaistudio_inference_id: Id;
|
|
11966
|
+
timeout?: Duration;
|
|
11415
11967
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11416
11968
|
service: InferenceAzureAiStudioServiceType;
|
|
11417
11969
|
service_settings: InferenceAzureAiStudioServiceSettings;
|
|
11418
11970
|
task_settings?: InferenceAzureAiStudioTaskSettings;
|
|
11419
11971
|
}
|
|
11420
|
-
export type InferencePutAzureaistudioResponse =
|
|
11972
|
+
export type InferencePutAzureaistudioResponse = InferenceInferenceEndpointInfoAzureAIStudio;
|
|
11421
11973
|
export interface InferencePutAzureopenaiRequest extends RequestBase {
|
|
11422
11974
|
task_type: InferenceAzureOpenAITaskType;
|
|
11423
11975
|
azureopenai_inference_id: Id;
|
|
11976
|
+
timeout?: Duration;
|
|
11424
11977
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11425
11978
|
service: InferenceAzureOpenAIServiceType;
|
|
11426
11979
|
service_settings: InferenceAzureOpenAIServiceSettings;
|
|
11427
11980
|
task_settings?: InferenceAzureOpenAITaskSettings;
|
|
11428
11981
|
}
|
|
11429
|
-
export type InferencePutAzureopenaiResponse =
|
|
11982
|
+
export type InferencePutAzureopenaiResponse = InferenceInferenceEndpointInfoAzureOpenAI;
|
|
11430
11983
|
export interface InferencePutCohereRequest extends RequestBase {
|
|
11431
11984
|
task_type: InferenceCohereTaskType;
|
|
11432
11985
|
cohere_inference_id: Id;
|
|
11986
|
+
timeout?: Duration;
|
|
11433
11987
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11434
11988
|
service: InferenceCohereServiceType;
|
|
11435
11989
|
service_settings: InferenceCohereServiceSettings;
|
|
11436
11990
|
task_settings?: InferenceCohereTaskSettings;
|
|
11437
11991
|
}
|
|
11438
|
-
export type InferencePutCohereResponse =
|
|
11992
|
+
export type InferencePutCohereResponse = InferenceInferenceEndpointInfoCohere;
|
|
11993
|
+
export interface InferencePutCustomRequest extends RequestBase {
|
|
11994
|
+
task_type: InferenceCustomTaskType;
|
|
11995
|
+
custom_inference_id: Id;
|
|
11996
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11997
|
+
service: InferenceCustomServiceType;
|
|
11998
|
+
service_settings: InferenceCustomServiceSettings;
|
|
11999
|
+
task_settings?: InferenceCustomTaskSettings;
|
|
12000
|
+
}
|
|
12001
|
+
export type InferencePutCustomResponse = InferenceInferenceEndpointInfoCustom;
|
|
12002
|
+
export interface InferencePutDeepseekRequest extends RequestBase {
|
|
12003
|
+
task_type: InferenceTaskTypeDeepSeek;
|
|
12004
|
+
deepseek_inference_id: Id;
|
|
12005
|
+
timeout?: Duration;
|
|
12006
|
+
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
12007
|
+
service: InferenceDeepSeekServiceType;
|
|
12008
|
+
service_settings: InferenceDeepSeekServiceSettings;
|
|
12009
|
+
}
|
|
12010
|
+
export type InferencePutDeepseekResponse = InferenceInferenceEndpointInfoDeepSeek;
|
|
11439
12011
|
export interface InferencePutElasticsearchRequest extends RequestBase {
|
|
11440
12012
|
task_type: InferenceElasticsearchTaskType;
|
|
11441
12013
|
elasticsearch_inference_id: Id;
|
|
12014
|
+
timeout?: Duration;
|
|
11442
12015
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11443
12016
|
service: InferenceElasticsearchServiceType;
|
|
11444
12017
|
service_settings: InferenceElasticsearchServiceSettings;
|
|
11445
12018
|
task_settings?: InferenceElasticsearchTaskSettings;
|
|
11446
12019
|
}
|
|
11447
|
-
export type InferencePutElasticsearchResponse =
|
|
12020
|
+
export type InferencePutElasticsearchResponse = InferenceInferenceEndpointInfoElasticsearch;
|
|
11448
12021
|
export interface InferencePutElserRequest extends RequestBase {
|
|
11449
12022
|
task_type: InferenceElserTaskType;
|
|
11450
12023
|
elser_inference_id: Id;
|
|
12024
|
+
timeout?: Duration;
|
|
11451
12025
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11452
12026
|
service: InferenceElserServiceType;
|
|
11453
12027
|
service_settings: InferenceElserServiceSettings;
|
|
11454
12028
|
}
|
|
11455
|
-
export type InferencePutElserResponse =
|
|
12029
|
+
export type InferencePutElserResponse = InferenceInferenceEndpointInfoELSER;
|
|
11456
12030
|
export interface InferencePutGoogleaistudioRequest extends RequestBase {
|
|
11457
12031
|
task_type: InferenceGoogleAiStudioTaskType;
|
|
11458
12032
|
googleaistudio_inference_id: Id;
|
|
12033
|
+
timeout?: Duration;
|
|
11459
12034
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11460
12035
|
service: InferenceGoogleAiServiceType;
|
|
11461
12036
|
service_settings: InferenceGoogleAiStudioServiceSettings;
|
|
11462
12037
|
}
|
|
11463
|
-
export type InferencePutGoogleaistudioResponse =
|
|
12038
|
+
export type InferencePutGoogleaistudioResponse = InferenceInferenceEndpointInfoGoogleAIStudio;
|
|
11464
12039
|
export interface InferencePutGooglevertexaiRequest extends RequestBase {
|
|
11465
12040
|
task_type: InferenceGoogleVertexAITaskType;
|
|
11466
12041
|
googlevertexai_inference_id: Id;
|
|
12042
|
+
timeout?: Duration;
|
|
11467
12043
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11468
12044
|
service: InferenceGoogleVertexAIServiceType;
|
|
11469
12045
|
service_settings: InferenceGoogleVertexAIServiceSettings;
|
|
11470
12046
|
task_settings?: InferenceGoogleVertexAITaskSettings;
|
|
11471
12047
|
}
|
|
11472
|
-
export type InferencePutGooglevertexaiResponse =
|
|
12048
|
+
export type InferencePutGooglevertexaiResponse = InferenceInferenceEndpointInfoGoogleVertexAI;
|
|
11473
12049
|
export interface InferencePutHuggingFaceRequest extends RequestBase {
|
|
11474
12050
|
task_type: InferenceHuggingFaceTaskType;
|
|
11475
12051
|
huggingface_inference_id: Id;
|
|
12052
|
+
timeout?: Duration;
|
|
11476
12053
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11477
12054
|
service: InferenceHuggingFaceServiceType;
|
|
11478
12055
|
service_settings: InferenceHuggingFaceServiceSettings;
|
|
12056
|
+
task_settings?: InferenceHuggingFaceTaskSettings;
|
|
11479
12057
|
}
|
|
11480
|
-
export type InferencePutHuggingFaceResponse =
|
|
12058
|
+
export type InferencePutHuggingFaceResponse = InferenceInferenceEndpointInfoHuggingFace;
|
|
11481
12059
|
export interface InferencePutJinaaiRequest extends RequestBase {
|
|
11482
12060
|
task_type: InferenceJinaAITaskType;
|
|
11483
12061
|
jinaai_inference_id: Id;
|
|
12062
|
+
timeout?: Duration;
|
|
11484
12063
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11485
12064
|
service: InferenceJinaAIServiceType;
|
|
11486
12065
|
service_settings: InferenceJinaAIServiceSettings;
|
|
11487
12066
|
task_settings?: InferenceJinaAITaskSettings;
|
|
11488
12067
|
}
|
|
11489
|
-
export type InferencePutJinaaiResponse =
|
|
12068
|
+
export type InferencePutJinaaiResponse = InferenceInferenceEndpointInfoJinaAi;
|
|
11490
12069
|
export interface InferencePutMistralRequest extends RequestBase {
|
|
11491
12070
|
task_type: InferenceMistralTaskType;
|
|
11492
12071
|
mistral_inference_id: Id;
|
|
12072
|
+
timeout?: Duration;
|
|
11493
12073
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11494
12074
|
service: InferenceMistralServiceType;
|
|
11495
12075
|
service_settings: InferenceMistralServiceSettings;
|
|
11496
12076
|
}
|
|
11497
|
-
export type InferencePutMistralResponse =
|
|
12077
|
+
export type InferencePutMistralResponse = InferenceInferenceEndpointInfoMistral;
|
|
11498
12078
|
export interface InferencePutOpenaiRequest extends RequestBase {
|
|
11499
12079
|
task_type: InferenceOpenAITaskType;
|
|
11500
12080
|
openai_inference_id: Id;
|
|
12081
|
+
timeout?: Duration;
|
|
11501
12082
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11502
12083
|
service: InferenceOpenAIServiceType;
|
|
11503
12084
|
service_settings: InferenceOpenAIServiceSettings;
|
|
11504
12085
|
task_settings?: InferenceOpenAITaskSettings;
|
|
11505
12086
|
}
|
|
11506
|
-
export type InferencePutOpenaiResponse =
|
|
12087
|
+
export type InferencePutOpenaiResponse = InferenceInferenceEndpointInfoOpenAI;
|
|
11507
12088
|
export interface InferencePutVoyageaiRequest extends RequestBase {
|
|
11508
12089
|
task_type: InferenceVoyageAITaskType;
|
|
11509
12090
|
voyageai_inference_id: Id;
|
|
12091
|
+
timeout?: Duration;
|
|
11510
12092
|
chunking_settings?: InferenceInferenceChunkingSettings;
|
|
11511
12093
|
service: InferenceVoyageAIServiceType;
|
|
11512
12094
|
service_settings: InferenceVoyageAIServiceSettings;
|
|
11513
12095
|
task_settings?: InferenceVoyageAITaskSettings;
|
|
11514
12096
|
}
|
|
11515
|
-
export type InferencePutVoyageaiResponse =
|
|
12097
|
+
export type InferencePutVoyageaiResponse = InferenceInferenceEndpointInfoVoyageAI;
|
|
11516
12098
|
export interface InferencePutWatsonxRequest extends RequestBase {
|
|
11517
12099
|
task_type: InferenceWatsonxTaskType;
|
|
11518
12100
|
watsonx_inference_id: Id;
|
|
12101
|
+
timeout?: Duration;
|
|
11519
12102
|
service: InferenceWatsonxServiceType;
|
|
11520
12103
|
service_settings: InferenceWatsonxServiceSettings;
|
|
11521
12104
|
}
|
|
11522
|
-
export type InferencePutWatsonxResponse =
|
|
12105
|
+
export type InferencePutWatsonxResponse = InferenceInferenceEndpointInfoWatsonx;
|
|
11523
12106
|
export interface InferenceRerankRequest extends RequestBase {
|
|
11524
12107
|
inference_id: Id;
|
|
11525
12108
|
timeout?: Duration;
|
|
@@ -11537,6 +12120,7 @@ export interface InferenceSparseEmbeddingRequest extends RequestBase {
|
|
|
11537
12120
|
export type InferenceSparseEmbeddingResponse = InferenceSparseEmbeddingInferenceResult;
|
|
11538
12121
|
export interface InferenceStreamCompletionRequest extends RequestBase {
|
|
11539
12122
|
inference_id: Id;
|
|
12123
|
+
timeout?: Duration;
|
|
11540
12124
|
input: string | string[];
|
|
11541
12125
|
task_settings?: InferenceTaskSettings;
|
|
11542
12126
|
}
|
|
@@ -11841,15 +12425,16 @@ export interface IngestPipelineProcessor extends IngestProcessorBase {
|
|
|
11841
12425
|
name: Name;
|
|
11842
12426
|
ignore_missing_pipeline?: boolean;
|
|
11843
12427
|
}
|
|
11844
|
-
export interface
|
|
12428
|
+
export interface IngestPipelineProcessorResult {
|
|
11845
12429
|
doc?: IngestDocumentSimulation;
|
|
11846
12430
|
tag?: string;
|
|
11847
12431
|
processor_type?: string;
|
|
11848
|
-
status?:
|
|
12432
|
+
status?: IngestPipelineSimulationStatusOptions;
|
|
11849
12433
|
description?: string;
|
|
11850
12434
|
ignored_error?: ErrorCause;
|
|
11851
12435
|
error?: ErrorCause;
|
|
11852
12436
|
}
|
|
12437
|
+
export type IngestPipelineSimulationStatusOptions = 'success' | 'error' | 'error_ignored' | 'skipped' | 'dropped';
|
|
11853
12438
|
export interface IngestProcessorBase {
|
|
11854
12439
|
description?: string;
|
|
11855
12440
|
if?: string;
|
|
@@ -11959,7 +12544,7 @@ export type IngestShapeType = 'geo_shape' | 'shape';
|
|
|
11959
12544
|
export interface IngestSimulateDocumentResult {
|
|
11960
12545
|
doc?: IngestDocumentSimulation;
|
|
11961
12546
|
error?: ErrorCause;
|
|
11962
|
-
processor_results?:
|
|
12547
|
+
processor_results?: IngestPipelineProcessorResult[];
|
|
11963
12548
|
}
|
|
11964
12549
|
export interface IngestSortProcessor extends IngestProcessorBase {
|
|
11965
12550
|
field: Field;
|
|
@@ -12068,7 +12653,6 @@ export interface IngestGetIpLocationDatabaseDatabaseConfigurationMetadata {
|
|
|
12068
12653
|
}
|
|
12069
12654
|
export interface IngestGetIpLocationDatabaseRequest extends RequestBase {
|
|
12070
12655
|
id?: Ids;
|
|
12071
|
-
master_timeout?: Duration;
|
|
12072
12656
|
}
|
|
12073
12657
|
export interface IngestGetIpLocationDatabaseResponse {
|
|
12074
12658
|
databases: IngestGetIpLocationDatabaseDatabaseConfigurationMetadata[];
|
|
@@ -12201,7 +12785,7 @@ export interface LicensePostStartBasicResponse {
|
|
|
12201
12785
|
}
|
|
12202
12786
|
export interface LicensePostStartTrialRequest extends RequestBase {
|
|
12203
12787
|
acknowledge?: boolean;
|
|
12204
|
-
|
|
12788
|
+
type?: string;
|
|
12205
12789
|
master_timeout?: Duration;
|
|
12206
12790
|
}
|
|
12207
12791
|
export interface LicensePostStartTrialResponse {
|
|
@@ -12227,8 +12811,7 @@ export interface LogstashPipelineSettings {
|
|
|
12227
12811
|
'pipeline.batch.size': integer;
|
|
12228
12812
|
'pipeline.batch.delay': integer;
|
|
12229
12813
|
'queue.type': string;
|
|
12230
|
-
'queue.max_bytes
|
|
12231
|
-
'queue.max_bytes.units': string;
|
|
12814
|
+
'queue.max_bytes': string;
|
|
12232
12815
|
'queue.checkpoint.writes': integer;
|
|
12233
12816
|
}
|
|
12234
12817
|
export interface LogstashDeletePipelineRequest extends RequestBase {
|
|
@@ -12290,7 +12873,8 @@ export interface MigrationPostFeatureUpgradeRequest extends RequestBase {
|
|
|
12290
12873
|
}
|
|
12291
12874
|
export interface MigrationPostFeatureUpgradeResponse {
|
|
12292
12875
|
accepted: boolean;
|
|
12293
|
-
features
|
|
12876
|
+
features?: MigrationPostFeatureUpgradeMigrationFeature[];
|
|
12877
|
+
reason?: string;
|
|
12294
12878
|
}
|
|
12295
12879
|
export interface MlAdaptiveAllocationsSettings {
|
|
12296
12880
|
enabled: boolean;
|
|
@@ -14733,6 +15317,7 @@ export interface NodesJvmMemoryStats {
|
|
|
14733
15317
|
heap_used_percent?: long;
|
|
14734
15318
|
heap_committed_in_bytes?: long;
|
|
14735
15319
|
heap_max_in_bytes?: long;
|
|
15320
|
+
heap_max?: ByteSize;
|
|
14736
15321
|
non_heap_used_in_bytes?: long;
|
|
14737
15322
|
non_heap_committed_in_bytes?: long;
|
|
14738
15323
|
pools?: Record<string, NodesPool>;
|
|
@@ -14798,6 +15383,8 @@ export interface NodesPressureMemory {
|
|
|
14798
15383
|
coordinating_rejections?: long;
|
|
14799
15384
|
primary_rejections?: long;
|
|
14800
15385
|
replica_rejections?: long;
|
|
15386
|
+
primary_document_rejections?: long;
|
|
15387
|
+
large_operation_rejections?: long;
|
|
14801
15388
|
}
|
|
14802
15389
|
export interface NodesProcess {
|
|
14803
15390
|
cpu?: NodesCpu;
|
|
@@ -14972,12 +15559,13 @@ export interface NodesInfoNodeInfo {
|
|
|
14972
15559
|
build_flavor: string;
|
|
14973
15560
|
build_hash: string;
|
|
14974
15561
|
build_type: string;
|
|
15562
|
+
component_versions: Record<Name, integer>;
|
|
14975
15563
|
host: Host;
|
|
14976
15564
|
http?: NodesInfoNodeInfoHttp;
|
|
15565
|
+
index_version: VersionNumber;
|
|
14977
15566
|
ip: Ip;
|
|
14978
15567
|
jvm?: NodesInfoNodeJvmInfo;
|
|
14979
15568
|
name: Name;
|
|
14980
|
-
network?: NodesInfoNodeInfoNetwork;
|
|
14981
15569
|
os?: NodesInfoNodeOperatingSystemInfo;
|
|
14982
15570
|
plugins?: PluginStats[];
|
|
14983
15571
|
process?: NodesInfoNodeProcessInfo;
|
|
@@ -14988,10 +15576,12 @@ export interface NodesInfoNodeInfo {
|
|
|
14988
15576
|
total_indexing_buffer_in_bytes?: ByteSize;
|
|
14989
15577
|
transport?: NodesInfoNodeInfoTransport;
|
|
14990
15578
|
transport_address: TransportAddress;
|
|
15579
|
+
transport_version: VersionNumber;
|
|
14991
15580
|
version: VersionString;
|
|
14992
15581
|
modules?: PluginStats[];
|
|
14993
15582
|
ingest?: NodesInfoNodeInfoIngest;
|
|
14994
15583
|
aggregations?: Record<string, NodesInfoNodeInfoAggregation>;
|
|
15584
|
+
remote_cluster_server?: NodesInfoRemoveClusterServer;
|
|
14995
15585
|
}
|
|
14996
15586
|
export interface NodesInfoNodeInfoAction {
|
|
14997
15587
|
destructive_requires_name: string;
|
|
@@ -15006,7 +15596,7 @@ export interface NodesInfoNodeInfoClient {
|
|
|
15006
15596
|
type: string;
|
|
15007
15597
|
}
|
|
15008
15598
|
export interface NodesInfoNodeInfoDiscoverKeys {
|
|
15009
|
-
seed_hosts?: string[];
|
|
15599
|
+
seed_hosts?: string[] | string;
|
|
15010
15600
|
type?: string;
|
|
15011
15601
|
seed_providers?: string[];
|
|
15012
15602
|
}
|
|
@@ -15047,15 +15637,6 @@ export interface NodesInfoNodeInfoMemory {
|
|
|
15047
15637
|
total: string;
|
|
15048
15638
|
total_in_bytes: long;
|
|
15049
15639
|
}
|
|
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
15640
|
export interface NodesInfoNodeInfoOSCPU {
|
|
15060
15641
|
cache_size: string;
|
|
15061
15642
|
cache_size_in_bytes: integer;
|
|
@@ -15109,7 +15690,7 @@ export interface NodesInfoNodeInfoSettingsCluster {
|
|
|
15109
15690
|
name: Name;
|
|
15110
15691
|
routing?: IndicesIndexRouting;
|
|
15111
15692
|
election: NodesInfoNodeInfoSettingsClusterElection;
|
|
15112
|
-
initial_master_nodes?: string[];
|
|
15693
|
+
initial_master_nodes?: string[] | string;
|
|
15113
15694
|
deprecation_indexing?: NodesInfoDeprecationIndexing;
|
|
15114
15695
|
}
|
|
15115
15696
|
export interface NodesInfoNodeInfoSettingsClusterElection {
|
|
@@ -15172,6 +15753,7 @@ export interface NodesInfoNodeInfoSettingsTransport {
|
|
|
15172
15753
|
type: NodesInfoNodeInfoSettingsTransportType | string;
|
|
15173
15754
|
'type.default'?: string;
|
|
15174
15755
|
features?: NodesInfoNodeInfoSettingsTransportFeatures;
|
|
15756
|
+
ignore_deserialization_errors?: SpecUtilsStringified<boolean>;
|
|
15175
15757
|
}
|
|
15176
15758
|
export interface NodesInfoNodeInfoSettingsTransportFeatures {
|
|
15177
15759
|
'x-pack': string;
|
|
@@ -15235,7 +15817,6 @@ export interface NodesInfoNodeJvmInfo {
|
|
|
15235
15817
|
vm_vendor: string;
|
|
15236
15818
|
vm_version: VersionString;
|
|
15237
15819
|
using_bundled_jdk: boolean;
|
|
15238
|
-
bundled_jdk: boolean;
|
|
15239
15820
|
using_compressed_ordinary_object_pointers?: boolean | string;
|
|
15240
15821
|
input_arguments: string[];
|
|
15241
15822
|
}
|
|
@@ -15264,6 +15845,10 @@ export interface NodesInfoNodeThreadPoolInfo {
|
|
|
15264
15845
|
size?: integer;
|
|
15265
15846
|
type: string;
|
|
15266
15847
|
}
|
|
15848
|
+
export interface NodesInfoRemoveClusterServer {
|
|
15849
|
+
bound_address: TransportAddress[];
|
|
15850
|
+
publish_address: TransportAddress;
|
|
15851
|
+
}
|
|
15267
15852
|
export interface NodesInfoRequest extends RequestBase {
|
|
15268
15853
|
node_id?: NodeIds;
|
|
15269
15854
|
metric?: Metrics;
|
|
@@ -16277,9 +16862,6 @@ export interface SecurityGetUserRequest extends RequestBase {
|
|
|
16277
16862
|
}
|
|
16278
16863
|
export type SecurityGetUserResponse = Record<string, SecurityUser>;
|
|
16279
16864
|
export interface SecurityGetUserPrivilegesRequest extends RequestBase {
|
|
16280
|
-
application?: Name;
|
|
16281
|
-
priviledge?: Name;
|
|
16282
|
-
username?: Name | null;
|
|
16283
16865
|
}
|
|
16284
16866
|
export interface SecurityGetUserPrivilegesResponse {
|
|
16285
16867
|
applications: SecurityApplicationPrivileges[];
|
|
@@ -16310,6 +16892,7 @@ export interface SecurityGrantApiKeyGrantApiKey {
|
|
|
16310
16892
|
metadata?: Metadata;
|
|
16311
16893
|
}
|
|
16312
16894
|
export interface SecurityGrantApiKeyRequest extends RequestBase {
|
|
16895
|
+
refresh?: Refresh;
|
|
16313
16896
|
api_key: SecurityGrantApiKeyGrantApiKey;
|
|
16314
16897
|
grant_type: SecurityGrantApiKeyApiKeyGrantType;
|
|
16315
16898
|
access_token?: string;
|
|
@@ -16814,6 +17397,13 @@ export interface SlmSnapshotLifecycle {
|
|
|
16814
17397
|
version: VersionNumber;
|
|
16815
17398
|
stats: SlmStatistics;
|
|
16816
17399
|
}
|
|
17400
|
+
export interface SlmSnapshotPolicyStats {
|
|
17401
|
+
policy: string;
|
|
17402
|
+
snapshots_taken: long;
|
|
17403
|
+
snapshots_failed: long;
|
|
17404
|
+
snapshots_deleted: long;
|
|
17405
|
+
snapshot_deletion_failures: long;
|
|
17406
|
+
}
|
|
16817
17407
|
export interface SlmStatistics {
|
|
16818
17408
|
retention_deletion_time?: Duration;
|
|
16819
17409
|
retention_deletion_time_millis?: DurationValue<UnitMillis>;
|
|
@@ -16869,7 +17459,7 @@ export interface SlmGetStatsResponse {
|
|
|
16869
17459
|
total_snapshot_deletion_failures: long;
|
|
16870
17460
|
total_snapshots_failed: long;
|
|
16871
17461
|
total_snapshots_taken: long;
|
|
16872
|
-
policy_stats:
|
|
17462
|
+
policy_stats: SlmSnapshotPolicyStats[];
|
|
16873
17463
|
}
|
|
16874
17464
|
export interface SlmGetStatusRequest extends RequestBase {
|
|
16875
17465
|
master_timeout?: Duration;
|
|
@@ -17030,7 +17620,7 @@ export interface SnapshotSnapshotShardFailure {
|
|
|
17030
17620
|
index: IndexName;
|
|
17031
17621
|
node_id?: Id;
|
|
17032
17622
|
reason: string;
|
|
17033
|
-
shard_id:
|
|
17623
|
+
shard_id: integer;
|
|
17034
17624
|
index_uuid: Id;
|
|
17035
17625
|
status: string;
|
|
17036
17626
|
}
|
|
@@ -17114,6 +17704,7 @@ export interface SnapshotDeleteRequest extends RequestBase {
|
|
|
17114
17704
|
repository: Name;
|
|
17115
17705
|
snapshot: Name;
|
|
17116
17706
|
master_timeout?: Duration;
|
|
17707
|
+
wait_for_completion?: boolean;
|
|
17117
17708
|
}
|
|
17118
17709
|
export type SnapshotDeleteResponse = AcknowledgedResponseBase;
|
|
17119
17710
|
export interface SnapshotDeleteRepositoryRequest extends RequestBase {
|
|
@@ -17365,7 +17956,7 @@ export interface SqlQueryRequest extends RequestBase {
|
|
|
17365
17956
|
keep_alive?: Duration;
|
|
17366
17957
|
keep_on_completion?: boolean;
|
|
17367
17958
|
page_timeout?: Duration;
|
|
17368
|
-
params?:
|
|
17959
|
+
params?: any[];
|
|
17369
17960
|
query?: string;
|
|
17370
17961
|
request_timeout?: Duration;
|
|
17371
17962
|
runtime_mappings?: MappingRuntimeFields;
|
|
@@ -17874,6 +18465,11 @@ export interface TransformScheduleNowTransformRequest extends RequestBase {
|
|
|
17874
18465
|
timeout?: Duration;
|
|
17875
18466
|
}
|
|
17876
18467
|
export type TransformScheduleNowTransformResponse = AcknowledgedResponseBase;
|
|
18468
|
+
export interface TransformSetUpgradeModeRequest extends RequestBase {
|
|
18469
|
+
enabled?: boolean;
|
|
18470
|
+
timeout?: Duration;
|
|
18471
|
+
}
|
|
18472
|
+
export type TransformSetUpgradeModeResponse = AcknowledgedResponseBase;
|
|
17877
18473
|
export interface TransformStartTransformRequest extends RequestBase {
|
|
17878
18474
|
transform_id: Id;
|
|
17879
18475
|
timeout?: Duration;
|
|
@@ -18956,10 +19552,10 @@ export interface SpecUtilsCommonQueryParameters {
|
|
|
18956
19552
|
human?: boolean;
|
|
18957
19553
|
pretty?: boolean;
|
|
18958
19554
|
}
|
|
19555
|
+
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
|
19556
|
+
}
|
|
18959
19557
|
export interface SpecUtilsCommonCatQueryParameters {
|
|
18960
19558
|
format?: string;
|
|
18961
19559
|
help?: boolean;
|
|
18962
19560
|
v?: boolean;
|
|
18963
19561
|
}
|
|
18964
|
-
export interface SpecUtilsOverloadOf<TDefinition = unknown> {
|
|
18965
|
-
}
|