@elastic/elasticsearch 8.15.2 → 8.16.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/.tap/processinfo/{2050cc30-f488-420a-baa6-df6c1adb9f62.json → 239708f2-87a5-4d74-b278-39bed70e3132.json} +27 -27
- package/.tap/processinfo/{92769d56-f3fd-425e-a62b-a405b7b3cee8.json → 49cc5ee3-23ef-4e56-a9eb-a60b09ab2869.json} +18 -18
- package/.tap/processinfo/{737e7e75-4bfb-4692-ab93-26301ccaae30.json → 50399bf2-cbc5-48a1-9c21-6844fe8df15b.json} +39 -39
- package/.tap/processinfo/{7cb18475-5a98-4019-9680-455975cefd95.json → 6efa79f2-1d5f-4eec-a53e-1cbdfca97357.json} +31 -31
- package/.tap/processinfo/{d68b7470-ec92-4a05-a899-ef7b846ea57f.json → ba5d04e5-a2fc-4645-a145-b1091b008ba2.json} +55 -55
- package/.tap/processinfo/{0a539d4d-d7bd-4b6d-86dc-d42a6e9c6c57.json → e350be2a-80f7-4405-be6d-9387eb5c62a5.json} +28 -28
- package/.tap/processinfo/{9b27c491-d2fb-4fd1-a726-2145fef1295a.json → faf6b959-b0f5-4608-9f59-62f75993b578.json} +35 -35
- package/lib/api/api/async_search.d.ts +8 -8
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +8 -8
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/capabilities.d.ts +1 -1
- package/lib/api/api/capabilities.js.map +1 -1
- package/lib/api/api/cat.d.ts +36 -36
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +2 -2
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +2 -2
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +21 -21
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +55 -55
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +6 -6
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +2 -2
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +2 -2
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +9 -9
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +3 -3
- package/lib/api/api/esql.js +1 -1
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +2 -2
- package/lib/api/api/field_caps.js.map +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +2 -2
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +2 -2
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +2 -2
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +2 -2
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +2 -2
- package/lib/api/api/get_source.js.map +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/graph.js.map +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/health_report.js.map +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +88 -88
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +11 -4
- package/lib/api/api/inference.js +32 -0
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +2 -2
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +12 -12
- package/lib/api/api/ingest.js +1 -2
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +2 -2
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +8 -8
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +2 -2
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +144 -144
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +2 -2
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +2 -2
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/open_point_in_time.js +16 -2
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +2 -2
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/profiling.js.map +1 -1
- package/lib/api/api/put_script.d.ts +2 -2
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_rules.d.ts +14 -7
- package/lib/api/api/query_rules.js +37 -0
- package/lib/api/api/query_rules.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +2 -2
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +2 -2
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +2 -2
- package/lib/api/api/render_search_template.js.map +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +2 -2
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +2 -2
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +16 -16
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +2 -2
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +2 -2
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +2 -2
- package/lib/api/api/search_template.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +126 -126
- package/lib/api/api/security.js +35 -7
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +1 -1
- package/lib/api/api/simulate.js.map +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +19 -12
- package/lib/api/api/snapshot.js +23 -0
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +2 -2
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +7 -7
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +4 -4
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +2 -2
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +2 -2
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +4 -4
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +22 -22
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +2 -2
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +2 -2
- package/lib/api/api/update_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/watcher.js.map +1 -1
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +517 -79
- package/lib/api/types.js.map +1 -1
- package/lib/api/typesWithBodyKey.d.ts +529 -79
- package/lib/api/typesWithBodyKey.js.map +1 -1
- package/lib/client.d.ts +2 -2
- package/lib/client.js +33 -17
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +8 -2
- package/lib/helpers.js +41 -12
- package/lib/helpers.js.map +1 -1
- package/lib/sniffingTransport.js +2 -2
- package/lib/sniffingTransport.js.map +1 -1
- package/package.json +17 -13
- package/tsconfig.json +3 -2
package/lib/api/types.d.ts
CHANGED
|
@@ -298,6 +298,7 @@ export interface FieldCapsResponse {
|
|
|
298
298
|
export interface GetGetResult<TDocument = unknown> {
|
|
299
299
|
_index: IndexName;
|
|
300
300
|
fields?: Record<string, any>;
|
|
301
|
+
_ignored?: string[];
|
|
301
302
|
found: boolean;
|
|
302
303
|
_id: Id;
|
|
303
304
|
_primary_term?: long;
|
|
@@ -380,6 +381,14 @@ export interface HealthReportBaseIndicator {
|
|
|
380
381
|
impacts?: HealthReportImpact[];
|
|
381
382
|
diagnosis?: HealthReportDiagnosis[];
|
|
382
383
|
}
|
|
384
|
+
export interface HealthReportDataStreamLifecycleDetails {
|
|
385
|
+
stagnating_backing_indices_count: integer;
|
|
386
|
+
total_backing_indices_in_error: integer;
|
|
387
|
+
stagnating_backing_indices?: HealthReportStagnatingBackingIndices[];
|
|
388
|
+
}
|
|
389
|
+
export interface HealthReportDataStreamLifecycleIndicator extends HealthReportBaseIndicator {
|
|
390
|
+
details?: HealthReportDataStreamLifecycleDetails;
|
|
391
|
+
}
|
|
383
392
|
export interface HealthReportDiagnosis {
|
|
384
393
|
id: string;
|
|
385
394
|
action: string;
|
|
@@ -429,6 +438,7 @@ export interface HealthReportIndicators {
|
|
|
429
438
|
shards_availability?: HealthReportShardsAvailabilityIndicator;
|
|
430
439
|
disk?: HealthReportDiskIndicator;
|
|
431
440
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
441
|
+
data_stream_lifecycle?: HealthReportDataStreamLifecycleIndicator;
|
|
432
442
|
ilm?: HealthReportIlmIndicator;
|
|
433
443
|
slm?: HealthReportSlmIndicator;
|
|
434
444
|
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
@@ -508,6 +518,11 @@ export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
|
508
518
|
count: long;
|
|
509
519
|
invocations_since_last_success?: Record<string, long>;
|
|
510
520
|
}
|
|
521
|
+
export interface HealthReportStagnatingBackingIndices {
|
|
522
|
+
index_name: IndexName;
|
|
523
|
+
first_occurrence_timestamp: long;
|
|
524
|
+
retry_count: integer;
|
|
525
|
+
}
|
|
511
526
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
512
527
|
id?: Id;
|
|
513
528
|
index: IndexName;
|
|
@@ -732,8 +747,10 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
732
747
|
preference?: string;
|
|
733
748
|
routing?: Routing;
|
|
734
749
|
expand_wildcards?: ExpandWildcards;
|
|
750
|
+
index_filter?: QueryDslQueryContainer;
|
|
735
751
|
}
|
|
736
752
|
export interface OpenPointInTimeResponse {
|
|
753
|
+
_shards: ShardStatistics;
|
|
737
754
|
id: Id;
|
|
738
755
|
}
|
|
739
756
|
export interface PingRequest extends RequestBase {
|
|
@@ -799,7 +816,7 @@ export interface RankEvalRankEvalQuery {
|
|
|
799
816
|
}
|
|
800
817
|
export interface RankEvalRankEvalRequestItem {
|
|
801
818
|
id: Id;
|
|
802
|
-
request?: RankEvalRankEvalQuery;
|
|
819
|
+
request?: RankEvalRankEvalQuery | QueryDslQueryContainer;
|
|
803
820
|
ratings: RankEvalDocumentRating[];
|
|
804
821
|
template_id?: Id;
|
|
805
822
|
params?: Record<string, any>;
|
|
@@ -930,7 +947,7 @@ export interface RenderSearchTemplateResponse {
|
|
|
930
947
|
export interface ScriptsPainlessExecutePainlessContextSetup {
|
|
931
948
|
document: any;
|
|
932
949
|
index: IndexName;
|
|
933
|
-
query
|
|
950
|
+
query?: QueryDslQueryContainer;
|
|
934
951
|
}
|
|
935
952
|
export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
|
936
953
|
context?: string;
|
|
@@ -1239,7 +1256,6 @@ export interface SearchHighlightBase {
|
|
|
1239
1256
|
export interface SearchHighlightField extends SearchHighlightBase {
|
|
1240
1257
|
fragment_offset?: integer;
|
|
1241
1258
|
matched_fields?: Fields;
|
|
1242
|
-
analyzer?: AnalysisAnalyzer;
|
|
1243
1259
|
}
|
|
1244
1260
|
export type SearchHighlighterEncoder = 'default' | 'html';
|
|
1245
1261
|
export type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
@@ -2201,11 +2217,13 @@ export interface Retries {
|
|
|
2201
2217
|
}
|
|
2202
2218
|
export interface RetrieverBase {
|
|
2203
2219
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2220
|
+
min_score?: float;
|
|
2204
2221
|
}
|
|
2205
2222
|
export interface RetrieverContainer {
|
|
2206
2223
|
standard?: StandardRetriever;
|
|
2207
2224
|
knn?: KnnRetriever;
|
|
2208
2225
|
rrf?: RRFRetriever;
|
|
2226
|
+
text_similarity_reranker?: TextSimilarityReranker;
|
|
2209
2227
|
}
|
|
2210
2228
|
export type Routing = string;
|
|
2211
2229
|
export interface RrfRank {
|
|
@@ -2340,7 +2358,6 @@ export interface StandardRetriever extends RetrieverBase {
|
|
|
2340
2358
|
search_after?: SortResults;
|
|
2341
2359
|
terminate_after?: integer;
|
|
2342
2360
|
sort?: Sort;
|
|
2343
|
-
min_score?: float;
|
|
2344
2361
|
collapse?: SearchFieldCollapse;
|
|
2345
2362
|
}
|
|
2346
2363
|
export interface StoreStats {
|
|
@@ -2369,6 +2386,13 @@ export interface TextEmbedding {
|
|
|
2369
2386
|
model_id: string;
|
|
2370
2387
|
model_text: string;
|
|
2371
2388
|
}
|
|
2389
|
+
export interface TextSimilarityReranker extends RetrieverBase {
|
|
2390
|
+
retriever: RetrieverContainer;
|
|
2391
|
+
rank_window_size?: integer;
|
|
2392
|
+
inference_id?: string;
|
|
2393
|
+
inference_text?: string;
|
|
2394
|
+
field?: string;
|
|
2395
|
+
}
|
|
2372
2396
|
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2373
2397
|
export type TimeOfDay = string;
|
|
2374
2398
|
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
@@ -2538,9 +2562,9 @@ export interface AggregationsAggregationContainer {
|
|
|
2538
2562
|
variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
|
|
2539
2563
|
}
|
|
2540
2564
|
export interface AggregationsAggregationRange {
|
|
2541
|
-
from?: double;
|
|
2565
|
+
from?: double | null;
|
|
2542
2566
|
key?: string;
|
|
2543
|
-
to?: double;
|
|
2567
|
+
to?: double | null;
|
|
2544
2568
|
}
|
|
2545
2569
|
export interface AggregationsArrayPercentilesItem {
|
|
2546
2570
|
key: string;
|
|
@@ -3624,11 +3648,52 @@ export interface AggregationsWeightedAverageValue {
|
|
|
3624
3648
|
}
|
|
3625
3649
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3626
3650
|
}
|
|
3627
|
-
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
|
|
3651
|
+
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | 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;
|
|
3652
|
+
export interface AnalysisArabicAnalyzer {
|
|
3653
|
+
type: 'arabic';
|
|
3654
|
+
stopwords?: AnalysisStopWords;
|
|
3655
|
+
stopwords_path?: string;
|
|
3656
|
+
stem_exclusion?: string[];
|
|
3657
|
+
}
|
|
3658
|
+
export interface AnalysisArmenianAnalyzer {
|
|
3659
|
+
type: 'armenian';
|
|
3660
|
+
stopwords?: AnalysisStopWords;
|
|
3661
|
+
stopwords_path?: string;
|
|
3662
|
+
stem_exclusion?: string[];
|
|
3663
|
+
}
|
|
3628
3664
|
export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
3629
3665
|
type: 'asciifolding';
|
|
3630
3666
|
preserve_original?: SpecUtilsStringified<boolean>;
|
|
3631
3667
|
}
|
|
3668
|
+
export interface AnalysisBasqueAnalyzer {
|
|
3669
|
+
type: 'basque';
|
|
3670
|
+
stopwords?: AnalysisStopWords;
|
|
3671
|
+
stopwords_path?: string;
|
|
3672
|
+
stem_exclusion?: string[];
|
|
3673
|
+
}
|
|
3674
|
+
export interface AnalysisBengaliAnalyzer {
|
|
3675
|
+
type: 'bengali';
|
|
3676
|
+
stopwords?: AnalysisStopWords;
|
|
3677
|
+
stopwords_path?: string;
|
|
3678
|
+
stem_exclusion?: string[];
|
|
3679
|
+
}
|
|
3680
|
+
export interface AnalysisBrazilianAnalyzer {
|
|
3681
|
+
type: 'brazilian';
|
|
3682
|
+
stopwords?: AnalysisStopWords;
|
|
3683
|
+
stopwords_path?: string;
|
|
3684
|
+
}
|
|
3685
|
+
export interface AnalysisBulgarianAnalyzer {
|
|
3686
|
+
type: 'bulgarian';
|
|
3687
|
+
stopwords?: AnalysisStopWords;
|
|
3688
|
+
stopwords_path?: string;
|
|
3689
|
+
stem_exclusion?: string[];
|
|
3690
|
+
}
|
|
3691
|
+
export interface AnalysisCatalanAnalyzer {
|
|
3692
|
+
type: 'catalan';
|
|
3693
|
+
stopwords?: AnalysisStopWords;
|
|
3694
|
+
stopwords_path?: string;
|
|
3695
|
+
stem_exclusion?: string[];
|
|
3696
|
+
}
|
|
3632
3697
|
export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
|
|
3633
3698
|
export interface AnalysisCharFilterBase {
|
|
3634
3699
|
version?: VersionString;
|
|
@@ -3639,6 +3704,20 @@ export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
|
|
|
3639
3704
|
tokenize_on_chars: string[];
|
|
3640
3705
|
max_token_length?: integer;
|
|
3641
3706
|
}
|
|
3707
|
+
export interface AnalysisChineseAnalyzer {
|
|
3708
|
+
type: 'chinese';
|
|
3709
|
+
stopwords?: AnalysisStopWords;
|
|
3710
|
+
stopwords_path?: string;
|
|
3711
|
+
}
|
|
3712
|
+
export interface AnalysisCjkAnalyzer {
|
|
3713
|
+
type: 'cjk';
|
|
3714
|
+
stopwords?: AnalysisStopWords;
|
|
3715
|
+
stopwords_path?: string;
|
|
3716
|
+
}
|
|
3717
|
+
export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
|
|
3718
|
+
type: 'classic';
|
|
3719
|
+
max_token_length?: integer;
|
|
3720
|
+
}
|
|
3642
3721
|
export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase {
|
|
3643
3722
|
type: 'common_grams';
|
|
3644
3723
|
common_words?: string[];
|
|
@@ -3662,8 +3741,8 @@ export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3662
3741
|
}
|
|
3663
3742
|
export interface AnalysisCustomAnalyzer {
|
|
3664
3743
|
type: 'custom';
|
|
3665
|
-
char_filter?: string[];
|
|
3666
|
-
filter?: string[];
|
|
3744
|
+
char_filter?: string | string[];
|
|
3745
|
+
filter?: string | string[];
|
|
3667
3746
|
position_increment_gap?: integer;
|
|
3668
3747
|
position_offset_gap?: integer;
|
|
3669
3748
|
tokenizer: string;
|
|
@@ -3673,6 +3752,17 @@ export interface AnalysisCustomNormalizer {
|
|
|
3673
3752
|
char_filter?: string[];
|
|
3674
3753
|
filter?: string[];
|
|
3675
3754
|
}
|
|
3755
|
+
export interface AnalysisCzechAnalyzer {
|
|
3756
|
+
type: 'czech';
|
|
3757
|
+
stopwords?: AnalysisStopWords;
|
|
3758
|
+
stopwords_path?: string;
|
|
3759
|
+
stem_exclusion?: string[];
|
|
3760
|
+
}
|
|
3761
|
+
export interface AnalysisDanishAnalyzer {
|
|
3762
|
+
type: 'danish';
|
|
3763
|
+
stopwords?: AnalysisStopWords;
|
|
3764
|
+
stopwords_path?: string;
|
|
3765
|
+
}
|
|
3676
3766
|
export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
|
|
3677
3767
|
export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
|
|
3678
3768
|
type: 'delimited_payload';
|
|
@@ -3685,6 +3775,8 @@ export interface AnalysisDictionaryDecompounderTokenFilter extends AnalysisCompo
|
|
|
3685
3775
|
export interface AnalysisDutchAnalyzer {
|
|
3686
3776
|
type: 'dutch';
|
|
3687
3777
|
stopwords?: AnalysisStopWords;
|
|
3778
|
+
stopwords_path?: string;
|
|
3779
|
+
stem_exclusion?: string[];
|
|
3688
3780
|
}
|
|
3689
3781
|
export type AnalysisEdgeNGramSide = 'front' | 'back';
|
|
3690
3782
|
export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3697,9 +3789,9 @@ export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3697
3789
|
export interface AnalysisEdgeNGramTokenizer extends AnalysisTokenizerBase {
|
|
3698
3790
|
type: 'edge_ngram';
|
|
3699
3791
|
custom_token_chars?: string;
|
|
3700
|
-
max_gram
|
|
3701
|
-
min_gram
|
|
3702
|
-
token_chars
|
|
3792
|
+
max_gram?: integer;
|
|
3793
|
+
min_gram?: integer;
|
|
3794
|
+
token_chars?: AnalysisTokenChar[];
|
|
3703
3795
|
}
|
|
3704
3796
|
export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
3705
3797
|
type: 'elision';
|
|
@@ -3707,6 +3799,17 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3707
3799
|
articles_path?: string;
|
|
3708
3800
|
articles_case?: SpecUtilsStringified<boolean>;
|
|
3709
3801
|
}
|
|
3802
|
+
export interface AnalysisEnglishAnalyzer {
|
|
3803
|
+
type: 'english';
|
|
3804
|
+
stopwords?: AnalysisStopWords;
|
|
3805
|
+
stopwords_path?: string;
|
|
3806
|
+
stem_exclusion?: string[];
|
|
3807
|
+
}
|
|
3808
|
+
export interface AnalysisEstonianAnalyzer {
|
|
3809
|
+
type: 'estonian';
|
|
3810
|
+
stopwords?: AnalysisStopWords;
|
|
3811
|
+
stopwords_path?: string;
|
|
3812
|
+
}
|
|
3710
3813
|
export interface AnalysisFingerprintAnalyzer {
|
|
3711
3814
|
type: 'fingerprint';
|
|
3712
3815
|
version?: VersionString;
|
|
@@ -3721,10 +3824,51 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
|
|
|
3721
3824
|
max_output_size?: integer;
|
|
3722
3825
|
separator?: string;
|
|
3723
3826
|
}
|
|
3827
|
+
export interface AnalysisFinnishAnalyzer {
|
|
3828
|
+
type: 'finnish';
|
|
3829
|
+
stopwords?: AnalysisStopWords;
|
|
3830
|
+
stopwords_path?: string;
|
|
3831
|
+
stem_exclusion?: string[];
|
|
3832
|
+
}
|
|
3833
|
+
export interface AnalysisFrenchAnalyzer {
|
|
3834
|
+
type: 'french';
|
|
3835
|
+
stopwords?: AnalysisStopWords;
|
|
3836
|
+
stopwords_path?: string;
|
|
3837
|
+
stem_exclusion?: string[];
|
|
3838
|
+
}
|
|
3839
|
+
export interface AnalysisGalicianAnalyzer {
|
|
3840
|
+
type: 'galician';
|
|
3841
|
+
stopwords?: AnalysisStopWords;
|
|
3842
|
+
stopwords_path?: string;
|
|
3843
|
+
stem_exclusion?: string[];
|
|
3844
|
+
}
|
|
3845
|
+
export interface AnalysisGermanAnalyzer {
|
|
3846
|
+
type: 'german';
|
|
3847
|
+
stopwords?: AnalysisStopWords;
|
|
3848
|
+
stopwords_path?: string;
|
|
3849
|
+
stem_exclusion?: string[];
|
|
3850
|
+
}
|
|
3851
|
+
export interface AnalysisGreekAnalyzer {
|
|
3852
|
+
type: 'greek';
|
|
3853
|
+
stopwords?: AnalysisStopWords;
|
|
3854
|
+
stopwords_path?: string;
|
|
3855
|
+
}
|
|
3856
|
+
export interface AnalysisHindiAnalyzer {
|
|
3857
|
+
type: 'hindi';
|
|
3858
|
+
stopwords?: AnalysisStopWords;
|
|
3859
|
+
stopwords_path?: string;
|
|
3860
|
+
stem_exclusion?: string[];
|
|
3861
|
+
}
|
|
3724
3862
|
export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
|
|
3725
3863
|
type: 'html_strip';
|
|
3726
3864
|
escaped_tags?: string[];
|
|
3727
3865
|
}
|
|
3866
|
+
export interface AnalysisHungarianAnalyzer {
|
|
3867
|
+
type: 'hungarian';
|
|
3868
|
+
stopwords?: AnalysisStopWords;
|
|
3869
|
+
stopwords_path?: string;
|
|
3870
|
+
stem_exclusion?: string[];
|
|
3871
|
+
}
|
|
3728
3872
|
export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
|
|
3729
3873
|
type: 'hunspell';
|
|
3730
3874
|
dedup?: boolean;
|
|
@@ -3784,6 +3928,24 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
|
|
|
3784
3928
|
dir?: AnalysisIcuTransformDirection;
|
|
3785
3929
|
id: string;
|
|
3786
3930
|
}
|
|
3931
|
+
export interface AnalysisIndonesianAnalyzer {
|
|
3932
|
+
type: 'indonesian';
|
|
3933
|
+
stopwords?: AnalysisStopWords;
|
|
3934
|
+
stopwords_path?: string;
|
|
3935
|
+
stem_exclusion?: string[];
|
|
3936
|
+
}
|
|
3937
|
+
export interface AnalysisIrishAnalyzer {
|
|
3938
|
+
type: 'irish';
|
|
3939
|
+
stopwords?: AnalysisStopWords;
|
|
3940
|
+
stopwords_path?: string;
|
|
3941
|
+
stem_exclusion?: string[];
|
|
3942
|
+
}
|
|
3943
|
+
export interface AnalysisItalianAnalyzer {
|
|
3944
|
+
type: 'italian';
|
|
3945
|
+
stopwords?: AnalysisStopWords;
|
|
3946
|
+
stopwords_path?: string;
|
|
3947
|
+
stem_exclusion?: string[];
|
|
3948
|
+
}
|
|
3787
3949
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3788
3950
|
type: 'kstem';
|
|
3789
3951
|
}
|
|
@@ -3806,13 +3968,13 @@ export interface AnalysisKeywordAnalyzer {
|
|
|
3806
3968
|
export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBase {
|
|
3807
3969
|
type: 'keyword_marker';
|
|
3808
3970
|
ignore_case?: boolean;
|
|
3809
|
-
keywords?: string[];
|
|
3971
|
+
keywords?: string | string[];
|
|
3810
3972
|
keywords_path?: string;
|
|
3811
3973
|
keywords_pattern?: string;
|
|
3812
3974
|
}
|
|
3813
3975
|
export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
|
|
3814
3976
|
type: 'keyword';
|
|
3815
|
-
buffer_size
|
|
3977
|
+
buffer_size?: integer;
|
|
3816
3978
|
}
|
|
3817
3979
|
export interface AnalysisKuromojiAnalyzer {
|
|
3818
3980
|
type: 'kuromoji';
|
|
@@ -3856,6 +4018,12 @@ export interface AnalysisLanguageAnalyzer {
|
|
|
3856
4018
|
stopwords?: AnalysisStopWords;
|
|
3857
4019
|
stopwords_path?: string;
|
|
3858
4020
|
}
|
|
4021
|
+
export interface AnalysisLatvianAnalyzer {
|
|
4022
|
+
type: 'latvian';
|
|
4023
|
+
stopwords?: AnalysisStopWords;
|
|
4024
|
+
stopwords_path?: string;
|
|
4025
|
+
stem_exclusion?: string[];
|
|
4026
|
+
}
|
|
3859
4027
|
export interface AnalysisLengthTokenFilter extends AnalysisTokenFilterBase {
|
|
3860
4028
|
type: 'length';
|
|
3861
4029
|
max?: integer;
|
|
@@ -3869,6 +4037,12 @@ export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterB
|
|
|
3869
4037
|
consume_all_tokens?: boolean;
|
|
3870
4038
|
max_token_count?: SpecUtilsStringified<integer>;
|
|
3871
4039
|
}
|
|
4040
|
+
export interface AnalysisLithuanianAnalyzer {
|
|
4041
|
+
type: 'lithuanian';
|
|
4042
|
+
stopwords?: AnalysisStopWords;
|
|
4043
|
+
stopwords_path?: string;
|
|
4044
|
+
stem_exclusion?: string[];
|
|
4045
|
+
}
|
|
3872
4046
|
export interface AnalysisLowercaseNormalizer {
|
|
3873
4047
|
type: 'lowercase';
|
|
3874
4048
|
}
|
|
@@ -3922,6 +4096,12 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3922
4096
|
user_dictionary_rules?: string[];
|
|
3923
4097
|
}
|
|
3924
4098
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
4099
|
+
export interface AnalysisNorwegianAnalyzer {
|
|
4100
|
+
type: 'norwegian';
|
|
4101
|
+
stopwords?: AnalysisStopWords;
|
|
4102
|
+
stopwords_path?: string;
|
|
4103
|
+
stem_exclusion?: string[];
|
|
4104
|
+
}
|
|
3925
4105
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3926
4106
|
type: 'path_hierarchy';
|
|
3927
4107
|
buffer_size?: SpecUtilsStringified<integer>;
|
|
@@ -3962,6 +4142,11 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
|
3962
4142
|
group?: integer;
|
|
3963
4143
|
pattern?: string;
|
|
3964
4144
|
}
|
|
4145
|
+
export interface AnalysisPersianAnalyzer {
|
|
4146
|
+
type: 'persian';
|
|
4147
|
+
stopwords?: AnalysisStopWords;
|
|
4148
|
+
stopwords_path?: string;
|
|
4149
|
+
}
|
|
3965
4150
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
3966
4151
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
3967
4152
|
export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
|
|
@@ -3978,6 +4163,12 @@ export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3978
4163
|
export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3979
4164
|
type: 'porter_stem';
|
|
3980
4165
|
}
|
|
4166
|
+
export interface AnalysisPortugueseAnalyzer {
|
|
4167
|
+
type: 'portuguese';
|
|
4168
|
+
stopwords?: AnalysisStopWords;
|
|
4169
|
+
stopwords_path?: string;
|
|
4170
|
+
stem_exclusion?: string[];
|
|
4171
|
+
}
|
|
3981
4172
|
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
|
3982
4173
|
type: 'predicate_token_filter';
|
|
3983
4174
|
script: Script | string;
|
|
@@ -3988,6 +4179,24 @@ export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilter
|
|
|
3988
4179
|
export interface AnalysisReverseTokenFilter extends AnalysisTokenFilterBase {
|
|
3989
4180
|
type: 'reverse';
|
|
3990
4181
|
}
|
|
4182
|
+
export interface AnalysisRomanianAnalyzer {
|
|
4183
|
+
type: 'romanian';
|
|
4184
|
+
stopwords?: AnalysisStopWords;
|
|
4185
|
+
stopwords_path?: string;
|
|
4186
|
+
stem_exclusion?: string[];
|
|
4187
|
+
}
|
|
4188
|
+
export interface AnalysisRussianAnalyzer {
|
|
4189
|
+
type: 'russian';
|
|
4190
|
+
stopwords?: AnalysisStopWords;
|
|
4191
|
+
stopwords_path?: string;
|
|
4192
|
+
stem_exclusion?: string[];
|
|
4193
|
+
}
|
|
4194
|
+
export interface AnalysisSerbianAnalyzer {
|
|
4195
|
+
type: 'serbian';
|
|
4196
|
+
stopwords?: AnalysisStopWords;
|
|
4197
|
+
stopwords_path?: string;
|
|
4198
|
+
stem_exclusion?: string[];
|
|
4199
|
+
}
|
|
3991
4200
|
export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
|
|
3992
4201
|
type: 'shingle';
|
|
3993
4202
|
filler_token?: string;
|
|
@@ -4001,6 +4210,14 @@ export interface AnalysisSimpleAnalyzer {
|
|
|
4001
4210
|
type: 'simple';
|
|
4002
4211
|
version?: VersionString;
|
|
4003
4212
|
}
|
|
4213
|
+
export interface AnalysisSimplePatternSplitTokenizer extends AnalysisTokenizerBase {
|
|
4214
|
+
type: 'simple_pattern_split';
|
|
4215
|
+
pattern?: string;
|
|
4216
|
+
}
|
|
4217
|
+
export interface AnalysisSimplePatternTokenizer extends AnalysisTokenizerBase {
|
|
4218
|
+
type: 'simple_pattern';
|
|
4219
|
+
pattern?: string;
|
|
4220
|
+
}
|
|
4004
4221
|
export interface AnalysisSnowballAnalyzer {
|
|
4005
4222
|
type: 'snowball';
|
|
4006
4223
|
version?: VersionString;
|
|
@@ -4012,6 +4229,18 @@ export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4012
4229
|
type: 'snowball';
|
|
4013
4230
|
language?: AnalysisSnowballLanguage;
|
|
4014
4231
|
}
|
|
4232
|
+
export interface AnalysisSoraniAnalyzer {
|
|
4233
|
+
type: 'sorani';
|
|
4234
|
+
stopwords?: AnalysisStopWords;
|
|
4235
|
+
stopwords_path?: string;
|
|
4236
|
+
stem_exclusion?: string[];
|
|
4237
|
+
}
|
|
4238
|
+
export interface AnalysisSpanishAnalyzer {
|
|
4239
|
+
type: 'spanish';
|
|
4240
|
+
stopwords?: AnalysisStopWords;
|
|
4241
|
+
stopwords_path?: string;
|
|
4242
|
+
stem_exclusion?: string[];
|
|
4243
|
+
}
|
|
4015
4244
|
export interface AnalysisStandardAnalyzer {
|
|
4016
4245
|
type: 'standard';
|
|
4017
4246
|
max_token_length?: integer;
|
|
@@ -4045,6 +4274,12 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4045
4274
|
stopwords_path?: string;
|
|
4046
4275
|
}
|
|
4047
4276
|
export type AnalysisStopWords = string | string[];
|
|
4277
|
+
export interface AnalysisSwedishAnalyzer {
|
|
4278
|
+
type: 'swedish';
|
|
4279
|
+
stopwords?: AnalysisStopWords;
|
|
4280
|
+
stopwords_path?: string;
|
|
4281
|
+
stem_exclusion?: string[];
|
|
4282
|
+
}
|
|
4048
4283
|
export type AnalysisSynonymFormat = 'solr' | 'wordnet';
|
|
4049
4284
|
export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
|
|
4050
4285
|
type: 'synonym_graph';
|
|
@@ -4068,6 +4303,14 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4068
4303
|
tokenizer?: string;
|
|
4069
4304
|
updateable?: boolean;
|
|
4070
4305
|
}
|
|
4306
|
+
export interface AnalysisThaiAnalyzer {
|
|
4307
|
+
type: 'thai';
|
|
4308
|
+
stopwords?: AnalysisStopWords;
|
|
4309
|
+
stopwords_path?: string;
|
|
4310
|
+
}
|
|
4311
|
+
export interface AnalysisThaiTokenizer extends AnalysisTokenizerBase {
|
|
4312
|
+
type: 'thai';
|
|
4313
|
+
}
|
|
4071
4314
|
export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
|
|
4072
4315
|
export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
4073
4316
|
export interface AnalysisTokenFilterBase {
|
|
@@ -4078,7 +4321,7 @@ export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
|
4078
4321
|
export interface AnalysisTokenizerBase {
|
|
4079
4322
|
version?: VersionString;
|
|
4080
4323
|
}
|
|
4081
|
-
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer |
|
|
4324
|
+
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisClassicTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisPathHierarchyTokenizer | AnalysisPatternTokenizer | AnalysisSimplePatternTokenizer | AnalysisSimplePatternSplitTokenizer | AnalysisStandardTokenizer | AnalysisThaiTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisIcuTokenizer | AnalysisKuromojiTokenizer | AnalysisNoriTokenizer;
|
|
4082
4325
|
export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
|
|
4083
4326
|
type: 'trim';
|
|
4084
4327
|
}
|
|
@@ -4086,6 +4329,12 @@ export interface AnalysisTruncateTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4086
4329
|
type: 'truncate';
|
|
4087
4330
|
length?: integer;
|
|
4088
4331
|
}
|
|
4332
|
+
export interface AnalysisTurkishAnalyzer {
|
|
4333
|
+
type: 'turkish';
|
|
4334
|
+
stopwords?: AnalysisStopWords;
|
|
4335
|
+
stopwords_path?: string;
|
|
4336
|
+
stem_exclusion?: string[];
|
|
4337
|
+
}
|
|
4089
4338
|
export interface AnalysisUaxEmailUrlTokenizer extends AnalysisTokenizerBase {
|
|
4090
4339
|
type: 'uax_url_email';
|
|
4091
4340
|
max_token_length?: integer;
|
|
@@ -4180,13 +4429,15 @@ export interface MappingCompletionProperty extends MappingDocValuesPropertyBase
|
|
|
4180
4429
|
search_analyzer?: string;
|
|
4181
4430
|
type: 'completion';
|
|
4182
4431
|
}
|
|
4432
|
+
export interface MappingCompositeSubField {
|
|
4433
|
+
type: MappingRuntimeFieldType;
|
|
4434
|
+
}
|
|
4183
4435
|
export interface MappingConstantKeywordProperty extends MappingPropertyBase {
|
|
4184
4436
|
value?: any;
|
|
4185
4437
|
type: 'constant_keyword';
|
|
4186
4438
|
}
|
|
4187
4439
|
export interface MappingCorePropertyBase extends MappingPropertyBase {
|
|
4188
4440
|
copy_to?: Fields;
|
|
4189
|
-
similarity?: string;
|
|
4190
4441
|
store?: boolean;
|
|
4191
4442
|
}
|
|
4192
4443
|
export interface MappingDataStreamTimestamp {
|
|
@@ -4256,7 +4507,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4256
4507
|
index?: boolean;
|
|
4257
4508
|
index_options?: MappingIndexOptions;
|
|
4258
4509
|
index_phrases?: boolean;
|
|
4259
|
-
index_prefixes?: MappingTextIndexPrefixes;
|
|
4510
|
+
index_prefixes?: MappingTextIndexPrefixes | null;
|
|
4260
4511
|
norms?: boolean;
|
|
4261
4512
|
position_increment_gap?: integer;
|
|
4262
4513
|
search_analyzer?: string;
|
|
@@ -4393,6 +4644,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4393
4644
|
normalizer?: string;
|
|
4394
4645
|
norms?: boolean;
|
|
4395
4646
|
null_value?: string;
|
|
4647
|
+
similarity?: string | null;
|
|
4396
4648
|
split_queries_on_whitespace?: boolean;
|
|
4397
4649
|
time_series_dimension?: boolean;
|
|
4398
4650
|
type: 'keyword';
|
|
@@ -4470,6 +4722,7 @@ export interface MappingRoutingField {
|
|
|
4470
4722
|
required: boolean;
|
|
4471
4723
|
}
|
|
4472
4724
|
export interface MappingRuntimeField {
|
|
4725
|
+
fields?: Record<string, MappingCompositeSubField>;
|
|
4473
4726
|
fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
|
|
4474
4727
|
format?: string;
|
|
4475
4728
|
input_field?: Field;
|
|
@@ -4497,6 +4750,7 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4497
4750
|
norms?: boolean;
|
|
4498
4751
|
search_analyzer?: string;
|
|
4499
4752
|
search_quote_analyzer?: string;
|
|
4753
|
+
similarity?: string | null;
|
|
4500
4754
|
term_vector?: MappingTermVectorOption;
|
|
4501
4755
|
type: 'search_as_you_type';
|
|
4502
4756
|
}
|
|
@@ -4551,11 +4805,12 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
|
|
|
4551
4805
|
index?: boolean;
|
|
4552
4806
|
index_options?: MappingIndexOptions;
|
|
4553
4807
|
index_phrases?: boolean;
|
|
4554
|
-
index_prefixes?: MappingTextIndexPrefixes;
|
|
4808
|
+
index_prefixes?: MappingTextIndexPrefixes | null;
|
|
4555
4809
|
norms?: boolean;
|
|
4556
4810
|
position_increment_gap?: integer;
|
|
4557
4811
|
search_analyzer?: string;
|
|
4558
4812
|
search_quote_analyzer?: string;
|
|
4813
|
+
similarity?: string | null;
|
|
4559
4814
|
term_vector?: MappingTermVectorOption;
|
|
4560
4815
|
type: 'text';
|
|
4561
4816
|
}
|
|
@@ -4993,7 +5248,7 @@ export interface QueryDslQueryContainer {
|
|
|
4993
5248
|
dis_max?: QueryDslDisMaxQuery;
|
|
4994
5249
|
distance_feature?: QueryDslDistanceFeatureQuery;
|
|
4995
5250
|
exists?: QueryDslExistsQuery;
|
|
4996
|
-
function_score?: QueryDslFunctionScoreQuery;
|
|
5251
|
+
function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer[];
|
|
4997
5252
|
fuzzy?: Partial<Record<Field, QueryDslFuzzyQuery | string | double | boolean>>;
|
|
4998
5253
|
geo_bounding_box?: QueryDslGeoBoundingBoxQuery;
|
|
4999
5254
|
geo_distance?: QueryDslGeoDistanceQuery;
|
|
@@ -5486,39 +5741,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5486
5741
|
}
|
|
5487
5742
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5488
5743
|
export interface CatAllocationAllocationRecord {
|
|
5489
|
-
shards
|
|
5490
|
-
s
|
|
5491
|
-
'shards.undesired'
|
|
5492
|
-
'write_load.forecast'
|
|
5493
|
-
wlf
|
|
5494
|
-
writeLoadForecast
|
|
5495
|
-
'disk.indices.forecast'
|
|
5496
|
-
dif
|
|
5497
|
-
diskIndicesForecast
|
|
5498
|
-
'disk.indices'
|
|
5499
|
-
di
|
|
5500
|
-
diskIndices
|
|
5501
|
-
'disk.used'
|
|
5502
|
-
du
|
|
5503
|
-
diskUsed
|
|
5504
|
-
'disk.avail'
|
|
5505
|
-
da
|
|
5506
|
-
diskAvail
|
|
5507
|
-
'disk.total'
|
|
5508
|
-
dt
|
|
5509
|
-
diskTotal
|
|
5510
|
-
'disk.percent'
|
|
5511
|
-
dp
|
|
5512
|
-
diskPercent
|
|
5513
|
-
host
|
|
5514
|
-
h
|
|
5515
|
-
ip
|
|
5516
|
-
node
|
|
5517
|
-
n
|
|
5518
|
-
'node.role'
|
|
5519
|
-
r
|
|
5520
|
-
role
|
|
5521
|
-
nodeRole
|
|
5744
|
+
shards?: string;
|
|
5745
|
+
s?: string;
|
|
5746
|
+
'shards.undesired'?: string | null;
|
|
5747
|
+
'write_load.forecast'?: SpecUtilsStringified<double> | null;
|
|
5748
|
+
wlf?: SpecUtilsStringified<double> | null;
|
|
5749
|
+
writeLoadForecast?: SpecUtilsStringified<double> | null;
|
|
5750
|
+
'disk.indices.forecast'?: ByteSize | null;
|
|
5751
|
+
dif?: ByteSize | null;
|
|
5752
|
+
diskIndicesForecast?: ByteSize | null;
|
|
5753
|
+
'disk.indices'?: ByteSize | null;
|
|
5754
|
+
di?: ByteSize | null;
|
|
5755
|
+
diskIndices?: ByteSize | null;
|
|
5756
|
+
'disk.used'?: ByteSize | null;
|
|
5757
|
+
du?: ByteSize | null;
|
|
5758
|
+
diskUsed?: ByteSize | null;
|
|
5759
|
+
'disk.avail'?: ByteSize | null;
|
|
5760
|
+
da?: ByteSize | null;
|
|
5761
|
+
diskAvail?: ByteSize | null;
|
|
5762
|
+
'disk.total'?: ByteSize | null;
|
|
5763
|
+
dt?: ByteSize | null;
|
|
5764
|
+
diskTotal?: ByteSize | null;
|
|
5765
|
+
'disk.percent'?: Percentage | null;
|
|
5766
|
+
dp?: Percentage | null;
|
|
5767
|
+
diskPercent?: Percentage | null;
|
|
5768
|
+
host?: Host | null;
|
|
5769
|
+
h?: Host | null;
|
|
5770
|
+
ip?: Ip | null;
|
|
5771
|
+
node?: string;
|
|
5772
|
+
n?: string;
|
|
5773
|
+
'node.role'?: string | null;
|
|
5774
|
+
r?: string | null;
|
|
5775
|
+
role?: string | null;
|
|
5776
|
+
nodeRole?: string | null;
|
|
5522
5777
|
}
|
|
5523
5778
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5524
5779
|
node_id?: NodeIds;
|
|
@@ -5605,6 +5860,10 @@ export interface CatHealthHealthRecord {
|
|
|
5605
5860
|
i?: string;
|
|
5606
5861
|
'shards.initializing'?: string;
|
|
5607
5862
|
shardsInitializing?: string;
|
|
5863
|
+
'unassign.pri'?: string;
|
|
5864
|
+
up?: string;
|
|
5865
|
+
'shards.unassigned.primary'?: string;
|
|
5866
|
+
shardsUnassignedPrimary?: string;
|
|
5608
5867
|
unassign?: string;
|
|
5609
5868
|
u?: string;
|
|
5610
5869
|
'shards.unassigned'?: string;
|
|
@@ -7402,6 +7661,7 @@ export interface ClusterAllocationExplainClusterInfo {
|
|
|
7402
7661
|
export interface ClusterAllocationExplainCurrentNode {
|
|
7403
7662
|
id: Id;
|
|
7404
7663
|
name: Name;
|
|
7664
|
+
roles: NodeRoles;
|
|
7405
7665
|
attributes: Record<string, string>;
|
|
7406
7666
|
transport_address: TransportAddress;
|
|
7407
7667
|
weight_ranking: integer;
|
|
@@ -7421,6 +7681,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
|
|
|
7421
7681
|
node_decision: ClusterAllocationExplainDecision;
|
|
7422
7682
|
node_id: Id;
|
|
7423
7683
|
node_name: Name;
|
|
7684
|
+
roles: NodeRoles;
|
|
7424
7685
|
store?: ClusterAllocationExplainAllocationStore;
|
|
7425
7686
|
transport_address: TransportAddress;
|
|
7426
7687
|
weight_ranking: integer;
|
|
@@ -7535,6 +7796,7 @@ export interface ClusterHealthHealthResponseBody {
|
|
|
7535
7796
|
task_max_waiting_in_queue?: Duration;
|
|
7536
7797
|
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7537
7798
|
timed_out: boolean;
|
|
7799
|
+
unassigned_primary_shards: integer;
|
|
7538
7800
|
unassigned_shards: integer;
|
|
7539
7801
|
}
|
|
7540
7802
|
export interface ClusterHealthIndexHealthStats {
|
|
@@ -7547,6 +7809,7 @@ export interface ClusterHealthIndexHealthStats {
|
|
|
7547
7809
|
shards?: Record<string, ClusterHealthShardHealthStats>;
|
|
7548
7810
|
status: HealthStatus;
|
|
7549
7811
|
unassigned_shards: integer;
|
|
7812
|
+
unassigned_primary_shards: integer;
|
|
7550
7813
|
}
|
|
7551
7814
|
export interface ClusterHealthRequest extends RequestBase {
|
|
7552
7815
|
index?: Indices;
|
|
@@ -7570,6 +7833,7 @@ export interface ClusterHealthShardHealthStats {
|
|
|
7570
7833
|
relocating_shards: integer;
|
|
7571
7834
|
status: HealthStatus;
|
|
7572
7835
|
unassigned_shards: integer;
|
|
7836
|
+
unassigned_primary_shards: integer;
|
|
7573
7837
|
}
|
|
7574
7838
|
export interface ClusterInfoRequest extends RequestBase {
|
|
7575
7839
|
target: ClusterInfoTargets;
|
|
@@ -7918,7 +8182,7 @@ export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
|
7918
8182
|
}
|
|
7919
8183
|
export interface ClusterStatsRequest extends RequestBase {
|
|
7920
8184
|
node_id?: NodeIds;
|
|
7921
|
-
|
|
8185
|
+
include_remotes?: boolean;
|
|
7922
8186
|
timeout?: Duration;
|
|
7923
8187
|
}
|
|
7924
8188
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
@@ -8412,6 +8676,7 @@ export interface EnrichStatsCacheStats {
|
|
|
8412
8676
|
misses: integer;
|
|
8413
8677
|
misses_time_in_millis: DurationValue<UnitMillis>;
|
|
8414
8678
|
evictions: integer;
|
|
8679
|
+
size_in_bytes: long;
|
|
8415
8680
|
}
|
|
8416
8681
|
export interface EnrichStatsCoordinatorStats {
|
|
8417
8682
|
executed_searches_total: long;
|
|
@@ -8498,15 +8763,28 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8498
8763
|
}
|
|
8499
8764
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8500
8765
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
8766
|
+
export interface EsqlTableValuesContainer {
|
|
8767
|
+
integer?: EsqlTableValuesIntegerValue[];
|
|
8768
|
+
keyword?: EsqlTableValuesKeywordValue[];
|
|
8769
|
+
long?: EsqlTableValuesLongValue[];
|
|
8770
|
+
double?: EsqlTableValuesLongDouble[];
|
|
8771
|
+
}
|
|
8772
|
+
export type EsqlTableValuesIntegerValue = integer | integer[];
|
|
8773
|
+
export type EsqlTableValuesKeywordValue = string | string[];
|
|
8774
|
+
export type EsqlTableValuesLongDouble = double | double[];
|
|
8775
|
+
export type EsqlTableValuesLongValue = long | long[];
|
|
8501
8776
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8502
8777
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8503
8778
|
format?: EsqlQueryEsqlFormat;
|
|
8504
8779
|
delimiter?: string;
|
|
8780
|
+
drop_null_columns?: boolean;
|
|
8505
8781
|
columnar?: boolean;
|
|
8506
8782
|
filter?: QueryDslQueryContainer;
|
|
8507
8783
|
locale?: string;
|
|
8508
|
-
params?:
|
|
8784
|
+
params?: FieldValue[];
|
|
8785
|
+
profile?: boolean;
|
|
8509
8786
|
query: string;
|
|
8787
|
+
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8510
8788
|
}
|
|
8511
8789
|
export type EsqlQueryResponse = EsqlColumns;
|
|
8512
8790
|
export interface FeaturesFeature {
|
|
@@ -8912,6 +9190,7 @@ export interface IndicesCacheQueries {
|
|
|
8912
9190
|
export interface IndicesDataStream {
|
|
8913
9191
|
_meta?: Metadata;
|
|
8914
9192
|
allow_custom_routing?: boolean;
|
|
9193
|
+
failure_store?: IndicesFailureStore;
|
|
8915
9194
|
generation: integer;
|
|
8916
9195
|
hidden: boolean;
|
|
8917
9196
|
ilm_policy?: Name;
|
|
@@ -8921,6 +9200,7 @@ export interface IndicesDataStream {
|
|
|
8921
9200
|
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8922
9201
|
name: DataStreamName;
|
|
8923
9202
|
replicated?: boolean;
|
|
9203
|
+
rollover_on_write: boolean;
|
|
8924
9204
|
status: HealthStatus;
|
|
8925
9205
|
system?: boolean;
|
|
8926
9206
|
template: Name;
|
|
@@ -8930,8 +9210,8 @@ export interface IndicesDataStreamIndex {
|
|
|
8930
9210
|
index_name: IndexName;
|
|
8931
9211
|
index_uuid: Uuid;
|
|
8932
9212
|
ilm_policy?: Name;
|
|
8933
|
-
managed_by
|
|
8934
|
-
prefer_ilm
|
|
9213
|
+
managed_by?: IndicesManagedBy;
|
|
9214
|
+
prefer_ilm?: boolean;
|
|
8935
9215
|
}
|
|
8936
9216
|
export interface IndicesDataStreamLifecycle {
|
|
8937
9217
|
data_retention?: Duration;
|
|
@@ -8971,6 +9251,11 @@ export interface IndicesDownsamplingRound {
|
|
|
8971
9251
|
after: Duration;
|
|
8972
9252
|
config: IndicesDownsampleConfig;
|
|
8973
9253
|
}
|
|
9254
|
+
export interface IndicesFailureStore {
|
|
9255
|
+
enabled: boolean;
|
|
9256
|
+
indices: IndicesDataStreamIndex[];
|
|
9257
|
+
rollover_on_write: boolean;
|
|
9258
|
+
}
|
|
8974
9259
|
export interface IndicesFielddataFrequencyFilter {
|
|
8975
9260
|
max: double;
|
|
8976
9261
|
min: double;
|
|
@@ -9433,6 +9718,8 @@ export interface IndicesCreateResponse {
|
|
|
9433
9718
|
}
|
|
9434
9719
|
export interface IndicesCreateDataStreamRequest extends RequestBase {
|
|
9435
9720
|
name: DataStreamName;
|
|
9721
|
+
master_timeout?: Duration;
|
|
9722
|
+
timeout?: Duration;
|
|
9436
9723
|
}
|
|
9437
9724
|
export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
9438
9725
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
@@ -9479,6 +9766,7 @@ export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
|
|
|
9479
9766
|
export type IndicesDeleteDataLifecycleResponse = AcknowledgedResponseBase;
|
|
9480
9767
|
export interface IndicesDeleteDataStreamRequest extends RequestBase {
|
|
9481
9768
|
name: DataStreamNames;
|
|
9769
|
+
master_timeout?: Duration;
|
|
9482
9770
|
expand_wildcards?: ExpandWildcards;
|
|
9483
9771
|
}
|
|
9484
9772
|
export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
|
|
@@ -9665,6 +9953,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
9665
9953
|
name: DataStreamNames;
|
|
9666
9954
|
expand_wildcards?: ExpandWildcards;
|
|
9667
9955
|
include_defaults?: boolean;
|
|
9956
|
+
master_timeout?: Duration;
|
|
9668
9957
|
}
|
|
9669
9958
|
export interface IndicesGetDataLifecycleResponse {
|
|
9670
9959
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
@@ -9673,6 +9962,8 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
|
9673
9962
|
name?: DataStreamNames;
|
|
9674
9963
|
expand_wildcards?: ExpandWildcards;
|
|
9675
9964
|
include_defaults?: boolean;
|
|
9965
|
+
master_timeout?: Duration;
|
|
9966
|
+
verbose?: boolean;
|
|
9676
9967
|
}
|
|
9677
9968
|
export interface IndicesGetDataStreamResponse {
|
|
9678
9969
|
data_streams: IndicesDataStream[];
|
|
@@ -9738,6 +10029,8 @@ export interface IndicesGetTemplateRequest extends RequestBase {
|
|
|
9738
10029
|
export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
|
|
9739
10030
|
export interface IndicesMigrateToDataStreamRequest extends RequestBase {
|
|
9740
10031
|
name: IndexName;
|
|
10032
|
+
master_timeout?: Duration;
|
|
10033
|
+
timeout?: Duration;
|
|
9741
10034
|
}
|
|
9742
10035
|
export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
|
|
9743
10036
|
export interface IndicesModifyDataStreamAction {
|
|
@@ -9767,6 +10060,7 @@ export interface IndicesOpenResponse {
|
|
|
9767
10060
|
}
|
|
9768
10061
|
export interface IndicesPromoteDataStreamRequest extends RequestBase {
|
|
9769
10062
|
name: IndexName;
|
|
10063
|
+
master_timeout?: Duration;
|
|
9770
10064
|
}
|
|
9771
10065
|
export type IndicesPromoteDataStreamResponse = any;
|
|
9772
10066
|
export interface IndicesPutAliasRequest extends RequestBase {
|
|
@@ -10419,7 +10713,7 @@ export type InferenceDenseVector = float[];
|
|
|
10419
10713
|
export interface InferenceInferenceEndpoint {
|
|
10420
10714
|
service: string;
|
|
10421
10715
|
service_settings: InferenceServiceSettings;
|
|
10422
|
-
task_settings
|
|
10716
|
+
task_settings?: InferenceTaskSettings;
|
|
10423
10717
|
}
|
|
10424
10718
|
export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
|
|
10425
10719
|
inference_id: string;
|
|
@@ -10481,7 +10775,7 @@ export interface InferencePutRequest extends RequestBase {
|
|
|
10481
10775
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10482
10776
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10483
10777
|
field: Field;
|
|
10484
|
-
value: any[];
|
|
10778
|
+
value: any | any[];
|
|
10485
10779
|
allow_duplicates?: boolean;
|
|
10486
10780
|
}
|
|
10487
10781
|
export interface IngestAttachmentProcessor extends IngestProcessorBase {
|
|
@@ -10506,13 +10800,26 @@ export interface IngestCircleProcessor extends IngestProcessorBase {
|
|
|
10506
10800
|
shape_type: IngestShapeType;
|
|
10507
10801
|
target_field?: Field;
|
|
10508
10802
|
}
|
|
10803
|
+
export interface IngestCommunityIDProcessor extends IngestProcessorBase {
|
|
10804
|
+
source_ip?: Field;
|
|
10805
|
+
source_port?: Field;
|
|
10806
|
+
destination_ip?: Field;
|
|
10807
|
+
destination_port?: Field;
|
|
10808
|
+
iana_number?: Field;
|
|
10809
|
+
icmp_type?: Field;
|
|
10810
|
+
icmp_code?: Field;
|
|
10811
|
+
transport?: Field;
|
|
10812
|
+
target_field?: Field;
|
|
10813
|
+
seed?: integer;
|
|
10814
|
+
ignore_missing?: boolean;
|
|
10815
|
+
}
|
|
10509
10816
|
export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
10510
10817
|
field: Field;
|
|
10511
10818
|
ignore_missing?: boolean;
|
|
10512
10819
|
target_field?: Field;
|
|
10513
10820
|
type: IngestConvertType;
|
|
10514
10821
|
}
|
|
10515
|
-
export type IngestConvertType = 'integer' | 'long' | 'float' | '
|
|
10822
|
+
export type IngestConvertType = 'integer' | 'long' | 'double' | 'float' | 'boolean' | 'ip' | 'string' | 'auto';
|
|
10516
10823
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
10517
10824
|
empty_value?: any;
|
|
10518
10825
|
field: Field;
|
|
@@ -10541,6 +10848,7 @@ export interface IngestDateProcessor extends IngestProcessorBase {
|
|
|
10541
10848
|
locale?: string;
|
|
10542
10849
|
target_field?: Field;
|
|
10543
10850
|
timezone?: string;
|
|
10851
|
+
output_format?: string;
|
|
10544
10852
|
}
|
|
10545
10853
|
export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
10546
10854
|
append_separator?: string;
|
|
@@ -10550,6 +10858,7 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
|
10550
10858
|
}
|
|
10551
10859
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
10552
10860
|
field: Field;
|
|
10861
|
+
override?: boolean;
|
|
10553
10862
|
path?: string;
|
|
10554
10863
|
}
|
|
10555
10864
|
export interface IngestDropProcessor extends IngestProcessorBase {
|
|
@@ -10566,6 +10875,14 @@ export interface IngestEnrichProcessor extends IngestProcessorBase {
|
|
|
10566
10875
|
export interface IngestFailProcessor extends IngestProcessorBase {
|
|
10567
10876
|
message: string;
|
|
10568
10877
|
}
|
|
10878
|
+
export type IngestFingerprintDigest = 'MD5' | 'SHA-1' | 'SHA-256' | 'SHA-512' | 'MurmurHash3';
|
|
10879
|
+
export interface IngestFingerprintProcessor extends IngestProcessorBase {
|
|
10880
|
+
fields: Fields;
|
|
10881
|
+
target_field?: Field;
|
|
10882
|
+
salt?: string;
|
|
10883
|
+
method?: IngestFingerprintDigest;
|
|
10884
|
+
ignore_missing?: boolean;
|
|
10885
|
+
}
|
|
10569
10886
|
export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
10570
10887
|
field: Field;
|
|
10571
10888
|
ignore_missing?: boolean;
|
|
@@ -10591,8 +10908,10 @@ export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
|
10591
10908
|
ignore_missing?: boolean;
|
|
10592
10909
|
properties?: string[];
|
|
10593
10910
|
target_field?: Field;
|
|
10911
|
+
download_database_on_pipeline_creation?: boolean;
|
|
10594
10912
|
}
|
|
10595
10913
|
export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
10914
|
+
ecs_compatibility?: string;
|
|
10596
10915
|
field: Field;
|
|
10597
10916
|
ignore_missing?: boolean;
|
|
10598
10917
|
pattern_definitions?: Record<string, string>;
|
|
@@ -10632,6 +10951,15 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
10632
10951
|
field_map?: Record<Field, any>;
|
|
10633
10952
|
inference_config?: IngestInferenceConfig;
|
|
10634
10953
|
}
|
|
10954
|
+
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
10955
|
+
database_file?: string;
|
|
10956
|
+
field: Field;
|
|
10957
|
+
first_only?: boolean;
|
|
10958
|
+
ignore_missing?: boolean;
|
|
10959
|
+
properties?: string[];
|
|
10960
|
+
target_field?: Field;
|
|
10961
|
+
download_database_on_pipeline_creation?: boolean;
|
|
10962
|
+
}
|
|
10635
10963
|
export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
10636
10964
|
field: Field;
|
|
10637
10965
|
separator: string;
|
|
@@ -10666,11 +10994,20 @@ export interface IngestLowercaseProcessor extends IngestProcessorBase {
|
|
|
10666
10994
|
export interface IngestMaxmind {
|
|
10667
10995
|
account_id: Id;
|
|
10668
10996
|
}
|
|
10997
|
+
export interface IngestNetworkDirectionProcessor extends IngestProcessorBase {
|
|
10998
|
+
source_ip?: Field;
|
|
10999
|
+
destination_ip?: Field;
|
|
11000
|
+
target_field?: Field;
|
|
11001
|
+
internal_networks?: string[];
|
|
11002
|
+
internal_networks_field?: Field;
|
|
11003
|
+
ignore_missing?: boolean;
|
|
11004
|
+
}
|
|
10669
11005
|
export interface IngestPipeline {
|
|
10670
11006
|
description?: string;
|
|
10671
11007
|
on_failure?: IngestProcessorContainer[];
|
|
10672
11008
|
processors?: IngestProcessorContainer[];
|
|
10673
11009
|
version?: VersionNumber;
|
|
11010
|
+
deprecated?: boolean;
|
|
10674
11011
|
_meta?: Metadata;
|
|
10675
11012
|
}
|
|
10676
11013
|
export interface IngestPipelineConfig {
|
|
@@ -10694,6 +11031,7 @@ export interface IngestProcessorContainer {
|
|
|
10694
11031
|
attachment?: IngestAttachmentProcessor;
|
|
10695
11032
|
bytes?: IngestBytesProcessor;
|
|
10696
11033
|
circle?: IngestCircleProcessor;
|
|
11034
|
+
community_id?: IngestCommunityIDProcessor;
|
|
10697
11035
|
convert?: IngestConvertProcessor;
|
|
10698
11036
|
csv?: IngestCsvProcessor;
|
|
10699
11037
|
date?: IngestDateProcessor;
|
|
@@ -10703,7 +11041,9 @@ export interface IngestProcessorContainer {
|
|
|
10703
11041
|
drop?: IngestDropProcessor;
|
|
10704
11042
|
enrich?: IngestEnrichProcessor;
|
|
10705
11043
|
fail?: IngestFailProcessor;
|
|
11044
|
+
fingerprint?: IngestFingerprintProcessor;
|
|
10706
11045
|
foreach?: IngestForeachProcessor;
|
|
11046
|
+
ip_location?: IngestIpLocationProcessor;
|
|
10707
11047
|
geo_grid?: IngestGeoGridProcessor;
|
|
10708
11048
|
geoip?: IngestGeoIpProcessor;
|
|
10709
11049
|
grok?: IngestGrokProcessor;
|
|
@@ -10714,8 +11054,10 @@ export interface IngestProcessorContainer {
|
|
|
10714
11054
|
json?: IngestJsonProcessor;
|
|
10715
11055
|
kv?: IngestKeyValueProcessor;
|
|
10716
11056
|
lowercase?: IngestLowercaseProcessor;
|
|
11057
|
+
network_direction?: IngestNetworkDirectionProcessor;
|
|
10717
11058
|
pipeline?: IngestPipelineProcessor;
|
|
10718
11059
|
redact?: IngestRedactProcessor;
|
|
11060
|
+
registered_domain?: IngestRegisteredDomainProcessor;
|
|
10719
11061
|
remove?: IngestRemoveProcessor;
|
|
10720
11062
|
rename?: IngestRenameProcessor;
|
|
10721
11063
|
reroute?: IngestRerouteProcessor;
|
|
@@ -10724,6 +11066,7 @@ export interface IngestProcessorContainer {
|
|
|
10724
11066
|
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10725
11067
|
sort?: IngestSortProcessor;
|
|
10726
11068
|
split?: IngestSplitProcessor;
|
|
11069
|
+
terminate?: IngestTerminateProcessor;
|
|
10727
11070
|
trim?: IngestTrimProcessor;
|
|
10728
11071
|
uppercase?: IngestUppercaseProcessor;
|
|
10729
11072
|
urldecode?: IngestUrlDecodeProcessor;
|
|
@@ -10738,6 +11081,12 @@ export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
|
10738
11081
|
suffix?: string;
|
|
10739
11082
|
ignore_missing?: boolean;
|
|
10740
11083
|
skip_if_unlicensed?: boolean;
|
|
11084
|
+
trace_redact?: boolean;
|
|
11085
|
+
}
|
|
11086
|
+
export interface IngestRegisteredDomainProcessor extends IngestProcessorBase {
|
|
11087
|
+
field: Field;
|
|
11088
|
+
target_field?: Field;
|
|
11089
|
+
ignore_missing?: boolean;
|
|
10741
11090
|
}
|
|
10742
11091
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10743
11092
|
field: Fields;
|
|
@@ -10785,6 +11134,8 @@ export interface IngestSplitProcessor extends IngestProcessorBase {
|
|
|
10785
11134
|
separator: string;
|
|
10786
11135
|
target_field?: Field;
|
|
10787
11136
|
}
|
|
11137
|
+
export interface IngestTerminateProcessor extends IngestProcessorBase {
|
|
11138
|
+
}
|
|
10788
11139
|
export interface IngestTrimProcessor extends IngestProcessorBase {
|
|
10789
11140
|
field: Field;
|
|
10790
11141
|
ignore_missing?: boolean;
|
|
@@ -10810,11 +11161,12 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
|
10810
11161
|
export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
10811
11162
|
field: Field;
|
|
10812
11163
|
ignore_missing?: boolean;
|
|
10813
|
-
options?: IngestUserAgentProperty[];
|
|
10814
11164
|
regex_file?: string;
|
|
10815
11165
|
target_field?: Field;
|
|
11166
|
+
properties?: IngestUserAgentProperty[];
|
|
11167
|
+
extract_device_type?: boolean;
|
|
10816
11168
|
}
|
|
10817
|
-
export type IngestUserAgentProperty = '
|
|
11169
|
+
export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
|
|
10818
11170
|
export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
|
|
10819
11171
|
id: Ids;
|
|
10820
11172
|
master_timeout?: Duration;
|
|
@@ -10890,6 +11242,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
10890
11242
|
on_failure?: IngestProcessorContainer[];
|
|
10891
11243
|
processors?: IngestProcessorContainer[];
|
|
10892
11244
|
version?: VersionNumber;
|
|
11245
|
+
deprecated?: boolean;
|
|
10893
11246
|
}
|
|
10894
11247
|
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
10895
11248
|
export interface IngestSimulateDocument {
|
|
@@ -10910,24 +11263,35 @@ export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationK
|
|
|
10910
11263
|
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
10911
11264
|
};
|
|
10912
11265
|
export interface IngestSimulateIngest {
|
|
11266
|
+
_redact?: IngestSimulateRedact;
|
|
10913
11267
|
timestamp: DateTime;
|
|
10914
11268
|
pipeline?: Name;
|
|
10915
11269
|
}
|
|
10916
11270
|
export interface IngestSimulatePipelineSimulation {
|
|
10917
11271
|
doc?: IngestSimulateDocumentSimulation;
|
|
10918
|
-
processor_results?: IngestSimulatePipelineSimulation[];
|
|
10919
11272
|
tag?: string;
|
|
10920
11273
|
processor_type?: string;
|
|
10921
11274
|
status?: WatcherActionStatusOptions;
|
|
11275
|
+
description?: string;
|
|
11276
|
+
ignored_error?: ErrorCause;
|
|
11277
|
+
error?: ErrorCause;
|
|
11278
|
+
}
|
|
11279
|
+
export interface IngestSimulateRedact {
|
|
11280
|
+
_is_redacted: boolean;
|
|
10922
11281
|
}
|
|
10923
11282
|
export interface IngestSimulateRequest extends RequestBase {
|
|
10924
11283
|
id?: Id;
|
|
10925
11284
|
verbose?: boolean;
|
|
10926
|
-
docs
|
|
11285
|
+
docs: IngestSimulateDocument[];
|
|
10927
11286
|
pipeline?: IngestPipeline;
|
|
10928
11287
|
}
|
|
10929
11288
|
export interface IngestSimulateResponse {
|
|
10930
|
-
docs:
|
|
11289
|
+
docs: IngestSimulateSimulateDocumentResult[];
|
|
11290
|
+
}
|
|
11291
|
+
export interface IngestSimulateSimulateDocumentResult {
|
|
11292
|
+
doc?: IngestSimulateDocumentSimulation;
|
|
11293
|
+
error?: ErrorCause;
|
|
11294
|
+
processor_results?: IngestSimulatePipelineSimulation[];
|
|
10931
11295
|
}
|
|
10932
11296
|
export interface LicenseLicense {
|
|
10933
11297
|
expiry_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -11558,8 +11922,7 @@ export interface MlDelayedDataCheckConfig {
|
|
|
11558
11922
|
enabled: boolean;
|
|
11559
11923
|
}
|
|
11560
11924
|
export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
|
|
11561
|
-
export type MlDeploymentAssignmentState = '
|
|
11562
|
-
export type MlDeploymentState = 'started' | 'starting' | 'stopping';
|
|
11925
|
+
export type MlDeploymentAssignmentState = 'started' | 'starting' | 'stopping' | 'failed';
|
|
11563
11926
|
export interface MlDetectionRule {
|
|
11564
11927
|
actions?: MlRuleAction[];
|
|
11565
11928
|
conditions?: MlRuleCondition[];
|
|
@@ -11898,7 +12261,7 @@ export interface MlPerPartitionCategorization {
|
|
|
11898
12261
|
enabled?: boolean;
|
|
11899
12262
|
stop_on_warn?: boolean;
|
|
11900
12263
|
}
|
|
11901
|
-
export type MlPredictedValue =
|
|
12264
|
+
export type MlPredictedValue = ScalarValue | ScalarValue[];
|
|
11902
12265
|
export interface MlQuestionAnsweringInferenceOptions {
|
|
11903
12266
|
num_top_classes?: integer;
|
|
11904
12267
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -12073,7 +12436,7 @@ export interface MlTrainedModelDeploymentStats {
|
|
|
12073
12436
|
rejected_execution_count: integer;
|
|
12074
12437
|
reason: string;
|
|
12075
12438
|
start_time: EpochTime<UnitMillis>;
|
|
12076
|
-
state:
|
|
12439
|
+
state: MlDeploymentAssignmentState;
|
|
12077
12440
|
threads_per_allocation: integer;
|
|
12078
12441
|
timeout_count: integer;
|
|
12079
12442
|
}
|
|
@@ -13860,7 +14223,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
|
|
|
13860
14223
|
inference?: NodesInfoNodeInfoIngestInfo;
|
|
13861
14224
|
}
|
|
13862
14225
|
export interface NodesInfoNodeInfoSettingsNetwork {
|
|
13863
|
-
host?: Host;
|
|
14226
|
+
host?: Host | Host[];
|
|
13864
14227
|
}
|
|
13865
14228
|
export interface NodesInfoNodeInfoSettingsNode {
|
|
13866
14229
|
name: Name;
|
|
@@ -13887,6 +14250,7 @@ export interface NodesInfoNodeInfoXpack {
|
|
|
13887
14250
|
license?: NodesInfoNodeInfoXpackLicense;
|
|
13888
14251
|
security: NodesInfoNodeInfoXpackSecurity;
|
|
13889
14252
|
notification?: Record<string, any>;
|
|
14253
|
+
ml?: NodesInfoNodeInfoXpackMl;
|
|
13890
14254
|
}
|
|
13891
14255
|
export interface NodesInfoNodeInfoXpackLicense {
|
|
13892
14256
|
self_generated: NodesInfoNodeInfoXpackLicenseType;
|
|
@@ -13894,6 +14258,9 @@ export interface NodesInfoNodeInfoXpackLicense {
|
|
|
13894
14258
|
export interface NodesInfoNodeInfoXpackLicenseType {
|
|
13895
14259
|
type: string;
|
|
13896
14260
|
}
|
|
14261
|
+
export interface NodesInfoNodeInfoXpackMl {
|
|
14262
|
+
use_auto_machine_memory_percent?: boolean;
|
|
14263
|
+
}
|
|
13897
14264
|
export interface NodesInfoNodeInfoXpackSecurity {
|
|
13898
14265
|
http?: NodesInfoNodeInfoXpackSecuritySsl;
|
|
13899
14266
|
enabled: string;
|
|
@@ -13901,8 +14268,8 @@ export interface NodesInfoNodeInfoXpackSecurity {
|
|
|
13901
14268
|
authc?: NodesInfoNodeInfoXpackSecurityAuthc;
|
|
13902
14269
|
}
|
|
13903
14270
|
export interface NodesInfoNodeInfoXpackSecurityAuthc {
|
|
13904
|
-
realms
|
|
13905
|
-
token
|
|
14271
|
+
realms?: NodesInfoNodeInfoXpackSecurityAuthcRealms;
|
|
14272
|
+
token?: NodesInfoNodeInfoXpackSecurityAuthcToken;
|
|
13906
14273
|
}
|
|
13907
14274
|
export interface NodesInfoNodeInfoXpackSecurityAuthcRealms {
|
|
13908
14275
|
file?: Record<string, NodesInfoNodeInfoXpackSecurityAuthcRealmsStatus>;
|
|
@@ -14034,7 +14401,7 @@ export interface QueryRulesQueryRuleCriteria {
|
|
|
14034
14401
|
values?: any[];
|
|
14035
14402
|
}
|
|
14036
14403
|
export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
|
|
14037
|
-
export type QueryRulesQueryRuleType = 'pinned';
|
|
14404
|
+
export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
|
|
14038
14405
|
export interface QueryRulesQueryRuleset {
|
|
14039
14406
|
ruleset_id: Id;
|
|
14040
14407
|
rules: QueryRulesQueryRule[];
|
|
@@ -14088,6 +14455,18 @@ export interface QueryRulesPutRulesetRequest extends RequestBase {
|
|
|
14088
14455
|
export interface QueryRulesPutRulesetResponse {
|
|
14089
14456
|
result: Result;
|
|
14090
14457
|
}
|
|
14458
|
+
export interface QueryRulesTestQueryRulesetMatchedRule {
|
|
14459
|
+
ruleset_id: Id;
|
|
14460
|
+
rule_id: Id;
|
|
14461
|
+
}
|
|
14462
|
+
export interface QueryRulesTestRequest extends RequestBase {
|
|
14463
|
+
ruleset_id: Id;
|
|
14464
|
+
match_criteria: Record<string, any>;
|
|
14465
|
+
}
|
|
14466
|
+
export interface QueryRulesTestResponse {
|
|
14467
|
+
total_matched_rules: integer;
|
|
14468
|
+
matched_rules: QueryRulesTestQueryRulesetMatchedRule[];
|
|
14469
|
+
}
|
|
14091
14470
|
export interface RollupDateHistogramGrouping {
|
|
14092
14471
|
delay?: Duration;
|
|
14093
14472
|
field: Field;
|
|
@@ -14367,6 +14746,10 @@ export interface SearchableSnapshotsStatsResponse {
|
|
|
14367
14746
|
stats: any;
|
|
14368
14747
|
total: any;
|
|
14369
14748
|
}
|
|
14749
|
+
export interface SecurityAccess {
|
|
14750
|
+
replication?: SecurityReplicationAccess[];
|
|
14751
|
+
search?: SecuritySearchAccess[];
|
|
14752
|
+
}
|
|
14370
14753
|
export interface SecurityApiKey {
|
|
14371
14754
|
creation?: long;
|
|
14372
14755
|
expiration?: long;
|
|
@@ -14397,7 +14780,7 @@ export interface SecurityBulkError {
|
|
|
14397
14780
|
export interface SecurityClusterNode {
|
|
14398
14781
|
name: Name;
|
|
14399
14782
|
}
|
|
14400
|
-
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' | '
|
|
14783
|
+
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_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
|
|
14401
14784
|
export interface SecurityCreatedStatus {
|
|
14402
14785
|
created: boolean;
|
|
14403
14786
|
}
|
|
@@ -14430,6 +14813,17 @@ export interface SecurityRealmInfo {
|
|
|
14430
14813
|
name: Name;
|
|
14431
14814
|
type: string;
|
|
14432
14815
|
}
|
|
14816
|
+
export interface SecurityRemoteIndicesPrivileges {
|
|
14817
|
+
clusters: Names;
|
|
14818
|
+
field_security?: SecurityFieldSecurity;
|
|
14819
|
+
names: Indices;
|
|
14820
|
+
privileges: SecurityIndexPrivilege[];
|
|
14821
|
+
query?: SecurityIndicesPrivilegesQuery;
|
|
14822
|
+
allow_restricted_indices?: boolean;
|
|
14823
|
+
}
|
|
14824
|
+
export interface SecurityReplicationAccess {
|
|
14825
|
+
names: IndexName[];
|
|
14826
|
+
}
|
|
14433
14827
|
export interface SecurityRoleDescriptor {
|
|
14434
14828
|
cluster?: SecurityClusterPrivilege[];
|
|
14435
14829
|
indices?: SecurityIndicesPrivileges[];
|
|
@@ -14480,6 +14874,12 @@ export interface SecurityRoleTemplateScript {
|
|
|
14480
14874
|
lang?: ScriptLanguage;
|
|
14481
14875
|
options?: Record<string, string>;
|
|
14482
14876
|
}
|
|
14877
|
+
export interface SecuritySearchAccess {
|
|
14878
|
+
field_security?: SecurityFieldSecurity;
|
|
14879
|
+
names: IndexName[];
|
|
14880
|
+
query?: SecurityIndicesPrivilegesQuery;
|
|
14881
|
+
allow_restricted_indices?: boolean;
|
|
14882
|
+
}
|
|
14483
14883
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14484
14884
|
export interface SecurityUser {
|
|
14485
14885
|
email?: string | null;
|
|
@@ -14631,6 +15031,19 @@ export interface SecurityCreateApiKeyResponse {
|
|
|
14631
15031
|
name: Name;
|
|
14632
15032
|
encoded: string;
|
|
14633
15033
|
}
|
|
15034
|
+
export interface SecurityCreateCrossClusterApiKeyRequest extends RequestBase {
|
|
15035
|
+
access: SecurityAccess;
|
|
15036
|
+
expiration?: Duration;
|
|
15037
|
+
metadata?: Metadata;
|
|
15038
|
+
name: Name;
|
|
15039
|
+
}
|
|
15040
|
+
export interface SecurityCreateCrossClusterApiKeyResponse {
|
|
15041
|
+
api_key: string;
|
|
15042
|
+
expiration?: DurationValue<UnitMillis>;
|
|
15043
|
+
id: Id;
|
|
15044
|
+
name: Name;
|
|
15045
|
+
encoded: string;
|
|
15046
|
+
}
|
|
14634
15047
|
export interface SecurityCreateServiceTokenRequest extends RequestBase {
|
|
14635
15048
|
namespace: Namespace;
|
|
14636
15049
|
service: Service;
|
|
@@ -14963,6 +15376,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
14963
15376
|
cluster?: SecurityClusterPrivilege[];
|
|
14964
15377
|
global?: Record<string, any>;
|
|
14965
15378
|
indices?: SecurityIndicesPrivileges[];
|
|
15379
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
14966
15380
|
metadata?: Metadata;
|
|
14967
15381
|
run_as?: string[];
|
|
14968
15382
|
description?: string;
|
|
@@ -15190,6 +15604,15 @@ export interface SecurityUpdateApiKeyRequest extends RequestBase {
|
|
|
15190
15604
|
export interface SecurityUpdateApiKeyResponse {
|
|
15191
15605
|
updated: boolean;
|
|
15192
15606
|
}
|
|
15607
|
+
export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
|
|
15608
|
+
id: Id;
|
|
15609
|
+
access: SecurityAccess;
|
|
15610
|
+
expiration?: Duration;
|
|
15611
|
+
metadata?: Metadata;
|
|
15612
|
+
}
|
|
15613
|
+
export interface SecurityUpdateCrossClusterApiKeyResponse {
|
|
15614
|
+
updated: boolean;
|
|
15615
|
+
}
|
|
15193
15616
|
export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
15194
15617
|
uid: SecurityUserProfileId;
|
|
15195
15618
|
if_seq_no?: SequenceNumber;
|
|
@@ -15488,6 +15911,7 @@ export interface SnapshotSnapshotShardFailure {
|
|
|
15488
15911
|
node_id?: Id;
|
|
15489
15912
|
reason: string;
|
|
15490
15913
|
shard_id: Id;
|
|
15914
|
+
index_uuid: Id;
|
|
15491
15915
|
status: string;
|
|
15492
15916
|
}
|
|
15493
15917
|
export interface SnapshotSnapshotShardsStatus {
|
|
@@ -15613,6 +16037,18 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
15613
16037
|
master_timeout?: Duration;
|
|
15614
16038
|
}
|
|
15615
16039
|
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
16040
|
+
export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
|
|
16041
|
+
name: Names;
|
|
16042
|
+
meta_thread_pool_concurrency?: integer;
|
|
16043
|
+
blob_thread_pool_concurrency?: integer;
|
|
16044
|
+
snapshot_verification_concurrency?: integer;
|
|
16045
|
+
index_verification_concurrency?: integer;
|
|
16046
|
+
index_snapshot_verification_concurrency?: integer;
|
|
16047
|
+
max_failed_shard_snapshots?: integer;
|
|
16048
|
+
verify_blob_contents?: boolean;
|
|
16049
|
+
max_bytes_per_sec?: string;
|
|
16050
|
+
}
|
|
16051
|
+
export type SnapshotRepositoryVerifyIntegrityResponse = any;
|
|
15616
16052
|
export interface SnapshotRestoreRequest extends RequestBase {
|
|
15617
16053
|
repository: Name;
|
|
15618
16054
|
snapshot: Name;
|
|
@@ -15700,7 +16136,7 @@ export interface SqlGetAsyncStatusResponse {
|
|
|
15700
16136
|
completion_status?: uint;
|
|
15701
16137
|
}
|
|
15702
16138
|
export interface SqlQueryRequest extends RequestBase {
|
|
15703
|
-
format?:
|
|
16139
|
+
format?: SqlQuerySqlFormat;
|
|
15704
16140
|
catalog?: string;
|
|
15705
16141
|
columnar?: boolean;
|
|
15706
16142
|
cursor?: string;
|
|
@@ -15726,6 +16162,7 @@ export interface SqlQueryResponse {
|
|
|
15726
16162
|
cursor?: string;
|
|
15727
16163
|
rows: SqlRow[];
|
|
15728
16164
|
}
|
|
16165
|
+
export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
|
|
15729
16166
|
export interface SqlTranslateRequest extends RequestBase {
|
|
15730
16167
|
fetch_size?: integer;
|
|
15731
16168
|
filter?: QueryDslQueryContainer;
|
|
@@ -16766,17 +17203,17 @@ export interface XpackInfoFeatures {
|
|
|
16766
17203
|
aggregate_metric: XpackInfoFeature;
|
|
16767
17204
|
analytics: XpackInfoFeature;
|
|
16768
17205
|
ccr: XpackInfoFeature;
|
|
16769
|
-
data_frame?: XpackInfoFeature;
|
|
16770
|
-
data_science?: XpackInfoFeature;
|
|
16771
17206
|
data_streams: XpackInfoFeature;
|
|
16772
17207
|
data_tiers: XpackInfoFeature;
|
|
16773
17208
|
enrich: XpackInfoFeature;
|
|
17209
|
+
enterprise_search: XpackInfoFeature;
|
|
16774
17210
|
eql: XpackInfoFeature;
|
|
16775
|
-
|
|
17211
|
+
esql: XpackInfoFeature;
|
|
16776
17212
|
frozen_indices: XpackInfoFeature;
|
|
16777
17213
|
graph: XpackInfoFeature;
|
|
16778
17214
|
ilm: XpackInfoFeature;
|
|
16779
17215
|
logstash: XpackInfoFeature;
|
|
17216
|
+
logsdb: XpackInfoFeature;
|
|
16780
17217
|
ml: XpackInfoFeature;
|
|
16781
17218
|
monitoring: XpackInfoFeature;
|
|
16782
17219
|
rollup: XpackInfoFeature;
|
|
@@ -16787,7 +17224,7 @@ export interface XpackInfoFeatures {
|
|
|
16787
17224
|
spatial: XpackInfoFeature;
|
|
16788
17225
|
sql: XpackInfoFeature;
|
|
16789
17226
|
transform: XpackInfoFeature;
|
|
16790
|
-
|
|
17227
|
+
universal_profiling: XpackInfoFeature;
|
|
16791
17228
|
voting_only: XpackInfoFeature;
|
|
16792
17229
|
watcher: XpackInfoFeature;
|
|
16793
17230
|
archive: XpackInfoFeature;
|
|
@@ -16804,7 +17241,7 @@ export interface XpackInfoNativeCodeInformation {
|
|
|
16804
17241
|
version: VersionString;
|
|
16805
17242
|
}
|
|
16806
17243
|
export interface XpackInfoRequest extends RequestBase {
|
|
16807
|
-
categories?:
|
|
17244
|
+
categories?: XpackInfoXPackCategory[];
|
|
16808
17245
|
accept_enterprise?: boolean;
|
|
16809
17246
|
human?: boolean;
|
|
16810
17247
|
}
|
|
@@ -16814,6 +17251,7 @@ export interface XpackInfoResponse {
|
|
|
16814
17251
|
license: XpackInfoMinimalLicenseInformation;
|
|
16815
17252
|
tagline: string;
|
|
16816
17253
|
}
|
|
17254
|
+
export type XpackInfoXPackCategory = 'build' | 'features' | 'license';
|
|
16817
17255
|
export interface XpackUsageAnalytics extends XpackUsageBase {
|
|
16818
17256
|
stats: XpackUsageAnalyticsStatistics;
|
|
16819
17257
|
}
|