@elastic/elasticsearch 8.13.1 → 8.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +3 -6
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/cluster.js +1 -1
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/esql.d.ts +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 +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +62 -62
- package/lib/api/api/indices.js +15 -21
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +4 -4
- package/lib/api/api/inference.js +1 -1
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +76 -76
- package/lib/api/api/ml.js +17 -3
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_ruleset.d.ts +4 -4
- 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.js +1 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +59 -59
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +12 -12
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +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 +2 -2
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/types.d.ts +576 -86
- package/lib/api/typesWithBodyKey.d.ts +630 -90
- package/lib/helpers.d.ts +29 -0
- package/lib/helpers.js +96 -20
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -3
- package/Makefile +0 -11
|
@@ -578,8 +578,8 @@ export interface KnnSearchResponse<TDocument = unknown> {
|
|
|
578
578
|
export interface KnnSearchQuery {
|
|
579
579
|
field: Field;
|
|
580
580
|
query_vector: QueryVector;
|
|
581
|
-
k:
|
|
582
|
-
num_candidates:
|
|
581
|
+
k: integer;
|
|
582
|
+
num_candidates: integer;
|
|
583
583
|
}
|
|
584
584
|
export interface MgetMultiGetError {
|
|
585
585
|
error: ErrorCause;
|
|
@@ -632,7 +632,7 @@ export interface MsearchMultisearchBody {
|
|
|
632
632
|
ext?: Record<string, any>;
|
|
633
633
|
stored_fields?: Fields;
|
|
634
634
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
635
|
-
knn?:
|
|
635
|
+
knn?: KnnSearch | KnnSearch[];
|
|
636
636
|
from?: integer;
|
|
637
637
|
highlight?: SearchHighlight;
|
|
638
638
|
indices_boost?: Record<IndexName, double>[];
|
|
@@ -710,7 +710,7 @@ export interface MsearchTemplateTemplateConfig {
|
|
|
710
710
|
source?: string;
|
|
711
711
|
}
|
|
712
712
|
export interface MtermvectorsOperation {
|
|
713
|
-
_id
|
|
713
|
+
_id?: Id;
|
|
714
714
|
_index?: IndexName;
|
|
715
715
|
doc?: any;
|
|
716
716
|
fields?: Fields;
|
|
@@ -1040,13 +1040,14 @@ export interface SearchRequest extends RequestBase {
|
|
|
1040
1040
|
track_total_hits?: SearchTrackHits;
|
|
1041
1041
|
indices_boost?: Record<IndexName, double>[];
|
|
1042
1042
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
1043
|
-
knn?:
|
|
1043
|
+
knn?: KnnSearch | KnnSearch[];
|
|
1044
1044
|
rank?: RankContainer;
|
|
1045
1045
|
min_score?: double;
|
|
1046
1046
|
post_filter?: QueryDslQueryContainer;
|
|
1047
1047
|
profile?: boolean;
|
|
1048
1048
|
query?: QueryDslQueryContainer;
|
|
1049
1049
|
rescore?: SearchRescore | SearchRescore[];
|
|
1050
|
+
retriever?: RetrieverContainer;
|
|
1050
1051
|
script_fields?: Record<string, ScriptField>;
|
|
1051
1052
|
search_after?: SortResults;
|
|
1052
1053
|
size?: integer;
|
|
@@ -1265,7 +1266,7 @@ export type SearchHighlighterTagsSchema = 'styled';
|
|
|
1265
1266
|
export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
|
|
1266
1267
|
export interface SearchHit<TDocument = unknown> {
|
|
1267
1268
|
_index: IndexName;
|
|
1268
|
-
_id
|
|
1269
|
+
_id?: Id;
|
|
1269
1270
|
_score?: double | null;
|
|
1270
1271
|
_explanation?: ExplainExplanation;
|
|
1271
1272
|
fields?: Record<string, any>;
|
|
@@ -1313,6 +1314,10 @@ export interface SearchInnerHitsResult {
|
|
|
1313
1314
|
export interface SearchLaplaceSmoothingModel {
|
|
1314
1315
|
alpha: double;
|
|
1315
1316
|
}
|
|
1317
|
+
export interface SearchLearningToRank {
|
|
1318
|
+
model_id: string;
|
|
1319
|
+
params?: Record<string, any>;
|
|
1320
|
+
}
|
|
1316
1321
|
export interface SearchLinearInterpolationSmoothingModel {
|
|
1317
1322
|
bigram_lambda: double;
|
|
1318
1323
|
trigram_lambda: double;
|
|
@@ -1399,8 +1404,9 @@ export interface SearchRegexOptions {
|
|
|
1399
1404
|
max_determinized_states?: integer;
|
|
1400
1405
|
}
|
|
1401
1406
|
export interface SearchRescore {
|
|
1402
|
-
query: SearchRescoreQuery;
|
|
1403
1407
|
window_size?: integer;
|
|
1408
|
+
query?: SearchRescoreQuery;
|
|
1409
|
+
learning_to_rank?: SearchLearningToRank;
|
|
1404
1410
|
}
|
|
1405
1411
|
export interface SearchRescoreQuery {
|
|
1406
1412
|
rescore_query: QueryDslQueryContainer;
|
|
@@ -1759,8 +1765,10 @@ export interface SpecUtilsBaseNode {
|
|
|
1759
1765
|
roles?: NodeRoles;
|
|
1760
1766
|
transport_address: TransportAddress;
|
|
1761
1767
|
}
|
|
1768
|
+
export type SpecUtilsNullValue = null;
|
|
1762
1769
|
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1763
1770
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1771
|
+
export type SpecUtilsWithNullValue<T = unknown> = T | SpecUtilsNullValue;
|
|
1764
1772
|
export interface AcknowledgedResponseBase {
|
|
1765
1773
|
acknowledged: boolean;
|
|
1766
1774
|
}
|
|
@@ -1825,8 +1833,8 @@ export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
|
|
|
1825
1833
|
export type DataStreamName = string;
|
|
1826
1834
|
export type DataStreamNames = DataStreamName | DataStreamName[];
|
|
1827
1835
|
export type DateFormat = string;
|
|
1828
|
-
export type DateMath = string;
|
|
1829
|
-
export type DateTime = string | EpochTime<UnitMillis
|
|
1836
|
+
export type DateMath = string | Date;
|
|
1837
|
+
export type DateTime = string | EpochTime<UnitMillis> | Date;
|
|
1830
1838
|
export type Distance = string;
|
|
1831
1839
|
export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
|
|
1832
1840
|
export interface DocStats {
|
|
@@ -2002,12 +2010,28 @@ export interface InlineScript extends ScriptBase {
|
|
|
2002
2010
|
source: string;
|
|
2003
2011
|
}
|
|
2004
2012
|
export type Ip = string;
|
|
2005
|
-
export interface KnnQuery {
|
|
2013
|
+
export interface KnnQuery extends QueryDslQueryBase {
|
|
2006
2014
|
field: Field;
|
|
2007
2015
|
query_vector?: QueryVector;
|
|
2008
2016
|
query_vector_builder?: QueryVectorBuilder;
|
|
2009
|
-
|
|
2010
|
-
|
|
2017
|
+
num_candidates?: integer;
|
|
2018
|
+
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2019
|
+
similarity?: float;
|
|
2020
|
+
}
|
|
2021
|
+
export interface KnnRetriever extends RetrieverBase {
|
|
2022
|
+
field: string;
|
|
2023
|
+
query_vector?: QueryVector;
|
|
2024
|
+
query_vector_builder?: QueryVectorBuilder;
|
|
2025
|
+
k: integer;
|
|
2026
|
+
num_candidates: integer;
|
|
2027
|
+
similarity?: float;
|
|
2028
|
+
}
|
|
2029
|
+
export interface KnnSearch {
|
|
2030
|
+
field: Field;
|
|
2031
|
+
query_vector?: QueryVector;
|
|
2032
|
+
query_vector_builder?: QueryVectorBuilder;
|
|
2033
|
+
k?: integer;
|
|
2034
|
+
num_candidates?: integer;
|
|
2011
2035
|
boost?: float;
|
|
2012
2036
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2013
2037
|
similarity?: float;
|
|
@@ -2101,19 +2125,24 @@ export interface PluginStats {
|
|
|
2101
2125
|
}
|
|
2102
2126
|
export type PropertyName = string;
|
|
2103
2127
|
export interface QueryCacheStats {
|
|
2104
|
-
cache_count:
|
|
2105
|
-
cache_size:
|
|
2106
|
-
evictions:
|
|
2107
|
-
hit_count:
|
|
2128
|
+
cache_count: long;
|
|
2129
|
+
cache_size: long;
|
|
2130
|
+
evictions: long;
|
|
2131
|
+
hit_count: long;
|
|
2108
2132
|
memory_size?: ByteSize;
|
|
2109
2133
|
memory_size_in_bytes: long;
|
|
2110
|
-
miss_count:
|
|
2111
|
-
total_count:
|
|
2134
|
+
miss_count: long;
|
|
2135
|
+
total_count: long;
|
|
2112
2136
|
}
|
|
2113
2137
|
export type QueryVector = float[];
|
|
2114
2138
|
export interface QueryVectorBuilder {
|
|
2115
2139
|
text_embedding?: TextEmbedding;
|
|
2116
2140
|
}
|
|
2141
|
+
export interface RRFRetriever extends RetrieverBase {
|
|
2142
|
+
retrievers: RetrieverContainer[];
|
|
2143
|
+
rank_constant?: integer;
|
|
2144
|
+
window_size?: integer;
|
|
2145
|
+
}
|
|
2117
2146
|
export interface RankBase {
|
|
2118
2147
|
}
|
|
2119
2148
|
export interface RankContainer {
|
|
@@ -2152,6 +2181,14 @@ export interface Retries {
|
|
|
2152
2181
|
bulk: long;
|
|
2153
2182
|
search: long;
|
|
2154
2183
|
}
|
|
2184
|
+
export interface RetrieverBase {
|
|
2185
|
+
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2186
|
+
}
|
|
2187
|
+
export interface RetrieverContainer {
|
|
2188
|
+
standard?: StandardRetriever;
|
|
2189
|
+
knn?: KnnRetriever;
|
|
2190
|
+
rrf?: RRFRetriever;
|
|
2191
|
+
}
|
|
2155
2192
|
export type Routing = string;
|
|
2156
2193
|
export interface RrfRank {
|
|
2157
2194
|
rank_constant?: long;
|
|
@@ -2277,6 +2314,14 @@ export type SortOptions = SortOptionsKeys & {
|
|
|
2277
2314
|
};
|
|
2278
2315
|
export type SortOrder = 'asc' | 'desc';
|
|
2279
2316
|
export type SortResults = FieldValue[];
|
|
2317
|
+
export interface StandardRetriever extends RetrieverBase {
|
|
2318
|
+
query?: QueryDslQueryContainer;
|
|
2319
|
+
search_after?: SortResults;
|
|
2320
|
+
terminate_after?: integer;
|
|
2321
|
+
sort?: Sort;
|
|
2322
|
+
min_score?: float;
|
|
2323
|
+
collapse?: SearchFieldCollapse;
|
|
2324
|
+
}
|
|
2280
2325
|
export interface StoreStats {
|
|
2281
2326
|
size?: ByteSize;
|
|
2282
2327
|
size_in_bytes: long;
|
|
@@ -2357,9 +2402,9 @@ export interface WktGeoBounds {
|
|
|
2357
2402
|
export interface WriteResponseBase {
|
|
2358
2403
|
_id: Id;
|
|
2359
2404
|
_index: IndexName;
|
|
2360
|
-
_primary_term
|
|
2405
|
+
_primary_term?: long;
|
|
2361
2406
|
result: Result;
|
|
2362
|
-
_seq_no
|
|
2407
|
+
_seq_no?: SequenceNumber;
|
|
2363
2408
|
_shards: ShardStatistics;
|
|
2364
2409
|
_version: VersionNumber;
|
|
2365
2410
|
forced_refresh?: boolean;
|
|
@@ -2376,6 +2421,7 @@ export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiB
|
|
|
2376
2421
|
}
|
|
2377
2422
|
export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
|
|
2378
2423
|
filters?: Record<string, QueryDslQueryContainer>;
|
|
2424
|
+
separator?: string;
|
|
2379
2425
|
}
|
|
2380
2426
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2381
2427
|
key: string;
|
|
@@ -2389,8 +2435,6 @@ export interface AggregationsAggregateBase {
|
|
|
2389
2435
|
}
|
|
2390
2436
|
export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
|
|
2391
2437
|
export interface AggregationsAggregation {
|
|
2392
|
-
meta?: Metadata;
|
|
2393
|
-
name?: string;
|
|
2394
2438
|
}
|
|
2395
2439
|
export interface AggregationsAggregationContainer {
|
|
2396
2440
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
@@ -2474,9 +2518,9 @@ export interface AggregationsAggregationContainer {
|
|
|
2474
2518
|
variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
|
|
2475
2519
|
}
|
|
2476
2520
|
export interface AggregationsAggregationRange {
|
|
2477
|
-
from?: double
|
|
2521
|
+
from?: double;
|
|
2478
2522
|
key?: string;
|
|
2479
|
-
to?: double
|
|
2523
|
+
to?: double;
|
|
2480
2524
|
}
|
|
2481
2525
|
export interface AggregationsArrayPercentilesItem {
|
|
2482
2526
|
key: string;
|
|
@@ -2522,7 +2566,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
|
|
|
2522
2566
|
export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
|
|
2523
2567
|
compression?: double;
|
|
2524
2568
|
}
|
|
2525
|
-
export interface AggregationsBucketAggregationBase
|
|
2569
|
+
export interface AggregationsBucketAggregationBase {
|
|
2526
2570
|
}
|
|
2527
2571
|
export interface AggregationsBucketCorrelationAggregation extends AggregationsBucketPathAggregation {
|
|
2528
2572
|
function: AggregationsBucketCorrelationFunction;
|
|
@@ -2546,7 +2590,7 @@ export interface AggregationsBucketKsAggregation extends AggregationsBucketPathA
|
|
|
2546
2590
|
export interface AggregationsBucketMetricValueAggregate extends AggregationsSingleMetricAggregateBase {
|
|
2547
2591
|
keys: string[];
|
|
2548
2592
|
}
|
|
2549
|
-
export interface AggregationsBucketPathAggregation
|
|
2593
|
+
export interface AggregationsBucketPathAggregation {
|
|
2550
2594
|
buckets_path?: AggregationsBucketsPath;
|
|
2551
2595
|
}
|
|
2552
2596
|
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
|
@@ -2555,7 +2599,7 @@ export interface AggregationsBucketScriptAggregation extends AggregationsPipelin
|
|
|
2555
2599
|
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
|
2556
2600
|
script?: Script;
|
|
2557
2601
|
}
|
|
2558
|
-
export interface AggregationsBucketSortAggregation
|
|
2602
|
+
export interface AggregationsBucketSortAggregation {
|
|
2559
2603
|
from?: integer;
|
|
2560
2604
|
gap_policy?: AggregationsGapPolicy;
|
|
2561
2605
|
size?: integer;
|
|
@@ -2573,7 +2617,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
|
|
|
2573
2617
|
execution_hint?: AggregationsCardinalityExecutionMode;
|
|
2574
2618
|
}
|
|
2575
2619
|
export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
|
|
2576
|
-
export interface AggregationsCategorizeTextAggregation
|
|
2620
|
+
export interface AggregationsCategorizeTextAggregation {
|
|
2577
2621
|
field: Field;
|
|
2578
2622
|
max_unique_tokens?: integer;
|
|
2579
2623
|
max_matched_tokens?: integer;
|
|
@@ -2727,8 +2771,8 @@ export interface AggregationsEwmaMovingAverageAggregation extends AggregationsMo
|
|
|
2727
2771
|
settings: AggregationsEwmaModelSettings;
|
|
2728
2772
|
}
|
|
2729
2773
|
export interface AggregationsExtendedBounds<T = unknown> {
|
|
2730
|
-
max
|
|
2731
|
-
min
|
|
2774
|
+
max?: T;
|
|
2775
|
+
min?: T;
|
|
2732
2776
|
}
|
|
2733
2777
|
export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAggregate {
|
|
2734
2778
|
sum_of_squares: double | null;
|
|
@@ -3039,7 +3083,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
|
|
|
3039
3083
|
export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
|
|
3040
3084
|
[property: string]: AggregationsAggregate | long | string;
|
|
3041
3085
|
};
|
|
3042
|
-
export interface AggregationsMatrixAggregation
|
|
3086
|
+
export interface AggregationsMatrixAggregation {
|
|
3043
3087
|
fields?: Fields;
|
|
3044
3088
|
missing?: Record<Field, double>;
|
|
3045
3089
|
}
|
|
@@ -3416,7 +3460,7 @@ export interface AggregationsTTestAggregate extends AggregationsAggregateBase {
|
|
|
3416
3460
|
value: double | null;
|
|
3417
3461
|
value_as_string?: string;
|
|
3418
3462
|
}
|
|
3419
|
-
export interface AggregationsTTestAggregation
|
|
3463
|
+
export interface AggregationsTTestAggregation {
|
|
3420
3464
|
a?: AggregationsTestPopulation;
|
|
3421
3465
|
b?: AggregationsTestPopulation;
|
|
3422
3466
|
type?: AggregationsTTestType;
|
|
@@ -3447,7 +3491,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3447
3491
|
export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
|
|
3448
3492
|
export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
|
|
3449
3493
|
export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
|
|
3450
|
-
|
|
3494
|
+
doc_count_error_upper_bound?: long;
|
|
3451
3495
|
}
|
|
3452
3496
|
export type AggregationsTermsExclude = string | string[];
|
|
3453
3497
|
export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
|
|
@@ -3464,8 +3508,9 @@ export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase
|
|
|
3464
3508
|
hits: SearchHitsMetadata<any>;
|
|
3465
3509
|
}
|
|
3466
3510
|
export interface AggregationsTopHitsAggregation extends AggregationsMetricAggregationBase {
|
|
3467
|
-
docvalue_fields?:
|
|
3511
|
+
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
3468
3512
|
explain?: boolean;
|
|
3513
|
+
fields?: (QueryDslFieldAndFormat | Field)[];
|
|
3469
3514
|
from?: integer;
|
|
3470
3515
|
highlight?: SearchHighlight;
|
|
3471
3516
|
script_fields?: Record<string, ScriptField>;
|
|
@@ -3515,6 +3560,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
|
|
3515
3560
|
buckets?: integer;
|
|
3516
3561
|
shard_size?: integer;
|
|
3517
3562
|
initial_buffer?: integer;
|
|
3563
|
+
script?: Script;
|
|
3518
3564
|
}
|
|
3519
3565
|
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
|
3520
3566
|
min: double;
|
|
@@ -3527,7 +3573,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
|
|
|
3527
3573
|
export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
|
|
3528
3574
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
3529
3575
|
};
|
|
3530
|
-
export interface AggregationsWeightedAverageAggregation
|
|
3576
|
+
export interface AggregationsWeightedAverageAggregation {
|
|
3531
3577
|
format?: string;
|
|
3532
3578
|
value?: AggregationsWeightedAverageValue;
|
|
3533
3579
|
value_type?: AggregationsValueType;
|
|
@@ -3639,6 +3685,7 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
|
|
|
3639
3685
|
}
|
|
3640
3686
|
export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
|
|
3641
3687
|
type: 'html_strip';
|
|
3688
|
+
escaped_tags?: string[];
|
|
3642
3689
|
}
|
|
3643
3690
|
export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
|
|
3644
3691
|
type: 'hunspell';
|
|
@@ -3662,16 +3709,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
|
|
|
3662
3709
|
export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
|
|
3663
3710
|
type: 'icu_collation';
|
|
3664
3711
|
alternate?: AnalysisIcuCollationAlternate;
|
|
3665
|
-
|
|
3666
|
-
|
|
3712
|
+
case_first?: AnalysisIcuCollationCaseFirst;
|
|
3713
|
+
case_level?: boolean;
|
|
3667
3714
|
country?: string;
|
|
3668
3715
|
decomposition?: AnalysisIcuCollationDecomposition;
|
|
3669
|
-
|
|
3716
|
+
hiragana_quaternary_mode?: boolean;
|
|
3670
3717
|
language?: string;
|
|
3671
3718
|
numeric?: boolean;
|
|
3672
3719
|
rules?: string;
|
|
3673
3720
|
strength?: AnalysisIcuCollationStrength;
|
|
3674
|
-
|
|
3721
|
+
variable_top?: string;
|
|
3675
3722
|
variant?: string;
|
|
3676
3723
|
}
|
|
3677
3724
|
export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3884,7 +3931,7 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
|
|
|
3884
3931
|
export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
3885
3932
|
type: 'phonetic';
|
|
3886
3933
|
encoder: AnalysisPhoneticEncoder;
|
|
3887
|
-
languageset: AnalysisPhoneticLanguage[];
|
|
3934
|
+
languageset: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[];
|
|
3888
3935
|
max_code_len?: integer;
|
|
3889
3936
|
name_type: AnalysisPhoneticNameType;
|
|
3890
3937
|
replace?: boolean;
|
|
@@ -3968,6 +4015,7 @@ export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase
|
|
|
3968
4015
|
lenient?: boolean;
|
|
3969
4016
|
synonyms?: string[];
|
|
3970
4017
|
synonyms_path?: string;
|
|
4018
|
+
synonyms_set?: string;
|
|
3971
4019
|
tokenizer?: string;
|
|
3972
4020
|
updateable?: boolean;
|
|
3973
4021
|
}
|
|
@@ -3978,6 +4026,7 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3978
4026
|
lenient?: boolean;
|
|
3979
4027
|
synonyms?: string[];
|
|
3980
4028
|
synonyms_path?: string;
|
|
4029
|
+
synonyms_set?: string;
|
|
3981
4030
|
tokenizer?: string;
|
|
3982
4031
|
updateable?: boolean;
|
|
3983
4032
|
}
|
|
@@ -3986,7 +4035,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
|
3986
4035
|
export interface AnalysisTokenFilterBase {
|
|
3987
4036
|
version?: VersionString;
|
|
3988
4037
|
}
|
|
3989
|
-
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 |
|
|
4038
|
+
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;
|
|
3990
4039
|
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
3991
4040
|
export interface AnalysisTokenizerBase {
|
|
3992
4041
|
version?: VersionString;
|
|
@@ -4136,6 +4185,7 @@ export interface MappingDenseVectorIndexOptions {
|
|
|
4136
4185
|
}
|
|
4137
4186
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4138
4187
|
type: 'dense_vector';
|
|
4188
|
+
element_type?: string;
|
|
4139
4189
|
dims?: integer;
|
|
4140
4190
|
similarity?: string;
|
|
4141
4191
|
index?: boolean;
|
|
@@ -4153,7 +4203,7 @@ export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
|
|
|
4153
4203
|
}
|
|
4154
4204
|
export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
|
|
4155
4205
|
export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
4156
|
-
type: '{
|
|
4206
|
+
type: '{dynamic_type}';
|
|
4157
4207
|
enabled?: boolean;
|
|
4158
4208
|
null_value?: FieldValue;
|
|
4159
4209
|
boost?: double;
|
|
@@ -4179,12 +4229,14 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4179
4229
|
}
|
|
4180
4230
|
export interface MappingDynamicTemplate {
|
|
4181
4231
|
mapping?: MappingProperty;
|
|
4182
|
-
|
|
4183
|
-
|
|
4232
|
+
runtime?: MappingProperty;
|
|
4233
|
+
match?: string | string[];
|
|
4234
|
+
path_match?: string | string[];
|
|
4235
|
+
unmatch?: string | string[];
|
|
4236
|
+
path_unmatch?: string | string[];
|
|
4237
|
+
match_mapping_type?: string | string[];
|
|
4238
|
+
unmatch_mapping_type?: string | string[];
|
|
4184
4239
|
match_pattern?: MappingMatchType;
|
|
4185
|
-
path_match?: string;
|
|
4186
|
-
path_unmatch?: string;
|
|
4187
|
-
unmatch?: string;
|
|
4188
4240
|
}
|
|
4189
4241
|
export interface MappingFieldAliasProperty extends MappingPropertyBase {
|
|
4190
4242
|
path?: Field;
|
|
@@ -4197,7 +4249,7 @@ export interface MappingFieldMapping {
|
|
|
4197
4249
|
export interface MappingFieldNamesField {
|
|
4198
4250
|
enabled: boolean;
|
|
4199
4251
|
}
|
|
4200
|
-
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text';
|
|
4252
|
+
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4201
4253
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4202
4254
|
boost?: double;
|
|
4203
4255
|
depth_limit?: integer;
|
|
@@ -4244,6 +4296,25 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
|
|
|
4244
4296
|
ignore_malformed?: boolean;
|
|
4245
4297
|
type: 'histogram';
|
|
4246
4298
|
}
|
|
4299
|
+
export interface MappingIcuCollationProperty extends MappingDocValuesPropertyBase {
|
|
4300
|
+
type: 'icu_collation_keyword';
|
|
4301
|
+
norms?: boolean;
|
|
4302
|
+
index_options?: MappingIndexOptions;
|
|
4303
|
+
index?: boolean;
|
|
4304
|
+
null_value?: string;
|
|
4305
|
+
rules?: string;
|
|
4306
|
+
language?: string;
|
|
4307
|
+
country?: string;
|
|
4308
|
+
variant?: string;
|
|
4309
|
+
strength?: AnalysisIcuCollationStrength;
|
|
4310
|
+
decomposition?: AnalysisIcuCollationDecomposition;
|
|
4311
|
+
alternate?: AnalysisIcuCollationAlternate;
|
|
4312
|
+
case_level?: boolean;
|
|
4313
|
+
case_first?: AnalysisIcuCollationCaseFirst;
|
|
4314
|
+
numeric?: boolean;
|
|
4315
|
+
variable_top?: string;
|
|
4316
|
+
hiragana_quaternary_mode?: boolean;
|
|
4317
|
+
}
|
|
4247
4318
|
export interface MappingIndexField {
|
|
4248
4319
|
enabled: boolean;
|
|
4249
4320
|
}
|
|
@@ -4278,6 +4349,8 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4278
4349
|
eager_global_ordinals?: boolean;
|
|
4279
4350
|
index?: boolean;
|
|
4280
4351
|
index_options?: MappingIndexOptions;
|
|
4352
|
+
script?: Script;
|
|
4353
|
+
on_script_error?: MappingOnScriptError;
|
|
4281
4354
|
normalizer?: string;
|
|
4282
4355
|
norms?: boolean;
|
|
4283
4356
|
null_value?: string;
|
|
@@ -4333,7 +4406,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4333
4406
|
null_value?: string;
|
|
4334
4407
|
type: 'point';
|
|
4335
4408
|
}
|
|
4336
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
|
|
4409
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | 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;
|
|
4337
4410
|
export interface MappingPropertyBase {
|
|
4338
4411
|
meta?: Record<string, string>;
|
|
4339
4412
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4370,7 +4443,7 @@ export interface MappingRuntimeFieldFetchFields {
|
|
|
4370
4443
|
field: Field;
|
|
4371
4444
|
format?: string;
|
|
4372
4445
|
}
|
|
4373
|
-
export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
|
|
4446
|
+
export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
|
|
4374
4447
|
export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
4375
4448
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
4376
4449
|
type: 'scaled_float';
|
|
@@ -4798,7 +4871,6 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
|
|
|
4798
4871
|
minimum_should_match?: MinimumShouldMatch;
|
|
4799
4872
|
min_term_freq?: integer;
|
|
4800
4873
|
min_word_length?: integer;
|
|
4801
|
-
per_field_analyzer?: Record<Field, string>;
|
|
4802
4874
|
routing?: Routing;
|
|
4803
4875
|
stop_words?: AnalysisStopWords;
|
|
4804
4876
|
unlike?: QueryDslLike | QueryDslLike[];
|
|
@@ -4923,7 +4995,7 @@ export interface QueryDslQueryContainer {
|
|
|
4923
4995
|
shape?: QueryDslShapeQuery;
|
|
4924
4996
|
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
4925
4997
|
span_containing?: QueryDslSpanContainingQuery;
|
|
4926
|
-
|
|
4998
|
+
span_field_masking?: QueryDslSpanFieldMaskingQuery;
|
|
4927
4999
|
span_first?: QueryDslSpanFirstQuery;
|
|
4928
5000
|
span_multi?: QueryDslSpanMultiTermQuery;
|
|
4929
5001
|
span_near?: QueryDslSpanNearQuery;
|
|
@@ -5081,7 +5153,7 @@ export interface QueryDslSpanOrQuery extends QueryDslQueryBase {
|
|
|
5081
5153
|
}
|
|
5082
5154
|
export interface QueryDslSpanQuery {
|
|
5083
5155
|
span_containing?: QueryDslSpanContainingQuery;
|
|
5084
|
-
|
|
5156
|
+
span_field_masking?: QueryDslSpanFieldMaskingQuery;
|
|
5085
5157
|
span_first?: QueryDslSpanFirstQuery;
|
|
5086
5158
|
span_gap?: QueryDslSpanGapQuery;
|
|
5087
5159
|
span_multi?: QueryDslSpanMultiTermQuery;
|
|
@@ -5244,7 +5316,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5244
5316
|
track_total_hits?: SearchTrackHits;
|
|
5245
5317
|
indices_boost?: Record<IndexName, double>[];
|
|
5246
5318
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
5247
|
-
knn?:
|
|
5319
|
+
knn?: KnnSearch | KnnSearch[];
|
|
5248
5320
|
min_score?: double;
|
|
5249
5321
|
post_filter?: QueryDslQueryContainer;
|
|
5250
5322
|
profile?: boolean;
|
|
@@ -7476,10 +7548,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7476
7548
|
master_timeout?: Duration;
|
|
7477
7549
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7478
7550
|
body?: {
|
|
7479
|
-
allow_auto_create?: boolean;
|
|
7480
7551
|
template: IndicesIndexState;
|
|
7481
7552
|
version?: VersionNumber;
|
|
7482
7553
|
_meta?: Metadata;
|
|
7554
|
+
deprecated?: boolean;
|
|
7483
7555
|
};
|
|
7484
7556
|
}
|
|
7485
7557
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7823,6 +7895,441 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
|
7823
7895
|
status: HealthStatus;
|
|
7824
7896
|
timestamp: long;
|
|
7825
7897
|
}
|
|
7898
|
+
export interface ConnectorConnector {
|
|
7899
|
+
api_key_id?: string;
|
|
7900
|
+
configuration: ConnectorConnectorConfiguration;
|
|
7901
|
+
custom_scheduling: ConnectorConnectorCustomScheduling;
|
|
7902
|
+
description?: string;
|
|
7903
|
+
error?: string;
|
|
7904
|
+
features?: ConnectorConnectorFeatures;
|
|
7905
|
+
filtering: ConnectorFilteringConfig[];
|
|
7906
|
+
id?: Id;
|
|
7907
|
+
index_name?: IndexName;
|
|
7908
|
+
is_native: boolean;
|
|
7909
|
+
language?: string;
|
|
7910
|
+
last_access_control_sync_error?: string;
|
|
7911
|
+
last_access_control_sync_scheduled_at?: DateTime;
|
|
7912
|
+
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
7913
|
+
last_deleted_document_count?: long;
|
|
7914
|
+
last_incremental_sync_scheduled_at?: DateTime;
|
|
7915
|
+
last_indexed_document_count?: long;
|
|
7916
|
+
last_seen?: DateTime;
|
|
7917
|
+
last_sync_error?: string;
|
|
7918
|
+
last_sync_scheduled_at?: DateTime;
|
|
7919
|
+
last_sync_status?: ConnectorSyncStatus;
|
|
7920
|
+
last_synced?: DateTime;
|
|
7921
|
+
name?: string;
|
|
7922
|
+
pipeline?: ConnectorIngestPipelineParams;
|
|
7923
|
+
scheduling: ConnectorSchedulingConfiguration;
|
|
7924
|
+
service_type: string;
|
|
7925
|
+
status: ConnectorConnectorStatus;
|
|
7926
|
+
sync_now: boolean;
|
|
7927
|
+
}
|
|
7928
|
+
export interface ConnectorConnectorConfigProperties {
|
|
7929
|
+
category?: string;
|
|
7930
|
+
default_value: ScalarValue;
|
|
7931
|
+
depends_on: ConnectorDependency[];
|
|
7932
|
+
display: ConnectorDisplayType;
|
|
7933
|
+
label: string;
|
|
7934
|
+
options: ConnectorSelectOption[];
|
|
7935
|
+
order?: integer;
|
|
7936
|
+
placeholder?: string;
|
|
7937
|
+
required: boolean;
|
|
7938
|
+
sensitive: boolean;
|
|
7939
|
+
tooltip?: string;
|
|
7940
|
+
type: ConnectorConnectorFieldType;
|
|
7941
|
+
ui_restrictions: string[];
|
|
7942
|
+
validations: ConnectorValidation[];
|
|
7943
|
+
value: ScalarValue;
|
|
7944
|
+
}
|
|
7945
|
+
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
|
|
7946
|
+
export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
|
|
7947
|
+
export interface ConnectorConnectorFeatures {
|
|
7948
|
+
document_level_security?: ConnectorFeatureEnabled;
|
|
7949
|
+
filtering_advanced_config?: boolean;
|
|
7950
|
+
filtering_rules?: boolean;
|
|
7951
|
+
incremental_sync?: ConnectorFeatureEnabled;
|
|
7952
|
+
sync_rules?: ConnectorSyncRulesFeature;
|
|
7953
|
+
}
|
|
7954
|
+
export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
|
|
7955
|
+
export interface ConnectorConnectorScheduling {
|
|
7956
|
+
enabled: boolean;
|
|
7957
|
+
interval: string;
|
|
7958
|
+
}
|
|
7959
|
+
export type ConnectorConnectorStatus = 'created' | 'needs_configuration' | 'configured' | 'connected' | 'error';
|
|
7960
|
+
export interface ConnectorConnectorSyncJob {
|
|
7961
|
+
cancelation_requested_at?: DateTime;
|
|
7962
|
+
canceled_at?: DateTime;
|
|
7963
|
+
completed_at?: DateTime;
|
|
7964
|
+
connector: ConnectorSyncJobConnectorReference;
|
|
7965
|
+
created_at: DateTime;
|
|
7966
|
+
deleted_document_count: long;
|
|
7967
|
+
error?: string;
|
|
7968
|
+
id: Id;
|
|
7969
|
+
indexed_document_count: long;
|
|
7970
|
+
indexed_document_volume: long;
|
|
7971
|
+
job_type: ConnectorSyncJobType;
|
|
7972
|
+
last_seen?: DateTime;
|
|
7973
|
+
metadata: Record<string, any>;
|
|
7974
|
+
started_at?: DateTime;
|
|
7975
|
+
status: ConnectorSyncStatus;
|
|
7976
|
+
total_document_count: long;
|
|
7977
|
+
trigger_method: ConnectorSyncJobTriggerMethod;
|
|
7978
|
+
worker_hostname?: string;
|
|
7979
|
+
}
|
|
7980
|
+
export interface ConnectorCustomScheduling {
|
|
7981
|
+
configuration_overrides: ConnectorCustomSchedulingConfigurationOverrides;
|
|
7982
|
+
enabled: boolean;
|
|
7983
|
+
interval: string;
|
|
7984
|
+
last_synced?: DateTime;
|
|
7985
|
+
name: string;
|
|
7986
|
+
}
|
|
7987
|
+
export interface ConnectorCustomSchedulingConfigurationOverrides {
|
|
7988
|
+
max_crawl_depth?: integer;
|
|
7989
|
+
sitemap_discovery_disabled?: boolean;
|
|
7990
|
+
domain_allowlist?: string[];
|
|
7991
|
+
sitemap_urls?: string[];
|
|
7992
|
+
seed_urls?: string[];
|
|
7993
|
+
}
|
|
7994
|
+
export interface ConnectorDependency {
|
|
7995
|
+
field: string;
|
|
7996
|
+
value: ScalarValue;
|
|
7997
|
+
}
|
|
7998
|
+
export type ConnectorDisplayType = 'textbox' | 'textarea' | 'numeric' | 'toggle' | 'dropdown';
|
|
7999
|
+
export interface ConnectorFeatureEnabled {
|
|
8000
|
+
enabled: boolean;
|
|
8001
|
+
}
|
|
8002
|
+
export interface ConnectorFilteringAdvancedSnippet {
|
|
8003
|
+
created_at?: DateTime;
|
|
8004
|
+
updated_at?: DateTime;
|
|
8005
|
+
value: Record<string, any>;
|
|
8006
|
+
}
|
|
8007
|
+
export interface ConnectorFilteringConfig {
|
|
8008
|
+
active: ConnectorFilteringRules;
|
|
8009
|
+
domain: string;
|
|
8010
|
+
draft: ConnectorFilteringRules;
|
|
8011
|
+
}
|
|
8012
|
+
export type ConnectorFilteringPolicy = 'exclude' | 'include';
|
|
8013
|
+
export interface ConnectorFilteringRule {
|
|
8014
|
+
created_at?: DateTime;
|
|
8015
|
+
field: Field;
|
|
8016
|
+
id: Id;
|
|
8017
|
+
order: integer;
|
|
8018
|
+
policy: ConnectorFilteringPolicy;
|
|
8019
|
+
rule: ConnectorFilteringRuleRule;
|
|
8020
|
+
updated_at?: DateTime;
|
|
8021
|
+
value: string;
|
|
8022
|
+
}
|
|
8023
|
+
export type ConnectorFilteringRuleRule = 'contains' | 'ends_with' | 'equals' | 'regex' | 'starts_with' | '>' | '<';
|
|
8024
|
+
export interface ConnectorFilteringRules {
|
|
8025
|
+
advanced_snippet: ConnectorFilteringAdvancedSnippet;
|
|
8026
|
+
rules: ConnectorFilteringRule[];
|
|
8027
|
+
validation: ConnectorFilteringRulesValidation;
|
|
8028
|
+
}
|
|
8029
|
+
export interface ConnectorFilteringRulesValidation {
|
|
8030
|
+
errors: ConnectorFilteringValidation[];
|
|
8031
|
+
state: ConnectorFilteringValidationState;
|
|
8032
|
+
}
|
|
8033
|
+
export interface ConnectorFilteringValidation {
|
|
8034
|
+
ids: Id[];
|
|
8035
|
+
messages: string[];
|
|
8036
|
+
}
|
|
8037
|
+
export type ConnectorFilteringValidationState = 'edited' | 'invalid' | 'valid';
|
|
8038
|
+
export interface ConnectorGreaterThanValidation {
|
|
8039
|
+
type: 'greater_than';
|
|
8040
|
+
constraint: double;
|
|
8041
|
+
}
|
|
8042
|
+
export interface ConnectorIncludedInValidation {
|
|
8043
|
+
type: 'included_in';
|
|
8044
|
+
constraint: string;
|
|
8045
|
+
}
|
|
8046
|
+
export interface ConnectorIngestPipelineParams {
|
|
8047
|
+
extract_binary_content: boolean;
|
|
8048
|
+
name: string;
|
|
8049
|
+
reduce_whitespace: boolean;
|
|
8050
|
+
run_ml_inference: boolean;
|
|
8051
|
+
}
|
|
8052
|
+
export interface ConnectorLessThanValidation {
|
|
8053
|
+
type: 'less_than';
|
|
8054
|
+
constraint: double;
|
|
8055
|
+
}
|
|
8056
|
+
export interface ConnectorListTypeValidation {
|
|
8057
|
+
type: 'list_type';
|
|
8058
|
+
constraint: ScalarValue[];
|
|
8059
|
+
}
|
|
8060
|
+
export interface ConnectorRegexValidation {
|
|
8061
|
+
type: 'regex';
|
|
8062
|
+
constraint: string;
|
|
8063
|
+
}
|
|
8064
|
+
export interface ConnectorSchedulingConfiguration {
|
|
8065
|
+
access_control?: ConnectorConnectorScheduling;
|
|
8066
|
+
full?: ConnectorConnectorScheduling;
|
|
8067
|
+
incremental?: ConnectorConnectorScheduling;
|
|
8068
|
+
}
|
|
8069
|
+
export interface ConnectorSelectOption {
|
|
8070
|
+
label: string;
|
|
8071
|
+
value: string;
|
|
8072
|
+
}
|
|
8073
|
+
export interface ConnectorSyncJobConnectorReference {
|
|
8074
|
+
configuration: ConnectorConnectorConfiguration;
|
|
8075
|
+
filtering: ConnectorFilteringRules;
|
|
8076
|
+
id: Id;
|
|
8077
|
+
index_name: string;
|
|
8078
|
+
language?: string;
|
|
8079
|
+
pipeline?: ConnectorIngestPipelineParams;
|
|
8080
|
+
service_type: string;
|
|
8081
|
+
}
|
|
8082
|
+
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
|
|
8083
|
+
export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
|
|
8084
|
+
export interface ConnectorSyncRulesFeature {
|
|
8085
|
+
advanced?: ConnectorFeatureEnabled;
|
|
8086
|
+
basic?: ConnectorFeatureEnabled;
|
|
8087
|
+
}
|
|
8088
|
+
export type ConnectorSyncStatus = 'canceling' | 'canceled' | 'completed' | 'error' | 'in_progress' | 'pending' | 'suspended';
|
|
8089
|
+
export type ConnectorValidation = ConnectorLessThanValidation | ConnectorGreaterThanValidation | ConnectorListTypeValidation | ConnectorIncludedInValidation | ConnectorRegexValidation;
|
|
8090
|
+
export interface ConnectorCheckInRequest extends RequestBase {
|
|
8091
|
+
connector_id: Id;
|
|
8092
|
+
}
|
|
8093
|
+
export interface ConnectorCheckInResponse {
|
|
8094
|
+
result: Result;
|
|
8095
|
+
}
|
|
8096
|
+
export interface ConnectorDeleteRequest extends RequestBase {
|
|
8097
|
+
connector_id: Id;
|
|
8098
|
+
delete_sync_jobs: boolean;
|
|
8099
|
+
}
|
|
8100
|
+
export type ConnectorDeleteResponse = AcknowledgedResponseBase;
|
|
8101
|
+
export interface ConnectorGetRequest extends RequestBase {
|
|
8102
|
+
connector_id: Id;
|
|
8103
|
+
}
|
|
8104
|
+
export type ConnectorGetResponse = ConnectorConnector;
|
|
8105
|
+
export interface ConnectorLastSyncRequest extends RequestBase {
|
|
8106
|
+
connector_id: Id;
|
|
8107
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8108
|
+
body?: {
|
|
8109
|
+
last_access_control_sync_error?: SpecUtilsWithNullValue<string>;
|
|
8110
|
+
last_access_control_sync_scheduled_at?: DateTime;
|
|
8111
|
+
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
8112
|
+
last_deleted_document_count?: long;
|
|
8113
|
+
last_incremental_sync_scheduled_at?: DateTime;
|
|
8114
|
+
last_indexed_document_count?: long;
|
|
8115
|
+
last_seen?: SpecUtilsWithNullValue<DateTime>;
|
|
8116
|
+
last_sync_error?: SpecUtilsWithNullValue<string>;
|
|
8117
|
+
last_sync_scheduled_at?: DateTime;
|
|
8118
|
+
last_sync_status?: ConnectorSyncStatus;
|
|
8119
|
+
last_synced?: DateTime;
|
|
8120
|
+
};
|
|
8121
|
+
}
|
|
8122
|
+
export interface ConnectorLastSyncResponse {
|
|
8123
|
+
result: Result;
|
|
8124
|
+
}
|
|
8125
|
+
export interface ConnectorListRequest extends RequestBase {
|
|
8126
|
+
from?: integer;
|
|
8127
|
+
size?: integer;
|
|
8128
|
+
index_name?: Indices;
|
|
8129
|
+
connector_name?: Names;
|
|
8130
|
+
service_type?: Names;
|
|
8131
|
+
query?: string;
|
|
8132
|
+
}
|
|
8133
|
+
export interface ConnectorListResponse {
|
|
8134
|
+
count: long;
|
|
8135
|
+
results: ConnectorConnector[];
|
|
8136
|
+
}
|
|
8137
|
+
export interface ConnectorPostRequest extends RequestBase {
|
|
8138
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8139
|
+
body?: {
|
|
8140
|
+
description?: string;
|
|
8141
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8142
|
+
is_native?: boolean;
|
|
8143
|
+
language?: string;
|
|
8144
|
+
name?: string;
|
|
8145
|
+
service_type?: string;
|
|
8146
|
+
};
|
|
8147
|
+
}
|
|
8148
|
+
export interface ConnectorPostResponse {
|
|
8149
|
+
id: Id;
|
|
8150
|
+
}
|
|
8151
|
+
export interface ConnectorPutRequest extends RequestBase {
|
|
8152
|
+
connector_id: Id;
|
|
8153
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8154
|
+
body?: {
|
|
8155
|
+
description?: string;
|
|
8156
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8157
|
+
is_native?: boolean;
|
|
8158
|
+
language?: string;
|
|
8159
|
+
name?: string;
|
|
8160
|
+
service_type?: string;
|
|
8161
|
+
};
|
|
8162
|
+
}
|
|
8163
|
+
export interface ConnectorPutResponse {
|
|
8164
|
+
result: Result;
|
|
8165
|
+
}
|
|
8166
|
+
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
8167
|
+
connector_sync_job_id: Id;
|
|
8168
|
+
}
|
|
8169
|
+
export interface ConnectorSyncJobCancelResponse {
|
|
8170
|
+
result: Result;
|
|
8171
|
+
}
|
|
8172
|
+
export interface ConnectorSyncJobDeleteRequest extends RequestBase {
|
|
8173
|
+
connector_sync_job_id: Id;
|
|
8174
|
+
}
|
|
8175
|
+
export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
|
|
8176
|
+
export interface ConnectorSyncJobGetRequest extends RequestBase {
|
|
8177
|
+
connector_sync_job_id: Id;
|
|
8178
|
+
}
|
|
8179
|
+
export type ConnectorSyncJobGetResponse = ConnectorConnectorSyncJob;
|
|
8180
|
+
export interface ConnectorSyncJobListRequest extends RequestBase {
|
|
8181
|
+
from?: integer;
|
|
8182
|
+
size?: integer;
|
|
8183
|
+
status?: ConnectorSyncStatus;
|
|
8184
|
+
connector_id?: Id;
|
|
8185
|
+
job_type?: ConnectorSyncJobType[];
|
|
8186
|
+
}
|
|
8187
|
+
export interface ConnectorSyncJobListResponse {
|
|
8188
|
+
count: long;
|
|
8189
|
+
results: ConnectorConnectorSyncJob[];
|
|
8190
|
+
}
|
|
8191
|
+
export interface ConnectorSyncJobPostRequest extends RequestBase {
|
|
8192
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8193
|
+
body?: {
|
|
8194
|
+
id: Id;
|
|
8195
|
+
job_type?: ConnectorSyncJobType;
|
|
8196
|
+
trigger_method?: ConnectorSyncJobTriggerMethod;
|
|
8197
|
+
};
|
|
8198
|
+
}
|
|
8199
|
+
export interface ConnectorSyncJobPostResponse {
|
|
8200
|
+
id: Id;
|
|
8201
|
+
}
|
|
8202
|
+
export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
|
|
8203
|
+
connector_id: Id;
|
|
8204
|
+
}
|
|
8205
|
+
export interface ConnectorUpdateActiveFilteringResponse {
|
|
8206
|
+
result: Result;
|
|
8207
|
+
}
|
|
8208
|
+
export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
|
8209
|
+
connector_id: Id;
|
|
8210
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8211
|
+
body?: {
|
|
8212
|
+
api_key_id?: SpecUtilsWithNullValue<string>;
|
|
8213
|
+
api_key_secret_id?: SpecUtilsWithNullValue<string>;
|
|
8214
|
+
};
|
|
8215
|
+
}
|
|
8216
|
+
export interface ConnectorUpdateApiKeyIdResponse {
|
|
8217
|
+
result: Result;
|
|
8218
|
+
}
|
|
8219
|
+
export interface ConnectorUpdateConfigurationRequest extends RequestBase {
|
|
8220
|
+
connector_id: Id;
|
|
8221
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8222
|
+
body?: {
|
|
8223
|
+
configuration?: ConnectorConnectorConfiguration;
|
|
8224
|
+
values?: Record<string, any>;
|
|
8225
|
+
};
|
|
8226
|
+
}
|
|
8227
|
+
export interface ConnectorUpdateConfigurationResponse {
|
|
8228
|
+
result: Result;
|
|
8229
|
+
}
|
|
8230
|
+
export interface ConnectorUpdateErrorRequest extends RequestBase {
|
|
8231
|
+
connector_id: Id;
|
|
8232
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8233
|
+
body?: {
|
|
8234
|
+
error: SpecUtilsWithNullValue<string>;
|
|
8235
|
+
};
|
|
8236
|
+
}
|
|
8237
|
+
export interface ConnectorUpdateErrorResponse {
|
|
8238
|
+
result: Result;
|
|
8239
|
+
}
|
|
8240
|
+
export interface ConnectorUpdateFilteringRequest extends RequestBase {
|
|
8241
|
+
connector_id: Id;
|
|
8242
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8243
|
+
body?: {
|
|
8244
|
+
filtering?: ConnectorFilteringConfig[];
|
|
8245
|
+
rules?: ConnectorFilteringRule[];
|
|
8246
|
+
advanced_snippet?: ConnectorFilteringAdvancedSnippet;
|
|
8247
|
+
};
|
|
8248
|
+
}
|
|
8249
|
+
export interface ConnectorUpdateFilteringResponse {
|
|
8250
|
+
result: Result;
|
|
8251
|
+
}
|
|
8252
|
+
export interface ConnectorUpdateFilteringValidationRequest extends RequestBase {
|
|
8253
|
+
connector_id: Id;
|
|
8254
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8255
|
+
body?: {
|
|
8256
|
+
validation: ConnectorFilteringRulesValidation;
|
|
8257
|
+
};
|
|
8258
|
+
}
|
|
8259
|
+
export interface ConnectorUpdateFilteringValidationResponse {
|
|
8260
|
+
result: Result;
|
|
8261
|
+
}
|
|
8262
|
+
export interface ConnectorUpdateIndexNameRequest extends RequestBase {
|
|
8263
|
+
connector_id: Id;
|
|
8264
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8265
|
+
body?: {
|
|
8266
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8267
|
+
};
|
|
8268
|
+
}
|
|
8269
|
+
export interface ConnectorUpdateIndexNameResponse {
|
|
8270
|
+
result: Result;
|
|
8271
|
+
}
|
|
8272
|
+
export interface ConnectorUpdateNameRequest extends RequestBase {
|
|
8273
|
+
connector_id: Id;
|
|
8274
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8275
|
+
body?: {
|
|
8276
|
+
name: string;
|
|
8277
|
+
description?: string;
|
|
8278
|
+
};
|
|
8279
|
+
}
|
|
8280
|
+
export interface ConnectorUpdateNameResponse {
|
|
8281
|
+
result: Result;
|
|
8282
|
+
}
|
|
8283
|
+
export interface ConnectorUpdateNativeRequest extends RequestBase {
|
|
8284
|
+
connector_id: Id;
|
|
8285
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8286
|
+
body?: {
|
|
8287
|
+
is_native: boolean;
|
|
8288
|
+
};
|
|
8289
|
+
}
|
|
8290
|
+
export interface ConnectorUpdateNativeResponse {
|
|
8291
|
+
result: Result;
|
|
8292
|
+
}
|
|
8293
|
+
export interface ConnectorUpdatePipelineRequest extends RequestBase {
|
|
8294
|
+
connector_id: Id;
|
|
8295
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8296
|
+
body?: {
|
|
8297
|
+
pipeline: ConnectorIngestPipelineParams;
|
|
8298
|
+
};
|
|
8299
|
+
}
|
|
8300
|
+
export interface ConnectorUpdatePipelineResponse {
|
|
8301
|
+
result: Result;
|
|
8302
|
+
}
|
|
8303
|
+
export interface ConnectorUpdateSchedulingRequest extends RequestBase {
|
|
8304
|
+
connector_id: Id;
|
|
8305
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8306
|
+
body?: {
|
|
8307
|
+
scheduling: ConnectorSchedulingConfiguration;
|
|
8308
|
+
};
|
|
8309
|
+
}
|
|
8310
|
+
export interface ConnectorUpdateSchedulingResponse {
|
|
8311
|
+
result: Result;
|
|
8312
|
+
}
|
|
8313
|
+
export interface ConnectorUpdateServiceTypeRequest extends RequestBase {
|
|
8314
|
+
connector_id: Id;
|
|
8315
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8316
|
+
body?: {
|
|
8317
|
+
service_type: string;
|
|
8318
|
+
};
|
|
8319
|
+
}
|
|
8320
|
+
export interface ConnectorUpdateServiceTypeResponse {
|
|
8321
|
+
result: Result;
|
|
8322
|
+
}
|
|
8323
|
+
export interface ConnectorUpdateStatusRequest extends RequestBase {
|
|
8324
|
+
connector_id: Id;
|
|
8325
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8326
|
+
body?: {
|
|
8327
|
+
status: ConnectorConnectorStatus;
|
|
8328
|
+
};
|
|
8329
|
+
}
|
|
8330
|
+
export interface ConnectorUpdateStatusResponse {
|
|
8331
|
+
result: Result;
|
|
8332
|
+
}
|
|
7826
8333
|
export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
|
|
7827
8334
|
index_uuid: Uuid;
|
|
7828
8335
|
accept_data_loss: boolean;
|
|
@@ -8539,7 +9046,7 @@ export interface IndicesIndexSettingsAnalysis {
|
|
|
8539
9046
|
tokenizer?: Record<string, AnalysisTokenizer>;
|
|
8540
9047
|
}
|
|
8541
9048
|
export interface IndicesIndexSettingsLifecycle {
|
|
8542
|
-
name
|
|
9049
|
+
name?: Name;
|
|
8543
9050
|
indexing_complete?: SpecUtilsStringified<boolean>;
|
|
8544
9051
|
origination_date?: long;
|
|
8545
9052
|
parse_origination_date?: boolean;
|
|
@@ -8612,22 +9119,22 @@ export interface IndicesMappingLimitSettings {
|
|
|
8612
9119
|
ignore_malformed?: boolean;
|
|
8613
9120
|
}
|
|
8614
9121
|
export interface IndicesMappingLimitSettingsDepth {
|
|
8615
|
-
limit?:
|
|
9122
|
+
limit?: long;
|
|
8616
9123
|
}
|
|
8617
9124
|
export interface IndicesMappingLimitSettingsDimensionFields {
|
|
8618
|
-
limit?:
|
|
9125
|
+
limit?: long;
|
|
8619
9126
|
}
|
|
8620
9127
|
export interface IndicesMappingLimitSettingsFieldNameLength {
|
|
8621
9128
|
limit?: long;
|
|
8622
9129
|
}
|
|
8623
9130
|
export interface IndicesMappingLimitSettingsNestedFields {
|
|
8624
|
-
limit?:
|
|
9131
|
+
limit?: long;
|
|
8625
9132
|
}
|
|
8626
9133
|
export interface IndicesMappingLimitSettingsNestedObjects {
|
|
8627
|
-
limit?:
|
|
9134
|
+
limit?: long;
|
|
8628
9135
|
}
|
|
8629
9136
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
8630
|
-
limit?:
|
|
9137
|
+
limit?: long;
|
|
8631
9138
|
}
|
|
8632
9139
|
export interface IndicesMerge {
|
|
8633
9140
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -8728,7 +9235,7 @@ export interface IndicesStorage {
|
|
|
8728
9235
|
type: IndicesStorageType;
|
|
8729
9236
|
allow_mmap?: boolean;
|
|
8730
9237
|
}
|
|
8731
|
-
export type IndicesStorageType = 'fs' | '
|
|
9238
|
+
export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
|
|
8732
9239
|
export interface IndicesTemplateMapping {
|
|
8733
9240
|
aliases: Record<IndexName, IndicesAlias>;
|
|
8734
9241
|
index_patterns: Name[];
|
|
@@ -9272,15 +9779,20 @@ export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
|
9272
9779
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
9273
9780
|
name: Name;
|
|
9274
9781
|
create?: boolean;
|
|
9782
|
+
master_timeout?: Duration;
|
|
9783
|
+
cause?: string;
|
|
9275
9784
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9276
9785
|
body?: {
|
|
9277
9786
|
index_patterns?: Indices;
|
|
9278
9787
|
composed_of?: Name[];
|
|
9279
9788
|
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
9280
9789
|
data_stream?: IndicesDataStreamVisibility;
|
|
9281
|
-
priority?:
|
|
9790
|
+
priority?: long;
|
|
9282
9791
|
version?: VersionNumber;
|
|
9283
9792
|
_meta?: Metadata;
|
|
9793
|
+
allow_auto_create?: boolean;
|
|
9794
|
+
ignore_missing_component_templates?: string[];
|
|
9795
|
+
deprecated?: boolean;
|
|
9284
9796
|
};
|
|
9285
9797
|
}
|
|
9286
9798
|
export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -9324,16 +9836,15 @@ export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
|
|
|
9324
9836
|
export interface IndicesPutTemplateRequest extends RequestBase {
|
|
9325
9837
|
name: Name;
|
|
9326
9838
|
create?: boolean;
|
|
9327
|
-
flat_settings?: boolean;
|
|
9328
9839
|
master_timeout?: Duration;
|
|
9329
|
-
|
|
9840
|
+
cause?: string;
|
|
9330
9841
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9331
9842
|
body?: {
|
|
9332
9843
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
9333
9844
|
index_patterns?: string | string[];
|
|
9334
9845
|
mappings?: MappingTypeMapping;
|
|
9335
9846
|
order?: integer;
|
|
9336
|
-
settings?:
|
|
9847
|
+
settings?: IndicesIndexSettings;
|
|
9337
9848
|
version?: VersionNumber;
|
|
9338
9849
|
};
|
|
9339
9850
|
}
|
|
@@ -9629,22 +10140,12 @@ export interface IndicesShrinkResponse {
|
|
|
9629
10140
|
}
|
|
9630
10141
|
export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
|
|
9631
10142
|
name: Name;
|
|
9632
|
-
create?: boolean;
|
|
9633
10143
|
master_timeout?: Duration;
|
|
9634
10144
|
include_defaults?: boolean;
|
|
9635
|
-
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9636
|
-
body?: {
|
|
9637
|
-
allow_auto_create?: boolean;
|
|
9638
|
-
index_patterns?: Indices;
|
|
9639
|
-
composed_of?: Name[];
|
|
9640
|
-
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
9641
|
-
data_stream?: IndicesDataStreamVisibility;
|
|
9642
|
-
priority?: integer;
|
|
9643
|
-
version?: VersionNumber;
|
|
9644
|
-
_meta?: Metadata;
|
|
9645
|
-
};
|
|
9646
10145
|
}
|
|
9647
10146
|
export interface IndicesSimulateIndexTemplateResponse {
|
|
10147
|
+
overlapping?: IndicesSimulateTemplateOverlapping[];
|
|
10148
|
+
template: IndicesSimulateTemplateTemplate;
|
|
9648
10149
|
}
|
|
9649
10150
|
export interface IndicesSimulateTemplateOverlapping {
|
|
9650
10151
|
name: Name;
|
|
@@ -9655,8 +10156,19 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
|
|
|
9655
10156
|
create?: boolean;
|
|
9656
10157
|
master_timeout?: Duration;
|
|
9657
10158
|
include_defaults?: boolean;
|
|
9658
|
-
/** @deprecated The use of the 'body' key has been deprecated,
|
|
9659
|
-
body?:
|
|
10159
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
10160
|
+
body?: {
|
|
10161
|
+
allow_auto_create?: boolean;
|
|
10162
|
+
index_patterns?: Indices;
|
|
10163
|
+
composed_of?: Name[];
|
|
10164
|
+
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
10165
|
+
data_stream?: IndicesDataStreamVisibility;
|
|
10166
|
+
priority?: long;
|
|
10167
|
+
version?: VersionNumber;
|
|
10168
|
+
_meta?: Metadata;
|
|
10169
|
+
ignore_missing_component_templates?: string[];
|
|
10170
|
+
deprecated?: boolean;
|
|
10171
|
+
};
|
|
9660
10172
|
}
|
|
9661
10173
|
export interface IndicesSimulateTemplateResponse {
|
|
9662
10174
|
overlapping?: IndicesSimulateTemplateOverlapping[];
|
|
@@ -9902,12 +10414,17 @@ export interface IndicesValidateQueryResponse {
|
|
|
9902
10414
|
valid: boolean;
|
|
9903
10415
|
error?: string;
|
|
9904
10416
|
}
|
|
10417
|
+
export interface InferenceCompletionResult {
|
|
10418
|
+
result: string;
|
|
10419
|
+
}
|
|
9905
10420
|
export type InferenceDenseByteVector = byte[];
|
|
9906
10421
|
export type InferenceDenseVector = float[];
|
|
9907
10422
|
export interface InferenceInferenceResult {
|
|
9908
10423
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
9909
10424
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
9910
10425
|
sparse_embedding?: InferenceSparseEmbeddingResult[];
|
|
10426
|
+
completion?: InferenceCompletionResult[];
|
|
10427
|
+
rerank?: InferenceRankedDocument[];
|
|
9911
10428
|
}
|
|
9912
10429
|
export interface InferenceModelConfig {
|
|
9913
10430
|
service: string;
|
|
@@ -9918,13 +10435,18 @@ export interface InferenceModelConfigContainer extends InferenceModelConfig {
|
|
|
9918
10435
|
model_id: string;
|
|
9919
10436
|
task_type: InferenceTaskType;
|
|
9920
10437
|
}
|
|
10438
|
+
export interface InferenceRankedDocument {
|
|
10439
|
+
index: integer;
|
|
10440
|
+
score: float;
|
|
10441
|
+
text?: string;
|
|
10442
|
+
}
|
|
9921
10443
|
export type InferenceServiceSettings = any;
|
|
9922
10444
|
export interface InferenceSparseEmbeddingResult {
|
|
9923
10445
|
embedding: InferenceSparseVector;
|
|
9924
10446
|
}
|
|
9925
10447
|
export type InferenceSparseVector = Record<string, float>;
|
|
9926
10448
|
export type InferenceTaskSettings = any;
|
|
9927
|
-
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
|
|
10449
|
+
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion';
|
|
9928
10450
|
export interface InferenceTextEmbeddingByteResult {
|
|
9929
10451
|
embedding: InferenceDenseByteVector;
|
|
9930
10452
|
}
|
|
@@ -9946,8 +10468,10 @@ export interface InferenceGetModelResponse {
|
|
|
9946
10468
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
9947
10469
|
task_type?: InferenceTaskType;
|
|
9948
10470
|
inference_id: Id;
|
|
10471
|
+
timeout?: Duration;
|
|
9949
10472
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9950
10473
|
body?: {
|
|
10474
|
+
query?: string;
|
|
9951
10475
|
input: string | string[];
|
|
9952
10476
|
task_settings?: InferenceTaskSettings;
|
|
9953
10477
|
};
|
|
@@ -10184,6 +10708,7 @@ export interface IngestProcessorContainer {
|
|
|
10184
10708
|
}
|
|
10185
10709
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10186
10710
|
field: Fields;
|
|
10711
|
+
keep?: Fields;
|
|
10187
10712
|
ignore_missing?: boolean;
|
|
10188
10713
|
}
|
|
10189
10714
|
export interface IngestRenameProcessor extends IngestProcessorBase {
|
|
@@ -11090,7 +11615,7 @@ export interface MlInferenceConfigUpdateContainer {
|
|
|
11090
11615
|
export interface MlInferenceResponseResult {
|
|
11091
11616
|
entities?: MlTrainedModelEntities[];
|
|
11092
11617
|
is_truncated?: boolean;
|
|
11093
|
-
predicted_value?: MlPredictedValue[];
|
|
11618
|
+
predicted_value?: MlPredictedValue | MlPredictedValue[];
|
|
11094
11619
|
predicted_value_sequence?: string;
|
|
11095
11620
|
prediction_probability?: double;
|
|
11096
11621
|
prediction_score?: double;
|
|
@@ -12679,6 +13204,16 @@ export interface MlUpdateModelSnapshotResponse {
|
|
|
12679
13204
|
acknowledged: boolean;
|
|
12680
13205
|
model: MlModelSnapshot;
|
|
12681
13206
|
}
|
|
13207
|
+
export interface MlUpdateTrainedModelDeploymentRequest extends RequestBase {
|
|
13208
|
+
model_id: Id;
|
|
13209
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13210
|
+
body?: {
|
|
13211
|
+
number_of_allocations?: integer;
|
|
13212
|
+
};
|
|
13213
|
+
}
|
|
13214
|
+
export interface MlUpdateTrainedModelDeploymentResponse {
|
|
13215
|
+
assignment: MlTrainedModelAssignment;
|
|
13216
|
+
}
|
|
12682
13217
|
export interface MlUpgradeJobSnapshotRequest extends RequestBase {
|
|
12683
13218
|
job_id: Id;
|
|
12684
13219
|
snapshot_id: Id;
|
|
@@ -13273,7 +13808,7 @@ export interface NodesInfoNodeInfoRepositoriesUrl {
|
|
|
13273
13808
|
}
|
|
13274
13809
|
export interface NodesInfoNodeInfoScript {
|
|
13275
13810
|
allowed_types: string;
|
|
13276
|
-
disable_max_compilations_rate
|
|
13811
|
+
disable_max_compilations_rate?: string;
|
|
13277
13812
|
}
|
|
13278
13813
|
export interface NodesInfoNodeInfoSearch {
|
|
13279
13814
|
remote: NodesInfoNodeInfoSearchRemote;
|
|
@@ -13288,7 +13823,7 @@ export interface NodesInfoNodeInfoSettings {
|
|
|
13288
13823
|
repositories?: NodesInfoNodeInfoRepositories;
|
|
13289
13824
|
discovery?: NodesInfoNodeInfoDiscover;
|
|
13290
13825
|
action?: NodesInfoNodeInfoAction;
|
|
13291
|
-
client
|
|
13826
|
+
client?: NodesInfoNodeInfoClient;
|
|
13292
13827
|
http: NodesInfoNodeInfoSettingsHttp;
|
|
13293
13828
|
bootstrap?: NodesInfoNodeInfoBootstrap;
|
|
13294
13829
|
transport: NodesInfoNodeInfoSettingsTransport;
|
|
@@ -13354,7 +13889,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
|
|
|
13354
13889
|
inference?: NodesInfoNodeInfoIngestInfo;
|
|
13355
13890
|
}
|
|
13356
13891
|
export interface NodesInfoNodeInfoSettingsNetwork {
|
|
13357
|
-
host
|
|
13892
|
+
host?: Host;
|
|
13358
13893
|
}
|
|
13359
13894
|
export interface NodesInfoNodeInfoSettingsNode {
|
|
13360
13895
|
name: Name;
|
|
@@ -13790,6 +14325,7 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
|
|
|
13790
14325
|
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
13791
14326
|
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
13792
14327
|
name: Name;
|
|
14328
|
+
typed_keys?: boolean;
|
|
13793
14329
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13794
14330
|
body?: {
|
|
13795
14331
|
params?: Record<string, any>;
|
|
@@ -13863,7 +14399,9 @@ export interface SecurityApiKey {
|
|
|
13863
14399
|
invalidated?: boolean;
|
|
13864
14400
|
name: Name;
|
|
13865
14401
|
realm?: string;
|
|
14402
|
+
realm_type?: string;
|
|
13866
14403
|
username?: Username;
|
|
14404
|
+
profile_uid?: string;
|
|
13867
14405
|
metadata?: Metadata;
|
|
13868
14406
|
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
13869
14407
|
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
@@ -13880,7 +14418,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
13880
14418
|
export interface SecurityClusterNode {
|
|
13881
14419
|
name: Name;
|
|
13882
14420
|
}
|
|
13883
|
-
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client' | string;
|
|
14421
|
+
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_connector_secrets' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
|
|
13884
14422
|
export interface SecurityCreatedStatus {
|
|
13885
14423
|
created: boolean;
|
|
13886
14424
|
}
|
|
@@ -13897,7 +14435,7 @@ export interface SecurityGlobalPrivilege {
|
|
|
13897
14435
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
13898
14436
|
}
|
|
13899
14437
|
export type SecurityGrantType = 'password' | 'access_token';
|
|
13900
|
-
export type SecurityIndexPrivilege = '
|
|
14438
|
+
export type SecurityIndexPrivilege = 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'cross_cluster_replication' | 'cross_cluster_replication_internal' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_data_stream_lifecycle' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'none' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
|
|
13901
14439
|
export interface SecurityIndicesPrivileges {
|
|
13902
14440
|
field_security?: SecurityFieldSecurity;
|
|
13903
14441
|
names: Indices;
|
|
@@ -13936,9 +14474,9 @@ export interface SecurityRoleDescriptorRead {
|
|
|
13936
14474
|
export interface SecurityRoleMapping {
|
|
13937
14475
|
enabled: boolean;
|
|
13938
14476
|
metadata: Metadata;
|
|
13939
|
-
roles
|
|
13940
|
-
rules: SecurityRoleMappingRule;
|
|
14477
|
+
roles?: string[];
|
|
13941
14478
|
role_templates?: SecurityRoleTemplate[];
|
|
14479
|
+
rules: SecurityRoleMappingRule;
|
|
13942
14480
|
}
|
|
13943
14481
|
export interface SecurityRoleMappingRule {
|
|
13944
14482
|
any?: SecurityRoleMappingRule[];
|
|
@@ -14204,6 +14742,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
|
|
|
14204
14742
|
username?: Username;
|
|
14205
14743
|
with_limited_by?: boolean;
|
|
14206
14744
|
active_only?: boolean;
|
|
14745
|
+
with_profile_uid?: boolean;
|
|
14207
14746
|
}
|
|
14208
14747
|
export interface SecurityGetApiKeyResponse {
|
|
14209
14748
|
api_keys: SecurityApiKey[];
|
|
@@ -14532,6 +15071,7 @@ export interface SecurityQueryApiKeysApiKeyQueryContainer {
|
|
|
14532
15071
|
}
|
|
14533
15072
|
export interface SecurityQueryApiKeysRequest extends RequestBase {
|
|
14534
15073
|
with_limited_by?: boolean;
|
|
15074
|
+
with_profile_uid?: boolean;
|
|
14535
15075
|
typed_keys?: boolean;
|
|
14536
15076
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14537
15077
|
body?: {
|
|
@@ -15299,7 +15839,7 @@ export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
|
15299
15839
|
}
|
|
15300
15840
|
export interface SynonymsPutSynonymResponse {
|
|
15301
15841
|
result: Result;
|
|
15302
|
-
reload_analyzers_details:
|
|
15842
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15303
15843
|
}
|
|
15304
15844
|
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15305
15845
|
set_id: Id;
|