@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
|
@@ -319,6 +319,7 @@ export interface FieldCapsResponse {
|
|
|
319
319
|
export interface GetGetResult<TDocument = unknown> {
|
|
320
320
|
_index: IndexName;
|
|
321
321
|
fields?: Record<string, any>;
|
|
322
|
+
_ignored?: string[];
|
|
322
323
|
found: boolean;
|
|
323
324
|
_id: Id;
|
|
324
325
|
_primary_term?: long;
|
|
@@ -401,6 +402,14 @@ export interface HealthReportBaseIndicator {
|
|
|
401
402
|
impacts?: HealthReportImpact[];
|
|
402
403
|
diagnosis?: HealthReportDiagnosis[];
|
|
403
404
|
}
|
|
405
|
+
export interface HealthReportDataStreamLifecycleDetails {
|
|
406
|
+
stagnating_backing_indices_count: integer;
|
|
407
|
+
total_backing_indices_in_error: integer;
|
|
408
|
+
stagnating_backing_indices?: HealthReportStagnatingBackingIndices[];
|
|
409
|
+
}
|
|
410
|
+
export interface HealthReportDataStreamLifecycleIndicator extends HealthReportBaseIndicator {
|
|
411
|
+
details?: HealthReportDataStreamLifecycleDetails;
|
|
412
|
+
}
|
|
404
413
|
export interface HealthReportDiagnosis {
|
|
405
414
|
id: string;
|
|
406
415
|
action: string;
|
|
@@ -450,6 +459,7 @@ export interface HealthReportIndicators {
|
|
|
450
459
|
shards_availability?: HealthReportShardsAvailabilityIndicator;
|
|
451
460
|
disk?: HealthReportDiskIndicator;
|
|
452
461
|
repository_integrity?: HealthReportRepositoryIntegrityIndicator;
|
|
462
|
+
data_stream_lifecycle?: HealthReportDataStreamLifecycleIndicator;
|
|
453
463
|
ilm?: HealthReportIlmIndicator;
|
|
454
464
|
slm?: HealthReportSlmIndicator;
|
|
455
465
|
shards_capacity?: HealthReportShardsCapacityIndicator;
|
|
@@ -529,6 +539,11 @@ export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
|
529
539
|
count: long;
|
|
530
540
|
invocations_since_last_success?: Record<string, long>;
|
|
531
541
|
}
|
|
542
|
+
export interface HealthReportStagnatingBackingIndices {
|
|
543
|
+
index_name: IndexName;
|
|
544
|
+
first_occurrence_timestamp: long;
|
|
545
|
+
retry_count: integer;
|
|
546
|
+
}
|
|
532
547
|
export interface IndexRequest<TDocument = unknown> extends RequestBase {
|
|
533
548
|
id?: Id;
|
|
534
549
|
index: IndexName;
|
|
@@ -765,8 +780,13 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
765
780
|
preference?: string;
|
|
766
781
|
routing?: Routing;
|
|
767
782
|
expand_wildcards?: ExpandWildcards;
|
|
783
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
784
|
+
body?: {
|
|
785
|
+
index_filter?: QueryDslQueryContainer;
|
|
786
|
+
};
|
|
768
787
|
}
|
|
769
788
|
export interface OpenPointInTimeResponse {
|
|
789
|
+
_shards: ShardStatistics;
|
|
770
790
|
id: Id;
|
|
771
791
|
}
|
|
772
792
|
export interface PingRequest extends RequestBase {
|
|
@@ -835,7 +855,7 @@ export interface RankEvalRankEvalQuery {
|
|
|
835
855
|
}
|
|
836
856
|
export interface RankEvalRankEvalRequestItem {
|
|
837
857
|
id: Id;
|
|
838
|
-
request?: RankEvalRankEvalQuery;
|
|
858
|
+
request?: RankEvalRankEvalQuery | QueryDslQueryContainer;
|
|
839
859
|
ratings: RankEvalDocumentRating[];
|
|
840
860
|
template_id?: Id;
|
|
841
861
|
params?: Record<string, any>;
|
|
@@ -975,7 +995,7 @@ export interface RenderSearchTemplateResponse {
|
|
|
975
995
|
export interface ScriptsPainlessExecutePainlessContextSetup {
|
|
976
996
|
document: any;
|
|
977
997
|
index: IndexName;
|
|
978
|
-
query
|
|
998
|
+
query?: QueryDslQueryContainer;
|
|
979
999
|
}
|
|
980
1000
|
export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
|
981
1001
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
@@ -1294,7 +1314,6 @@ export interface SearchHighlightBase {
|
|
|
1294
1314
|
export interface SearchHighlightField extends SearchHighlightBase {
|
|
1295
1315
|
fragment_offset?: integer;
|
|
1296
1316
|
matched_fields?: Fields;
|
|
1297
|
-
analyzer?: AnalysisAnalyzer;
|
|
1298
1317
|
}
|
|
1299
1318
|
export type SearchHighlighterEncoder = 'default' | 'html';
|
|
1300
1319
|
export type SearchHighlighterFragmenter = 'simple' | 'span';
|
|
@@ -2274,11 +2293,13 @@ export interface Retries {
|
|
|
2274
2293
|
}
|
|
2275
2294
|
export interface RetrieverBase {
|
|
2276
2295
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2296
|
+
min_score?: float;
|
|
2277
2297
|
}
|
|
2278
2298
|
export interface RetrieverContainer {
|
|
2279
2299
|
standard?: StandardRetriever;
|
|
2280
2300
|
knn?: KnnRetriever;
|
|
2281
2301
|
rrf?: RRFRetriever;
|
|
2302
|
+
text_similarity_reranker?: TextSimilarityReranker;
|
|
2282
2303
|
}
|
|
2283
2304
|
export type Routing = string;
|
|
2284
2305
|
export interface RrfRank {
|
|
@@ -2413,7 +2434,6 @@ export interface StandardRetriever extends RetrieverBase {
|
|
|
2413
2434
|
search_after?: SortResults;
|
|
2414
2435
|
terminate_after?: integer;
|
|
2415
2436
|
sort?: Sort;
|
|
2416
|
-
min_score?: float;
|
|
2417
2437
|
collapse?: SearchFieldCollapse;
|
|
2418
2438
|
}
|
|
2419
2439
|
export interface StoreStats {
|
|
@@ -2442,6 +2462,13 @@ export interface TextEmbedding {
|
|
|
2442
2462
|
model_id: string;
|
|
2443
2463
|
model_text: string;
|
|
2444
2464
|
}
|
|
2465
|
+
export interface TextSimilarityReranker extends RetrieverBase {
|
|
2466
|
+
retriever: RetrieverContainer;
|
|
2467
|
+
rank_window_size?: integer;
|
|
2468
|
+
inference_id?: string;
|
|
2469
|
+
inference_text?: string;
|
|
2470
|
+
field?: string;
|
|
2471
|
+
}
|
|
2445
2472
|
export type ThreadType = 'cpu' | 'wait' | 'block' | 'gpu' | 'mem';
|
|
2446
2473
|
export type TimeOfDay = string;
|
|
2447
2474
|
export type TimeUnit = 'nanos' | 'micros' | 'ms' | 's' | 'm' | 'h' | 'd';
|
|
@@ -2611,9 +2638,9 @@ export interface AggregationsAggregationContainer {
|
|
|
2611
2638
|
variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
|
|
2612
2639
|
}
|
|
2613
2640
|
export interface AggregationsAggregationRange {
|
|
2614
|
-
from?: double;
|
|
2641
|
+
from?: double | null;
|
|
2615
2642
|
key?: string;
|
|
2616
|
-
to?: double;
|
|
2643
|
+
to?: double | null;
|
|
2617
2644
|
}
|
|
2618
2645
|
export interface AggregationsArrayPercentilesItem {
|
|
2619
2646
|
key: string;
|
|
@@ -3697,11 +3724,52 @@ export interface AggregationsWeightedAverageValue {
|
|
|
3697
3724
|
}
|
|
3698
3725
|
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
|
3699
3726
|
}
|
|
3700
|
-
export type AnalysisAnalyzer = AnalysisCustomAnalyzer | AnalysisFingerprintAnalyzer | AnalysisKeywordAnalyzer | AnalysisLanguageAnalyzer | AnalysisNoriAnalyzer | AnalysisPatternAnalyzer | AnalysisSimpleAnalyzer | AnalysisStandardAnalyzer | AnalysisStopAnalyzer | AnalysisWhitespaceAnalyzer | AnalysisIcuAnalyzer | AnalysisKuromojiAnalyzer | AnalysisSnowballAnalyzer | AnalysisDutchAnalyzer;
|
|
3727
|
+
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;
|
|
3728
|
+
export interface AnalysisArabicAnalyzer {
|
|
3729
|
+
type: 'arabic';
|
|
3730
|
+
stopwords?: AnalysisStopWords;
|
|
3731
|
+
stopwords_path?: string;
|
|
3732
|
+
stem_exclusion?: string[];
|
|
3733
|
+
}
|
|
3734
|
+
export interface AnalysisArmenianAnalyzer {
|
|
3735
|
+
type: 'armenian';
|
|
3736
|
+
stopwords?: AnalysisStopWords;
|
|
3737
|
+
stopwords_path?: string;
|
|
3738
|
+
stem_exclusion?: string[];
|
|
3739
|
+
}
|
|
3701
3740
|
export interface AnalysisAsciiFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
3702
3741
|
type: 'asciifolding';
|
|
3703
3742
|
preserve_original?: SpecUtilsStringified<boolean>;
|
|
3704
3743
|
}
|
|
3744
|
+
export interface AnalysisBasqueAnalyzer {
|
|
3745
|
+
type: 'basque';
|
|
3746
|
+
stopwords?: AnalysisStopWords;
|
|
3747
|
+
stopwords_path?: string;
|
|
3748
|
+
stem_exclusion?: string[];
|
|
3749
|
+
}
|
|
3750
|
+
export interface AnalysisBengaliAnalyzer {
|
|
3751
|
+
type: 'bengali';
|
|
3752
|
+
stopwords?: AnalysisStopWords;
|
|
3753
|
+
stopwords_path?: string;
|
|
3754
|
+
stem_exclusion?: string[];
|
|
3755
|
+
}
|
|
3756
|
+
export interface AnalysisBrazilianAnalyzer {
|
|
3757
|
+
type: 'brazilian';
|
|
3758
|
+
stopwords?: AnalysisStopWords;
|
|
3759
|
+
stopwords_path?: string;
|
|
3760
|
+
}
|
|
3761
|
+
export interface AnalysisBulgarianAnalyzer {
|
|
3762
|
+
type: 'bulgarian';
|
|
3763
|
+
stopwords?: AnalysisStopWords;
|
|
3764
|
+
stopwords_path?: string;
|
|
3765
|
+
stem_exclusion?: string[];
|
|
3766
|
+
}
|
|
3767
|
+
export interface AnalysisCatalanAnalyzer {
|
|
3768
|
+
type: 'catalan';
|
|
3769
|
+
stopwords?: AnalysisStopWords;
|
|
3770
|
+
stopwords_path?: string;
|
|
3771
|
+
stem_exclusion?: string[];
|
|
3772
|
+
}
|
|
3705
3773
|
export type AnalysisCharFilter = string | AnalysisCharFilterDefinition;
|
|
3706
3774
|
export interface AnalysisCharFilterBase {
|
|
3707
3775
|
version?: VersionString;
|
|
@@ -3712,6 +3780,20 @@ export interface AnalysisCharGroupTokenizer extends AnalysisTokenizerBase {
|
|
|
3712
3780
|
tokenize_on_chars: string[];
|
|
3713
3781
|
max_token_length?: integer;
|
|
3714
3782
|
}
|
|
3783
|
+
export interface AnalysisChineseAnalyzer {
|
|
3784
|
+
type: 'chinese';
|
|
3785
|
+
stopwords?: AnalysisStopWords;
|
|
3786
|
+
stopwords_path?: string;
|
|
3787
|
+
}
|
|
3788
|
+
export interface AnalysisCjkAnalyzer {
|
|
3789
|
+
type: 'cjk';
|
|
3790
|
+
stopwords?: AnalysisStopWords;
|
|
3791
|
+
stopwords_path?: string;
|
|
3792
|
+
}
|
|
3793
|
+
export interface AnalysisClassicTokenizer extends AnalysisTokenizerBase {
|
|
3794
|
+
type: 'classic';
|
|
3795
|
+
max_token_length?: integer;
|
|
3796
|
+
}
|
|
3715
3797
|
export interface AnalysisCommonGramsTokenFilter extends AnalysisTokenFilterBase {
|
|
3716
3798
|
type: 'common_grams';
|
|
3717
3799
|
common_words?: string[];
|
|
@@ -3735,8 +3817,8 @@ export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3735
3817
|
}
|
|
3736
3818
|
export interface AnalysisCustomAnalyzer {
|
|
3737
3819
|
type: 'custom';
|
|
3738
|
-
char_filter?: string[];
|
|
3739
|
-
filter?: string[];
|
|
3820
|
+
char_filter?: string | string[];
|
|
3821
|
+
filter?: string | string[];
|
|
3740
3822
|
position_increment_gap?: integer;
|
|
3741
3823
|
position_offset_gap?: integer;
|
|
3742
3824
|
tokenizer: string;
|
|
@@ -3746,6 +3828,17 @@ export interface AnalysisCustomNormalizer {
|
|
|
3746
3828
|
char_filter?: string[];
|
|
3747
3829
|
filter?: string[];
|
|
3748
3830
|
}
|
|
3831
|
+
export interface AnalysisCzechAnalyzer {
|
|
3832
|
+
type: 'czech';
|
|
3833
|
+
stopwords?: AnalysisStopWords;
|
|
3834
|
+
stopwords_path?: string;
|
|
3835
|
+
stem_exclusion?: string[];
|
|
3836
|
+
}
|
|
3837
|
+
export interface AnalysisDanishAnalyzer {
|
|
3838
|
+
type: 'danish';
|
|
3839
|
+
stopwords?: AnalysisStopWords;
|
|
3840
|
+
stopwords_path?: string;
|
|
3841
|
+
}
|
|
3749
3842
|
export type AnalysisDelimitedPayloadEncoding = 'int' | 'float' | 'identity';
|
|
3750
3843
|
export interface AnalysisDelimitedPayloadTokenFilter extends AnalysisTokenFilterBase {
|
|
3751
3844
|
type: 'delimited_payload';
|
|
@@ -3758,6 +3851,8 @@ export interface AnalysisDictionaryDecompounderTokenFilter extends AnalysisCompo
|
|
|
3758
3851
|
export interface AnalysisDutchAnalyzer {
|
|
3759
3852
|
type: 'dutch';
|
|
3760
3853
|
stopwords?: AnalysisStopWords;
|
|
3854
|
+
stopwords_path?: string;
|
|
3855
|
+
stem_exclusion?: string[];
|
|
3761
3856
|
}
|
|
3762
3857
|
export type AnalysisEdgeNGramSide = 'front' | 'back';
|
|
3763
3858
|
export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3770,9 +3865,9 @@ export interface AnalysisEdgeNGramTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3770
3865
|
export interface AnalysisEdgeNGramTokenizer extends AnalysisTokenizerBase {
|
|
3771
3866
|
type: 'edge_ngram';
|
|
3772
3867
|
custom_token_chars?: string;
|
|
3773
|
-
max_gram
|
|
3774
|
-
min_gram
|
|
3775
|
-
token_chars
|
|
3868
|
+
max_gram?: integer;
|
|
3869
|
+
min_gram?: integer;
|
|
3870
|
+
token_chars?: AnalysisTokenChar[];
|
|
3776
3871
|
}
|
|
3777
3872
|
export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
3778
3873
|
type: 'elision';
|
|
@@ -3780,6 +3875,17 @@ export interface AnalysisElisionTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3780
3875
|
articles_path?: string;
|
|
3781
3876
|
articles_case?: SpecUtilsStringified<boolean>;
|
|
3782
3877
|
}
|
|
3878
|
+
export interface AnalysisEnglishAnalyzer {
|
|
3879
|
+
type: 'english';
|
|
3880
|
+
stopwords?: AnalysisStopWords;
|
|
3881
|
+
stopwords_path?: string;
|
|
3882
|
+
stem_exclusion?: string[];
|
|
3883
|
+
}
|
|
3884
|
+
export interface AnalysisEstonianAnalyzer {
|
|
3885
|
+
type: 'estonian';
|
|
3886
|
+
stopwords?: AnalysisStopWords;
|
|
3887
|
+
stopwords_path?: string;
|
|
3888
|
+
}
|
|
3783
3889
|
export interface AnalysisFingerprintAnalyzer {
|
|
3784
3890
|
type: 'fingerprint';
|
|
3785
3891
|
version?: VersionString;
|
|
@@ -3794,10 +3900,51 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
|
|
|
3794
3900
|
max_output_size?: integer;
|
|
3795
3901
|
separator?: string;
|
|
3796
3902
|
}
|
|
3903
|
+
export interface AnalysisFinnishAnalyzer {
|
|
3904
|
+
type: 'finnish';
|
|
3905
|
+
stopwords?: AnalysisStopWords;
|
|
3906
|
+
stopwords_path?: string;
|
|
3907
|
+
stem_exclusion?: string[];
|
|
3908
|
+
}
|
|
3909
|
+
export interface AnalysisFrenchAnalyzer {
|
|
3910
|
+
type: 'french';
|
|
3911
|
+
stopwords?: AnalysisStopWords;
|
|
3912
|
+
stopwords_path?: string;
|
|
3913
|
+
stem_exclusion?: string[];
|
|
3914
|
+
}
|
|
3915
|
+
export interface AnalysisGalicianAnalyzer {
|
|
3916
|
+
type: 'galician';
|
|
3917
|
+
stopwords?: AnalysisStopWords;
|
|
3918
|
+
stopwords_path?: string;
|
|
3919
|
+
stem_exclusion?: string[];
|
|
3920
|
+
}
|
|
3921
|
+
export interface AnalysisGermanAnalyzer {
|
|
3922
|
+
type: 'german';
|
|
3923
|
+
stopwords?: AnalysisStopWords;
|
|
3924
|
+
stopwords_path?: string;
|
|
3925
|
+
stem_exclusion?: string[];
|
|
3926
|
+
}
|
|
3927
|
+
export interface AnalysisGreekAnalyzer {
|
|
3928
|
+
type: 'greek';
|
|
3929
|
+
stopwords?: AnalysisStopWords;
|
|
3930
|
+
stopwords_path?: string;
|
|
3931
|
+
}
|
|
3932
|
+
export interface AnalysisHindiAnalyzer {
|
|
3933
|
+
type: 'hindi';
|
|
3934
|
+
stopwords?: AnalysisStopWords;
|
|
3935
|
+
stopwords_path?: string;
|
|
3936
|
+
stem_exclusion?: string[];
|
|
3937
|
+
}
|
|
3797
3938
|
export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
|
|
3798
3939
|
type: 'html_strip';
|
|
3799
3940
|
escaped_tags?: string[];
|
|
3800
3941
|
}
|
|
3942
|
+
export interface AnalysisHungarianAnalyzer {
|
|
3943
|
+
type: 'hungarian';
|
|
3944
|
+
stopwords?: AnalysisStopWords;
|
|
3945
|
+
stopwords_path?: string;
|
|
3946
|
+
stem_exclusion?: string[];
|
|
3947
|
+
}
|
|
3801
3948
|
export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
|
|
3802
3949
|
type: 'hunspell';
|
|
3803
3950
|
dedup?: boolean;
|
|
@@ -3857,6 +4004,24 @@ export interface AnalysisIcuTransformTokenFilter extends AnalysisTokenFilterBase
|
|
|
3857
4004
|
dir?: AnalysisIcuTransformDirection;
|
|
3858
4005
|
id: string;
|
|
3859
4006
|
}
|
|
4007
|
+
export interface AnalysisIndonesianAnalyzer {
|
|
4008
|
+
type: 'indonesian';
|
|
4009
|
+
stopwords?: AnalysisStopWords;
|
|
4010
|
+
stopwords_path?: string;
|
|
4011
|
+
stem_exclusion?: string[];
|
|
4012
|
+
}
|
|
4013
|
+
export interface AnalysisIrishAnalyzer {
|
|
4014
|
+
type: 'irish';
|
|
4015
|
+
stopwords?: AnalysisStopWords;
|
|
4016
|
+
stopwords_path?: string;
|
|
4017
|
+
stem_exclusion?: string[];
|
|
4018
|
+
}
|
|
4019
|
+
export interface AnalysisItalianAnalyzer {
|
|
4020
|
+
type: 'italian';
|
|
4021
|
+
stopwords?: AnalysisStopWords;
|
|
4022
|
+
stopwords_path?: string;
|
|
4023
|
+
stem_exclusion?: string[];
|
|
4024
|
+
}
|
|
3860
4025
|
export interface AnalysisKStemTokenFilter extends AnalysisTokenFilterBase {
|
|
3861
4026
|
type: 'kstem';
|
|
3862
4027
|
}
|
|
@@ -3879,13 +4044,13 @@ export interface AnalysisKeywordAnalyzer {
|
|
|
3879
4044
|
export interface AnalysisKeywordMarkerTokenFilter extends AnalysisTokenFilterBase {
|
|
3880
4045
|
type: 'keyword_marker';
|
|
3881
4046
|
ignore_case?: boolean;
|
|
3882
|
-
keywords?: string[];
|
|
4047
|
+
keywords?: string | string[];
|
|
3883
4048
|
keywords_path?: string;
|
|
3884
4049
|
keywords_pattern?: string;
|
|
3885
4050
|
}
|
|
3886
4051
|
export interface AnalysisKeywordTokenizer extends AnalysisTokenizerBase {
|
|
3887
4052
|
type: 'keyword';
|
|
3888
|
-
buffer_size
|
|
4053
|
+
buffer_size?: integer;
|
|
3889
4054
|
}
|
|
3890
4055
|
export interface AnalysisKuromojiAnalyzer {
|
|
3891
4056
|
type: 'kuromoji';
|
|
@@ -3929,6 +4094,12 @@ export interface AnalysisLanguageAnalyzer {
|
|
|
3929
4094
|
stopwords?: AnalysisStopWords;
|
|
3930
4095
|
stopwords_path?: string;
|
|
3931
4096
|
}
|
|
4097
|
+
export interface AnalysisLatvianAnalyzer {
|
|
4098
|
+
type: 'latvian';
|
|
4099
|
+
stopwords?: AnalysisStopWords;
|
|
4100
|
+
stopwords_path?: string;
|
|
4101
|
+
stem_exclusion?: string[];
|
|
4102
|
+
}
|
|
3932
4103
|
export interface AnalysisLengthTokenFilter extends AnalysisTokenFilterBase {
|
|
3933
4104
|
type: 'length';
|
|
3934
4105
|
max?: integer;
|
|
@@ -3942,6 +4113,12 @@ export interface AnalysisLimitTokenCountTokenFilter extends AnalysisTokenFilterB
|
|
|
3942
4113
|
consume_all_tokens?: boolean;
|
|
3943
4114
|
max_token_count?: SpecUtilsStringified<integer>;
|
|
3944
4115
|
}
|
|
4116
|
+
export interface AnalysisLithuanianAnalyzer {
|
|
4117
|
+
type: 'lithuanian';
|
|
4118
|
+
stopwords?: AnalysisStopWords;
|
|
4119
|
+
stopwords_path?: string;
|
|
4120
|
+
stem_exclusion?: string[];
|
|
4121
|
+
}
|
|
3945
4122
|
export interface AnalysisLowercaseNormalizer {
|
|
3946
4123
|
type: 'lowercase';
|
|
3947
4124
|
}
|
|
@@ -3995,6 +4172,12 @@ export interface AnalysisNoriTokenizer extends AnalysisTokenizerBase {
|
|
|
3995
4172
|
user_dictionary_rules?: string[];
|
|
3996
4173
|
}
|
|
3997
4174
|
export type AnalysisNormalizer = AnalysisLowercaseNormalizer | AnalysisCustomNormalizer;
|
|
4175
|
+
export interface AnalysisNorwegianAnalyzer {
|
|
4176
|
+
type: 'norwegian';
|
|
4177
|
+
stopwords?: AnalysisStopWords;
|
|
4178
|
+
stopwords_path?: string;
|
|
4179
|
+
stem_exclusion?: string[];
|
|
4180
|
+
}
|
|
3998
4181
|
export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
3999
4182
|
type: 'path_hierarchy';
|
|
4000
4183
|
buffer_size?: SpecUtilsStringified<integer>;
|
|
@@ -4035,6 +4218,11 @@ export interface AnalysisPatternTokenizer extends AnalysisTokenizerBase {
|
|
|
4035
4218
|
group?: integer;
|
|
4036
4219
|
pattern?: string;
|
|
4037
4220
|
}
|
|
4221
|
+
export interface AnalysisPersianAnalyzer {
|
|
4222
|
+
type: 'persian';
|
|
4223
|
+
stopwords?: AnalysisStopWords;
|
|
4224
|
+
stopwords_path?: string;
|
|
4225
|
+
}
|
|
4038
4226
|
export type AnalysisPhoneticEncoder = 'metaphone' | 'double_metaphone' | 'soundex' | 'refined_soundex' | 'caverphone1' | 'caverphone2' | 'cologne' | 'nysiis' | 'koelnerphonetik' | 'haasephonetik' | 'beider_morse' | 'daitch_mokotoff';
|
|
4039
4227
|
export type AnalysisPhoneticLanguage = 'any' | 'common' | 'cyrillic' | 'english' | 'french' | 'german' | 'hebrew' | 'hungarian' | 'polish' | 'romanian' | 'russian' | 'spanish';
|
|
4040
4228
|
export type AnalysisPhoneticNameType = 'generic' | 'ashkenazi' | 'sephardic';
|
|
@@ -4051,6 +4239,12 @@ export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4051
4239
|
export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
|
4052
4240
|
type: 'porter_stem';
|
|
4053
4241
|
}
|
|
4242
|
+
export interface AnalysisPortugueseAnalyzer {
|
|
4243
|
+
type: 'portuguese';
|
|
4244
|
+
stopwords?: AnalysisStopWords;
|
|
4245
|
+
stopwords_path?: string;
|
|
4246
|
+
stem_exclusion?: string[];
|
|
4247
|
+
}
|
|
4054
4248
|
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
|
4055
4249
|
type: 'predicate_token_filter';
|
|
4056
4250
|
script: Script | string;
|
|
@@ -4061,6 +4255,24 @@ export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilter
|
|
|
4061
4255
|
export interface AnalysisReverseTokenFilter extends AnalysisTokenFilterBase {
|
|
4062
4256
|
type: 'reverse';
|
|
4063
4257
|
}
|
|
4258
|
+
export interface AnalysisRomanianAnalyzer {
|
|
4259
|
+
type: 'romanian';
|
|
4260
|
+
stopwords?: AnalysisStopWords;
|
|
4261
|
+
stopwords_path?: string;
|
|
4262
|
+
stem_exclusion?: string[];
|
|
4263
|
+
}
|
|
4264
|
+
export interface AnalysisRussianAnalyzer {
|
|
4265
|
+
type: 'russian';
|
|
4266
|
+
stopwords?: AnalysisStopWords;
|
|
4267
|
+
stopwords_path?: string;
|
|
4268
|
+
stem_exclusion?: string[];
|
|
4269
|
+
}
|
|
4270
|
+
export interface AnalysisSerbianAnalyzer {
|
|
4271
|
+
type: 'serbian';
|
|
4272
|
+
stopwords?: AnalysisStopWords;
|
|
4273
|
+
stopwords_path?: string;
|
|
4274
|
+
stem_exclusion?: string[];
|
|
4275
|
+
}
|
|
4064
4276
|
export interface AnalysisShingleTokenFilter extends AnalysisTokenFilterBase {
|
|
4065
4277
|
type: 'shingle';
|
|
4066
4278
|
filler_token?: string;
|
|
@@ -4074,6 +4286,14 @@ export interface AnalysisSimpleAnalyzer {
|
|
|
4074
4286
|
type: 'simple';
|
|
4075
4287
|
version?: VersionString;
|
|
4076
4288
|
}
|
|
4289
|
+
export interface AnalysisSimplePatternSplitTokenizer extends AnalysisTokenizerBase {
|
|
4290
|
+
type: 'simple_pattern_split';
|
|
4291
|
+
pattern?: string;
|
|
4292
|
+
}
|
|
4293
|
+
export interface AnalysisSimplePatternTokenizer extends AnalysisTokenizerBase {
|
|
4294
|
+
type: 'simple_pattern';
|
|
4295
|
+
pattern?: string;
|
|
4296
|
+
}
|
|
4077
4297
|
export interface AnalysisSnowballAnalyzer {
|
|
4078
4298
|
type: 'snowball';
|
|
4079
4299
|
version?: VersionString;
|
|
@@ -4085,6 +4305,18 @@ export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4085
4305
|
type: 'snowball';
|
|
4086
4306
|
language?: AnalysisSnowballLanguage;
|
|
4087
4307
|
}
|
|
4308
|
+
export interface AnalysisSoraniAnalyzer {
|
|
4309
|
+
type: 'sorani';
|
|
4310
|
+
stopwords?: AnalysisStopWords;
|
|
4311
|
+
stopwords_path?: string;
|
|
4312
|
+
stem_exclusion?: string[];
|
|
4313
|
+
}
|
|
4314
|
+
export interface AnalysisSpanishAnalyzer {
|
|
4315
|
+
type: 'spanish';
|
|
4316
|
+
stopwords?: AnalysisStopWords;
|
|
4317
|
+
stopwords_path?: string;
|
|
4318
|
+
stem_exclusion?: string[];
|
|
4319
|
+
}
|
|
4088
4320
|
export interface AnalysisStandardAnalyzer {
|
|
4089
4321
|
type: 'standard';
|
|
4090
4322
|
max_token_length?: integer;
|
|
@@ -4118,6 +4350,12 @@ export interface AnalysisStopTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4118
4350
|
stopwords_path?: string;
|
|
4119
4351
|
}
|
|
4120
4352
|
export type AnalysisStopWords = string | string[];
|
|
4353
|
+
export interface AnalysisSwedishAnalyzer {
|
|
4354
|
+
type: 'swedish';
|
|
4355
|
+
stopwords?: AnalysisStopWords;
|
|
4356
|
+
stopwords_path?: string;
|
|
4357
|
+
stem_exclusion?: string[];
|
|
4358
|
+
}
|
|
4121
4359
|
export type AnalysisSynonymFormat = 'solr' | 'wordnet';
|
|
4122
4360
|
export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase {
|
|
4123
4361
|
type: 'synonym_graph';
|
|
@@ -4141,6 +4379,14 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4141
4379
|
tokenizer?: string;
|
|
4142
4380
|
updateable?: boolean;
|
|
4143
4381
|
}
|
|
4382
|
+
export interface AnalysisThaiAnalyzer {
|
|
4383
|
+
type: 'thai';
|
|
4384
|
+
stopwords?: AnalysisStopWords;
|
|
4385
|
+
stopwords_path?: string;
|
|
4386
|
+
}
|
|
4387
|
+
export interface AnalysisThaiTokenizer extends AnalysisTokenizerBase {
|
|
4388
|
+
type: 'thai';
|
|
4389
|
+
}
|
|
4144
4390
|
export type AnalysisTokenChar = 'letter' | 'digit' | 'whitespace' | 'punctuation' | 'symbol' | 'custom';
|
|
4145
4391
|
export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
4146
4392
|
export interface AnalysisTokenFilterBase {
|
|
@@ -4151,7 +4397,7 @@ export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
|
4151
4397
|
export interface AnalysisTokenizerBase {
|
|
4152
4398
|
version?: VersionString;
|
|
4153
4399
|
}
|
|
4154
|
-
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer |
|
|
4400
|
+
export type AnalysisTokenizerDefinition = AnalysisCharGroupTokenizer | AnalysisClassicTokenizer | AnalysisEdgeNGramTokenizer | AnalysisKeywordTokenizer | AnalysisLetterTokenizer | AnalysisLowercaseTokenizer | AnalysisNGramTokenizer | AnalysisPathHierarchyTokenizer | AnalysisPatternTokenizer | AnalysisSimplePatternTokenizer | AnalysisSimplePatternSplitTokenizer | AnalysisStandardTokenizer | AnalysisThaiTokenizer | AnalysisUaxEmailUrlTokenizer | AnalysisWhitespaceTokenizer | AnalysisIcuTokenizer | AnalysisKuromojiTokenizer | AnalysisNoriTokenizer;
|
|
4155
4401
|
export interface AnalysisTrimTokenFilter extends AnalysisTokenFilterBase {
|
|
4156
4402
|
type: 'trim';
|
|
4157
4403
|
}
|
|
@@ -4159,6 +4405,12 @@ export interface AnalysisTruncateTokenFilter extends AnalysisTokenFilterBase {
|
|
|
4159
4405
|
type: 'truncate';
|
|
4160
4406
|
length?: integer;
|
|
4161
4407
|
}
|
|
4408
|
+
export interface AnalysisTurkishAnalyzer {
|
|
4409
|
+
type: 'turkish';
|
|
4410
|
+
stopwords?: AnalysisStopWords;
|
|
4411
|
+
stopwords_path?: string;
|
|
4412
|
+
stem_exclusion?: string[];
|
|
4413
|
+
}
|
|
4162
4414
|
export interface AnalysisUaxEmailUrlTokenizer extends AnalysisTokenizerBase {
|
|
4163
4415
|
type: 'uax_url_email';
|
|
4164
4416
|
max_token_length?: integer;
|
|
@@ -4253,13 +4505,15 @@ export interface MappingCompletionProperty extends MappingDocValuesPropertyBase
|
|
|
4253
4505
|
search_analyzer?: string;
|
|
4254
4506
|
type: 'completion';
|
|
4255
4507
|
}
|
|
4508
|
+
export interface MappingCompositeSubField {
|
|
4509
|
+
type: MappingRuntimeFieldType;
|
|
4510
|
+
}
|
|
4256
4511
|
export interface MappingConstantKeywordProperty extends MappingPropertyBase {
|
|
4257
4512
|
value?: any;
|
|
4258
4513
|
type: 'constant_keyword';
|
|
4259
4514
|
}
|
|
4260
4515
|
export interface MappingCorePropertyBase extends MappingPropertyBase {
|
|
4261
4516
|
copy_to?: Fields;
|
|
4262
|
-
similarity?: string;
|
|
4263
4517
|
store?: boolean;
|
|
4264
4518
|
}
|
|
4265
4519
|
export interface MappingDataStreamTimestamp {
|
|
@@ -4329,7 +4583,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4329
4583
|
index?: boolean;
|
|
4330
4584
|
index_options?: MappingIndexOptions;
|
|
4331
4585
|
index_phrases?: boolean;
|
|
4332
|
-
index_prefixes?: MappingTextIndexPrefixes;
|
|
4586
|
+
index_prefixes?: MappingTextIndexPrefixes | null;
|
|
4333
4587
|
norms?: boolean;
|
|
4334
4588
|
position_increment_gap?: integer;
|
|
4335
4589
|
search_analyzer?: string;
|
|
@@ -4466,6 +4720,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4466
4720
|
normalizer?: string;
|
|
4467
4721
|
norms?: boolean;
|
|
4468
4722
|
null_value?: string;
|
|
4723
|
+
similarity?: string | null;
|
|
4469
4724
|
split_queries_on_whitespace?: boolean;
|
|
4470
4725
|
time_series_dimension?: boolean;
|
|
4471
4726
|
type: 'keyword';
|
|
@@ -4543,6 +4798,7 @@ export interface MappingRoutingField {
|
|
|
4543
4798
|
required: boolean;
|
|
4544
4799
|
}
|
|
4545
4800
|
export interface MappingRuntimeField {
|
|
4801
|
+
fields?: Record<string, MappingCompositeSubField>;
|
|
4546
4802
|
fetch_fields?: (MappingRuntimeFieldFetchFields | Field)[];
|
|
4547
4803
|
format?: string;
|
|
4548
4804
|
input_field?: Field;
|
|
@@ -4570,6 +4826,7 @@ export interface MappingSearchAsYouTypeProperty extends MappingCorePropertyBase
|
|
|
4570
4826
|
norms?: boolean;
|
|
4571
4827
|
search_analyzer?: string;
|
|
4572
4828
|
search_quote_analyzer?: string;
|
|
4829
|
+
similarity?: string | null;
|
|
4573
4830
|
term_vector?: MappingTermVectorOption;
|
|
4574
4831
|
type: 'search_as_you_type';
|
|
4575
4832
|
}
|
|
@@ -4624,11 +4881,12 @@ export interface MappingTextProperty extends MappingCorePropertyBase {
|
|
|
4624
4881
|
index?: boolean;
|
|
4625
4882
|
index_options?: MappingIndexOptions;
|
|
4626
4883
|
index_phrases?: boolean;
|
|
4627
|
-
index_prefixes?: MappingTextIndexPrefixes;
|
|
4884
|
+
index_prefixes?: MappingTextIndexPrefixes | null;
|
|
4628
4885
|
norms?: boolean;
|
|
4629
4886
|
position_increment_gap?: integer;
|
|
4630
4887
|
search_analyzer?: string;
|
|
4631
4888
|
search_quote_analyzer?: string;
|
|
4889
|
+
similarity?: string | null;
|
|
4632
4890
|
term_vector?: MappingTermVectorOption;
|
|
4633
4891
|
type: 'text';
|
|
4634
4892
|
}
|
|
@@ -5066,7 +5324,7 @@ export interface QueryDslQueryContainer {
|
|
|
5066
5324
|
dis_max?: QueryDslDisMaxQuery;
|
|
5067
5325
|
distance_feature?: QueryDslDistanceFeatureQuery;
|
|
5068
5326
|
exists?: QueryDslExistsQuery;
|
|
5069
|
-
function_score?: QueryDslFunctionScoreQuery;
|
|
5327
|
+
function_score?: QueryDslFunctionScoreQuery | QueryDslFunctionScoreContainer[];
|
|
5070
5328
|
fuzzy?: Partial<Record<Field, QueryDslFuzzyQuery | string | double | boolean>>;
|
|
5071
5329
|
geo_bounding_box?: QueryDslGeoBoundingBoxQuery;
|
|
5072
5330
|
geo_distance?: QueryDslGeoDistanceQuery;
|
|
@@ -5563,39 +5821,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
|
|
5563
5821
|
}
|
|
5564
5822
|
export type CatAliasesResponse = CatAliasesAliasesRecord[];
|
|
5565
5823
|
export interface CatAllocationAllocationRecord {
|
|
5566
|
-
shards
|
|
5567
|
-
s
|
|
5568
|
-
'shards.undesired'
|
|
5569
|
-
'write_load.forecast'
|
|
5570
|
-
wlf
|
|
5571
|
-
writeLoadForecast
|
|
5572
|
-
'disk.indices.forecast'
|
|
5573
|
-
dif
|
|
5574
|
-
diskIndicesForecast
|
|
5575
|
-
'disk.indices'
|
|
5576
|
-
di
|
|
5577
|
-
diskIndices
|
|
5578
|
-
'disk.used'
|
|
5579
|
-
du
|
|
5580
|
-
diskUsed
|
|
5581
|
-
'disk.avail'
|
|
5582
|
-
da
|
|
5583
|
-
diskAvail
|
|
5584
|
-
'disk.total'
|
|
5585
|
-
dt
|
|
5586
|
-
diskTotal
|
|
5587
|
-
'disk.percent'
|
|
5588
|
-
dp
|
|
5589
|
-
diskPercent
|
|
5590
|
-
host
|
|
5591
|
-
h
|
|
5592
|
-
ip
|
|
5593
|
-
node
|
|
5594
|
-
n
|
|
5595
|
-
'node.role'
|
|
5596
|
-
r
|
|
5597
|
-
role
|
|
5598
|
-
nodeRole
|
|
5824
|
+
shards?: string;
|
|
5825
|
+
s?: string;
|
|
5826
|
+
'shards.undesired'?: string | null;
|
|
5827
|
+
'write_load.forecast'?: SpecUtilsStringified<double> | null;
|
|
5828
|
+
wlf?: SpecUtilsStringified<double> | null;
|
|
5829
|
+
writeLoadForecast?: SpecUtilsStringified<double> | null;
|
|
5830
|
+
'disk.indices.forecast'?: ByteSize | null;
|
|
5831
|
+
dif?: ByteSize | null;
|
|
5832
|
+
diskIndicesForecast?: ByteSize | null;
|
|
5833
|
+
'disk.indices'?: ByteSize | null;
|
|
5834
|
+
di?: ByteSize | null;
|
|
5835
|
+
diskIndices?: ByteSize | null;
|
|
5836
|
+
'disk.used'?: ByteSize | null;
|
|
5837
|
+
du?: ByteSize | null;
|
|
5838
|
+
diskUsed?: ByteSize | null;
|
|
5839
|
+
'disk.avail'?: ByteSize | null;
|
|
5840
|
+
da?: ByteSize | null;
|
|
5841
|
+
diskAvail?: ByteSize | null;
|
|
5842
|
+
'disk.total'?: ByteSize | null;
|
|
5843
|
+
dt?: ByteSize | null;
|
|
5844
|
+
diskTotal?: ByteSize | null;
|
|
5845
|
+
'disk.percent'?: Percentage | null;
|
|
5846
|
+
dp?: Percentage | null;
|
|
5847
|
+
diskPercent?: Percentage | null;
|
|
5848
|
+
host?: Host | null;
|
|
5849
|
+
h?: Host | null;
|
|
5850
|
+
ip?: Ip | null;
|
|
5851
|
+
node?: string;
|
|
5852
|
+
n?: string;
|
|
5853
|
+
'node.role'?: string | null;
|
|
5854
|
+
r?: string | null;
|
|
5855
|
+
role?: string | null;
|
|
5856
|
+
nodeRole?: string | null;
|
|
5599
5857
|
}
|
|
5600
5858
|
export interface CatAllocationRequest extends CatCatRequestBase {
|
|
5601
5859
|
node_id?: NodeIds;
|
|
@@ -5682,6 +5940,10 @@ export interface CatHealthHealthRecord {
|
|
|
5682
5940
|
i?: string;
|
|
5683
5941
|
'shards.initializing'?: string;
|
|
5684
5942
|
shardsInitializing?: string;
|
|
5943
|
+
'unassign.pri'?: string;
|
|
5944
|
+
up?: string;
|
|
5945
|
+
'shards.unassigned.primary'?: string;
|
|
5946
|
+
shardsUnassignedPrimary?: string;
|
|
5685
5947
|
unassign?: string;
|
|
5686
5948
|
u?: string;
|
|
5687
5949
|
'shards.unassigned'?: string;
|
|
@@ -7491,6 +7753,7 @@ export interface ClusterAllocationExplainClusterInfo {
|
|
|
7491
7753
|
export interface ClusterAllocationExplainCurrentNode {
|
|
7492
7754
|
id: Id;
|
|
7493
7755
|
name: Name;
|
|
7756
|
+
roles: NodeRoles;
|
|
7494
7757
|
attributes: Record<string, string>;
|
|
7495
7758
|
transport_address: TransportAddress;
|
|
7496
7759
|
weight_ranking: integer;
|
|
@@ -7510,6 +7773,7 @@ export interface ClusterAllocationExplainNodeAllocationExplanation {
|
|
|
7510
7773
|
node_decision: ClusterAllocationExplainDecision;
|
|
7511
7774
|
node_id: Id;
|
|
7512
7775
|
node_name: Name;
|
|
7776
|
+
roles: NodeRoles;
|
|
7513
7777
|
store?: ClusterAllocationExplainAllocationStore;
|
|
7514
7778
|
transport_address: TransportAddress;
|
|
7515
7779
|
weight_ranking: integer;
|
|
@@ -7627,6 +7891,7 @@ export interface ClusterHealthHealthResponseBody {
|
|
|
7627
7891
|
task_max_waiting_in_queue?: Duration;
|
|
7628
7892
|
task_max_waiting_in_queue_millis: DurationValue<UnitMillis>;
|
|
7629
7893
|
timed_out: boolean;
|
|
7894
|
+
unassigned_primary_shards: integer;
|
|
7630
7895
|
unassigned_shards: integer;
|
|
7631
7896
|
}
|
|
7632
7897
|
export interface ClusterHealthIndexHealthStats {
|
|
@@ -7639,6 +7904,7 @@ export interface ClusterHealthIndexHealthStats {
|
|
|
7639
7904
|
shards?: Record<string, ClusterHealthShardHealthStats>;
|
|
7640
7905
|
status: HealthStatus;
|
|
7641
7906
|
unassigned_shards: integer;
|
|
7907
|
+
unassigned_primary_shards: integer;
|
|
7642
7908
|
}
|
|
7643
7909
|
export interface ClusterHealthRequest extends RequestBase {
|
|
7644
7910
|
index?: Indices;
|
|
@@ -7662,6 +7928,7 @@ export interface ClusterHealthShardHealthStats {
|
|
|
7662
7928
|
relocating_shards: integer;
|
|
7663
7929
|
status: HealthStatus;
|
|
7664
7930
|
unassigned_shards: integer;
|
|
7931
|
+
unassigned_primary_shards: integer;
|
|
7665
7932
|
}
|
|
7666
7933
|
export interface ClusterInfoRequest extends RequestBase {
|
|
7667
7934
|
target: ClusterInfoTargets;
|
|
@@ -8019,7 +8286,7 @@ export interface ClusterStatsOperatingSystemMemoryInfo {
|
|
|
8019
8286
|
}
|
|
8020
8287
|
export interface ClusterStatsRequest extends RequestBase {
|
|
8021
8288
|
node_id?: NodeIds;
|
|
8022
|
-
|
|
8289
|
+
include_remotes?: boolean;
|
|
8023
8290
|
timeout?: Duration;
|
|
8024
8291
|
}
|
|
8025
8292
|
export type ClusterStatsResponse = ClusterStatsStatsResponseBase;
|
|
@@ -8564,6 +8831,7 @@ export interface EnrichStatsCacheStats {
|
|
|
8564
8831
|
misses: integer;
|
|
8565
8832
|
misses_time_in_millis: DurationValue<UnitMillis>;
|
|
8566
8833
|
evictions: integer;
|
|
8834
|
+
size_in_bytes: long;
|
|
8567
8835
|
}
|
|
8568
8836
|
export interface EnrichStatsCoordinatorStats {
|
|
8569
8837
|
executed_searches_total: long;
|
|
@@ -8653,17 +8921,30 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
8653
8921
|
}
|
|
8654
8922
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
8655
8923
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
8924
|
+
export interface EsqlTableValuesContainer {
|
|
8925
|
+
integer?: EsqlTableValuesIntegerValue[];
|
|
8926
|
+
keyword?: EsqlTableValuesKeywordValue[];
|
|
8927
|
+
long?: EsqlTableValuesLongValue[];
|
|
8928
|
+
double?: EsqlTableValuesLongDouble[];
|
|
8929
|
+
}
|
|
8930
|
+
export type EsqlTableValuesIntegerValue = integer | integer[];
|
|
8931
|
+
export type EsqlTableValuesKeywordValue = string | string[];
|
|
8932
|
+
export type EsqlTableValuesLongDouble = double | double[];
|
|
8933
|
+
export type EsqlTableValuesLongValue = long | long[];
|
|
8656
8934
|
export type EsqlQueryEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
8657
8935
|
export interface EsqlQueryRequest extends RequestBase {
|
|
8658
8936
|
format?: EsqlQueryEsqlFormat;
|
|
8659
8937
|
delimiter?: string;
|
|
8938
|
+
drop_null_columns?: boolean;
|
|
8660
8939
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8661
8940
|
body?: {
|
|
8662
8941
|
columnar?: boolean;
|
|
8663
8942
|
filter?: QueryDslQueryContainer;
|
|
8664
8943
|
locale?: string;
|
|
8665
|
-
params?:
|
|
8944
|
+
params?: FieldValue[];
|
|
8945
|
+
profile?: boolean;
|
|
8666
8946
|
query: string;
|
|
8947
|
+
tables?: Record<string, Record<string, EsqlTableValuesContainer>>;
|
|
8667
8948
|
};
|
|
8668
8949
|
}
|
|
8669
8950
|
export type EsqlQueryResponse = EsqlColumns;
|
|
@@ -9086,6 +9367,7 @@ export interface IndicesCacheQueries {
|
|
|
9086
9367
|
export interface IndicesDataStream {
|
|
9087
9368
|
_meta?: Metadata;
|
|
9088
9369
|
allow_custom_routing?: boolean;
|
|
9370
|
+
failure_store?: IndicesFailureStore;
|
|
9089
9371
|
generation: integer;
|
|
9090
9372
|
hidden: boolean;
|
|
9091
9373
|
ilm_policy?: Name;
|
|
@@ -9095,6 +9377,7 @@ export interface IndicesDataStream {
|
|
|
9095
9377
|
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
9096
9378
|
name: DataStreamName;
|
|
9097
9379
|
replicated?: boolean;
|
|
9380
|
+
rollover_on_write: boolean;
|
|
9098
9381
|
status: HealthStatus;
|
|
9099
9382
|
system?: boolean;
|
|
9100
9383
|
template: Name;
|
|
@@ -9104,8 +9387,8 @@ export interface IndicesDataStreamIndex {
|
|
|
9104
9387
|
index_name: IndexName;
|
|
9105
9388
|
index_uuid: Uuid;
|
|
9106
9389
|
ilm_policy?: Name;
|
|
9107
|
-
managed_by
|
|
9108
|
-
prefer_ilm
|
|
9390
|
+
managed_by?: IndicesManagedBy;
|
|
9391
|
+
prefer_ilm?: boolean;
|
|
9109
9392
|
}
|
|
9110
9393
|
export interface IndicesDataStreamLifecycle {
|
|
9111
9394
|
data_retention?: Duration;
|
|
@@ -9145,6 +9428,11 @@ export interface IndicesDownsamplingRound {
|
|
|
9145
9428
|
after: Duration;
|
|
9146
9429
|
config: IndicesDownsampleConfig;
|
|
9147
9430
|
}
|
|
9431
|
+
export interface IndicesFailureStore {
|
|
9432
|
+
enabled: boolean;
|
|
9433
|
+
indices: IndicesDataStreamIndex[];
|
|
9434
|
+
rollover_on_write: boolean;
|
|
9435
|
+
}
|
|
9148
9436
|
export interface IndicesFielddataFrequencyFilter {
|
|
9149
9437
|
max: double;
|
|
9150
9438
|
min: double;
|
|
@@ -9616,6 +9904,8 @@ export interface IndicesCreateResponse {
|
|
|
9616
9904
|
}
|
|
9617
9905
|
export interface IndicesCreateDataStreamRequest extends RequestBase {
|
|
9618
9906
|
name: DataStreamName;
|
|
9907
|
+
master_timeout?: Duration;
|
|
9908
|
+
timeout?: Duration;
|
|
9619
9909
|
}
|
|
9620
9910
|
export type IndicesCreateDataStreamResponse = AcknowledgedResponseBase;
|
|
9621
9911
|
export interface IndicesDataStreamsStatsDataStreamsStatsItem {
|
|
@@ -9662,6 +9952,7 @@ export interface IndicesDeleteDataLifecycleRequest extends RequestBase {
|
|
|
9662
9952
|
export type IndicesDeleteDataLifecycleResponse = AcknowledgedResponseBase;
|
|
9663
9953
|
export interface IndicesDeleteDataStreamRequest extends RequestBase {
|
|
9664
9954
|
name: DataStreamNames;
|
|
9955
|
+
master_timeout?: Duration;
|
|
9665
9956
|
expand_wildcards?: ExpandWildcards;
|
|
9666
9957
|
}
|
|
9667
9958
|
export type IndicesDeleteDataStreamResponse = AcknowledgedResponseBase;
|
|
@@ -9849,6 +10140,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
9849
10140
|
name: DataStreamNames;
|
|
9850
10141
|
expand_wildcards?: ExpandWildcards;
|
|
9851
10142
|
include_defaults?: boolean;
|
|
10143
|
+
master_timeout?: Duration;
|
|
9852
10144
|
}
|
|
9853
10145
|
export interface IndicesGetDataLifecycleResponse {
|
|
9854
10146
|
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
@@ -9857,6 +10149,8 @@ export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
|
9857
10149
|
name?: DataStreamNames;
|
|
9858
10150
|
expand_wildcards?: ExpandWildcards;
|
|
9859
10151
|
include_defaults?: boolean;
|
|
10152
|
+
master_timeout?: Duration;
|
|
10153
|
+
verbose?: boolean;
|
|
9860
10154
|
}
|
|
9861
10155
|
export interface IndicesGetDataStreamResponse {
|
|
9862
10156
|
data_streams: IndicesDataStream[];
|
|
@@ -9922,6 +10216,8 @@ export interface IndicesGetTemplateRequest extends RequestBase {
|
|
|
9922
10216
|
export type IndicesGetTemplateResponse = Record<string, IndicesTemplateMapping>;
|
|
9923
10217
|
export interface IndicesMigrateToDataStreamRequest extends RequestBase {
|
|
9924
10218
|
name: IndexName;
|
|
10219
|
+
master_timeout?: Duration;
|
|
10220
|
+
timeout?: Duration;
|
|
9925
10221
|
}
|
|
9926
10222
|
export type IndicesMigrateToDataStreamResponse = AcknowledgedResponseBase;
|
|
9927
10223
|
export interface IndicesModifyDataStreamAction {
|
|
@@ -9954,6 +10250,7 @@ export interface IndicesOpenResponse {
|
|
|
9954
10250
|
}
|
|
9955
10251
|
export interface IndicesPromoteDataStreamRequest extends RequestBase {
|
|
9956
10252
|
name: IndexName;
|
|
10253
|
+
master_timeout?: Duration;
|
|
9957
10254
|
}
|
|
9958
10255
|
export type IndicesPromoteDataStreamResponse = any;
|
|
9959
10256
|
export interface IndicesPutAliasRequest extends RequestBase {
|
|
@@ -10640,7 +10937,7 @@ export type InferenceDenseVector = float[];
|
|
|
10640
10937
|
export interface InferenceInferenceEndpoint {
|
|
10641
10938
|
service: string;
|
|
10642
10939
|
service_settings: InferenceServiceSettings;
|
|
10643
|
-
task_settings
|
|
10940
|
+
task_settings?: InferenceTaskSettings;
|
|
10644
10941
|
}
|
|
10645
10942
|
export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoint {
|
|
10646
10943
|
inference_id: string;
|
|
@@ -10706,7 +11003,7 @@ export interface InferencePutRequest extends RequestBase {
|
|
|
10706
11003
|
export type InferencePutResponse = InferenceInferenceEndpointInfo;
|
|
10707
11004
|
export interface IngestAppendProcessor extends IngestProcessorBase {
|
|
10708
11005
|
field: Field;
|
|
10709
|
-
value: any[];
|
|
11006
|
+
value: any | any[];
|
|
10710
11007
|
allow_duplicates?: boolean;
|
|
10711
11008
|
}
|
|
10712
11009
|
export interface IngestAttachmentProcessor extends IngestProcessorBase {
|
|
@@ -10731,13 +11028,26 @@ export interface IngestCircleProcessor extends IngestProcessorBase {
|
|
|
10731
11028
|
shape_type: IngestShapeType;
|
|
10732
11029
|
target_field?: Field;
|
|
10733
11030
|
}
|
|
11031
|
+
export interface IngestCommunityIDProcessor extends IngestProcessorBase {
|
|
11032
|
+
source_ip?: Field;
|
|
11033
|
+
source_port?: Field;
|
|
11034
|
+
destination_ip?: Field;
|
|
11035
|
+
destination_port?: Field;
|
|
11036
|
+
iana_number?: Field;
|
|
11037
|
+
icmp_type?: Field;
|
|
11038
|
+
icmp_code?: Field;
|
|
11039
|
+
transport?: Field;
|
|
11040
|
+
target_field?: Field;
|
|
11041
|
+
seed?: integer;
|
|
11042
|
+
ignore_missing?: boolean;
|
|
11043
|
+
}
|
|
10734
11044
|
export interface IngestConvertProcessor extends IngestProcessorBase {
|
|
10735
11045
|
field: Field;
|
|
10736
11046
|
ignore_missing?: boolean;
|
|
10737
11047
|
target_field?: Field;
|
|
10738
11048
|
type: IngestConvertType;
|
|
10739
11049
|
}
|
|
10740
|
-
export type IngestConvertType = 'integer' | 'long' | 'float' | '
|
|
11050
|
+
export type IngestConvertType = 'integer' | 'long' | 'double' | 'float' | 'boolean' | 'ip' | 'string' | 'auto';
|
|
10741
11051
|
export interface IngestCsvProcessor extends IngestProcessorBase {
|
|
10742
11052
|
empty_value?: any;
|
|
10743
11053
|
field: Field;
|
|
@@ -10766,6 +11076,7 @@ export interface IngestDateProcessor extends IngestProcessorBase {
|
|
|
10766
11076
|
locale?: string;
|
|
10767
11077
|
target_field?: Field;
|
|
10768
11078
|
timezone?: string;
|
|
11079
|
+
output_format?: string;
|
|
10769
11080
|
}
|
|
10770
11081
|
export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
10771
11082
|
append_separator?: string;
|
|
@@ -10775,6 +11086,7 @@ export interface IngestDissectProcessor extends IngestProcessorBase {
|
|
|
10775
11086
|
}
|
|
10776
11087
|
export interface IngestDotExpanderProcessor extends IngestProcessorBase {
|
|
10777
11088
|
field: Field;
|
|
11089
|
+
override?: boolean;
|
|
10778
11090
|
path?: string;
|
|
10779
11091
|
}
|
|
10780
11092
|
export interface IngestDropProcessor extends IngestProcessorBase {
|
|
@@ -10791,6 +11103,14 @@ export interface IngestEnrichProcessor extends IngestProcessorBase {
|
|
|
10791
11103
|
export interface IngestFailProcessor extends IngestProcessorBase {
|
|
10792
11104
|
message: string;
|
|
10793
11105
|
}
|
|
11106
|
+
export type IngestFingerprintDigest = 'MD5' | 'SHA-1' | 'SHA-256' | 'SHA-512' | 'MurmurHash3';
|
|
11107
|
+
export interface IngestFingerprintProcessor extends IngestProcessorBase {
|
|
11108
|
+
fields: Fields;
|
|
11109
|
+
target_field?: Field;
|
|
11110
|
+
salt?: string;
|
|
11111
|
+
method?: IngestFingerprintDigest;
|
|
11112
|
+
ignore_missing?: boolean;
|
|
11113
|
+
}
|
|
10794
11114
|
export interface IngestForeachProcessor extends IngestProcessorBase {
|
|
10795
11115
|
field: Field;
|
|
10796
11116
|
ignore_missing?: boolean;
|
|
@@ -10816,8 +11136,10 @@ export interface IngestGeoIpProcessor extends IngestProcessorBase {
|
|
|
10816
11136
|
ignore_missing?: boolean;
|
|
10817
11137
|
properties?: string[];
|
|
10818
11138
|
target_field?: Field;
|
|
11139
|
+
download_database_on_pipeline_creation?: boolean;
|
|
10819
11140
|
}
|
|
10820
11141
|
export interface IngestGrokProcessor extends IngestProcessorBase {
|
|
11142
|
+
ecs_compatibility?: string;
|
|
10821
11143
|
field: Field;
|
|
10822
11144
|
ignore_missing?: boolean;
|
|
10823
11145
|
pattern_definitions?: Record<string, string>;
|
|
@@ -10857,6 +11179,15 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
10857
11179
|
field_map?: Record<Field, any>;
|
|
10858
11180
|
inference_config?: IngestInferenceConfig;
|
|
10859
11181
|
}
|
|
11182
|
+
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
11183
|
+
database_file?: string;
|
|
11184
|
+
field: Field;
|
|
11185
|
+
first_only?: boolean;
|
|
11186
|
+
ignore_missing?: boolean;
|
|
11187
|
+
properties?: string[];
|
|
11188
|
+
target_field?: Field;
|
|
11189
|
+
download_database_on_pipeline_creation?: boolean;
|
|
11190
|
+
}
|
|
10860
11191
|
export interface IngestJoinProcessor extends IngestProcessorBase {
|
|
10861
11192
|
field: Field;
|
|
10862
11193
|
separator: string;
|
|
@@ -10891,11 +11222,20 @@ export interface IngestLowercaseProcessor extends IngestProcessorBase {
|
|
|
10891
11222
|
export interface IngestMaxmind {
|
|
10892
11223
|
account_id: Id;
|
|
10893
11224
|
}
|
|
11225
|
+
export interface IngestNetworkDirectionProcessor extends IngestProcessorBase {
|
|
11226
|
+
source_ip?: Field;
|
|
11227
|
+
destination_ip?: Field;
|
|
11228
|
+
target_field?: Field;
|
|
11229
|
+
internal_networks?: string[];
|
|
11230
|
+
internal_networks_field?: Field;
|
|
11231
|
+
ignore_missing?: boolean;
|
|
11232
|
+
}
|
|
10894
11233
|
export interface IngestPipeline {
|
|
10895
11234
|
description?: string;
|
|
10896
11235
|
on_failure?: IngestProcessorContainer[];
|
|
10897
11236
|
processors?: IngestProcessorContainer[];
|
|
10898
11237
|
version?: VersionNumber;
|
|
11238
|
+
deprecated?: boolean;
|
|
10899
11239
|
_meta?: Metadata;
|
|
10900
11240
|
}
|
|
10901
11241
|
export interface IngestPipelineConfig {
|
|
@@ -10919,6 +11259,7 @@ export interface IngestProcessorContainer {
|
|
|
10919
11259
|
attachment?: IngestAttachmentProcessor;
|
|
10920
11260
|
bytes?: IngestBytesProcessor;
|
|
10921
11261
|
circle?: IngestCircleProcessor;
|
|
11262
|
+
community_id?: IngestCommunityIDProcessor;
|
|
10922
11263
|
convert?: IngestConvertProcessor;
|
|
10923
11264
|
csv?: IngestCsvProcessor;
|
|
10924
11265
|
date?: IngestDateProcessor;
|
|
@@ -10928,7 +11269,9 @@ export interface IngestProcessorContainer {
|
|
|
10928
11269
|
drop?: IngestDropProcessor;
|
|
10929
11270
|
enrich?: IngestEnrichProcessor;
|
|
10930
11271
|
fail?: IngestFailProcessor;
|
|
11272
|
+
fingerprint?: IngestFingerprintProcessor;
|
|
10931
11273
|
foreach?: IngestForeachProcessor;
|
|
11274
|
+
ip_location?: IngestIpLocationProcessor;
|
|
10932
11275
|
geo_grid?: IngestGeoGridProcessor;
|
|
10933
11276
|
geoip?: IngestGeoIpProcessor;
|
|
10934
11277
|
grok?: IngestGrokProcessor;
|
|
@@ -10939,8 +11282,10 @@ export interface IngestProcessorContainer {
|
|
|
10939
11282
|
json?: IngestJsonProcessor;
|
|
10940
11283
|
kv?: IngestKeyValueProcessor;
|
|
10941
11284
|
lowercase?: IngestLowercaseProcessor;
|
|
11285
|
+
network_direction?: IngestNetworkDirectionProcessor;
|
|
10942
11286
|
pipeline?: IngestPipelineProcessor;
|
|
10943
11287
|
redact?: IngestRedactProcessor;
|
|
11288
|
+
registered_domain?: IngestRegisteredDomainProcessor;
|
|
10944
11289
|
remove?: IngestRemoveProcessor;
|
|
10945
11290
|
rename?: IngestRenameProcessor;
|
|
10946
11291
|
reroute?: IngestRerouteProcessor;
|
|
@@ -10949,6 +11294,7 @@ export interface IngestProcessorContainer {
|
|
|
10949
11294
|
set_security_user?: IngestSetSecurityUserProcessor;
|
|
10950
11295
|
sort?: IngestSortProcessor;
|
|
10951
11296
|
split?: IngestSplitProcessor;
|
|
11297
|
+
terminate?: IngestTerminateProcessor;
|
|
10952
11298
|
trim?: IngestTrimProcessor;
|
|
10953
11299
|
uppercase?: IngestUppercaseProcessor;
|
|
10954
11300
|
urldecode?: IngestUrlDecodeProcessor;
|
|
@@ -10963,6 +11309,12 @@ export interface IngestRedactProcessor extends IngestProcessorBase {
|
|
|
10963
11309
|
suffix?: string;
|
|
10964
11310
|
ignore_missing?: boolean;
|
|
10965
11311
|
skip_if_unlicensed?: boolean;
|
|
11312
|
+
trace_redact?: boolean;
|
|
11313
|
+
}
|
|
11314
|
+
export interface IngestRegisteredDomainProcessor extends IngestProcessorBase {
|
|
11315
|
+
field: Field;
|
|
11316
|
+
target_field?: Field;
|
|
11317
|
+
ignore_missing?: boolean;
|
|
10966
11318
|
}
|
|
10967
11319
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10968
11320
|
field: Fields;
|
|
@@ -11010,6 +11362,8 @@ export interface IngestSplitProcessor extends IngestProcessorBase {
|
|
|
11010
11362
|
separator: string;
|
|
11011
11363
|
target_field?: Field;
|
|
11012
11364
|
}
|
|
11365
|
+
export interface IngestTerminateProcessor extends IngestProcessorBase {
|
|
11366
|
+
}
|
|
11013
11367
|
export interface IngestTrimProcessor extends IngestProcessorBase {
|
|
11014
11368
|
field: Field;
|
|
11015
11369
|
ignore_missing?: boolean;
|
|
@@ -11035,11 +11389,12 @@ export interface IngestUrlDecodeProcessor extends IngestProcessorBase {
|
|
|
11035
11389
|
export interface IngestUserAgentProcessor extends IngestProcessorBase {
|
|
11036
11390
|
field: Field;
|
|
11037
11391
|
ignore_missing?: boolean;
|
|
11038
|
-
options?: IngestUserAgentProperty[];
|
|
11039
11392
|
regex_file?: string;
|
|
11040
11393
|
target_field?: Field;
|
|
11394
|
+
properties?: IngestUserAgentProperty[];
|
|
11395
|
+
extract_device_type?: boolean;
|
|
11041
11396
|
}
|
|
11042
|
-
export type IngestUserAgentProperty = '
|
|
11397
|
+
export type IngestUserAgentProperty = 'name' | 'os' | 'device' | 'original' | 'version';
|
|
11043
11398
|
export interface IngestDeleteGeoipDatabaseRequest extends RequestBase {
|
|
11044
11399
|
id: Ids;
|
|
11045
11400
|
master_timeout?: Duration;
|
|
@@ -11120,6 +11475,7 @@ export interface IngestPutPipelineRequest extends RequestBase {
|
|
|
11120
11475
|
on_failure?: IngestProcessorContainer[];
|
|
11121
11476
|
processors?: IngestProcessorContainer[];
|
|
11122
11477
|
version?: VersionNumber;
|
|
11478
|
+
deprecated?: boolean;
|
|
11123
11479
|
};
|
|
11124
11480
|
}
|
|
11125
11481
|
export type IngestPutPipelineResponse = AcknowledgedResponseBase;
|
|
@@ -11141,27 +11497,38 @@ export type IngestSimulateDocumentSimulation = IngestSimulateDocumentSimulationK
|
|
|
11141
11497
|
[property: string]: string | Id | IndexName | IngestSimulateIngest | Record<string, any> | SpecUtilsStringified<VersionNumber> | VersionType;
|
|
11142
11498
|
};
|
|
11143
11499
|
export interface IngestSimulateIngest {
|
|
11500
|
+
_redact?: IngestSimulateRedact;
|
|
11144
11501
|
timestamp: DateTime;
|
|
11145
11502
|
pipeline?: Name;
|
|
11146
11503
|
}
|
|
11147
11504
|
export interface IngestSimulatePipelineSimulation {
|
|
11148
11505
|
doc?: IngestSimulateDocumentSimulation;
|
|
11149
|
-
processor_results?: IngestSimulatePipelineSimulation[];
|
|
11150
11506
|
tag?: string;
|
|
11151
11507
|
processor_type?: string;
|
|
11152
11508
|
status?: WatcherActionStatusOptions;
|
|
11509
|
+
description?: string;
|
|
11510
|
+
ignored_error?: ErrorCause;
|
|
11511
|
+
error?: ErrorCause;
|
|
11512
|
+
}
|
|
11513
|
+
export interface IngestSimulateRedact {
|
|
11514
|
+
_is_redacted: boolean;
|
|
11153
11515
|
}
|
|
11154
11516
|
export interface IngestSimulateRequest extends RequestBase {
|
|
11155
11517
|
id?: Id;
|
|
11156
11518
|
verbose?: boolean;
|
|
11157
11519
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
11158
11520
|
body?: {
|
|
11159
|
-
docs
|
|
11521
|
+
docs: IngestSimulateDocument[];
|
|
11160
11522
|
pipeline?: IngestPipeline;
|
|
11161
11523
|
};
|
|
11162
11524
|
}
|
|
11163
11525
|
export interface IngestSimulateResponse {
|
|
11164
|
-
docs:
|
|
11526
|
+
docs: IngestSimulateSimulateDocumentResult[];
|
|
11527
|
+
}
|
|
11528
|
+
export interface IngestSimulateSimulateDocumentResult {
|
|
11529
|
+
doc?: IngestSimulateDocumentSimulation;
|
|
11530
|
+
error?: ErrorCause;
|
|
11531
|
+
processor_results?: IngestSimulatePipelineSimulation[];
|
|
11165
11532
|
}
|
|
11166
11533
|
export interface LicenseLicense {
|
|
11167
11534
|
expiry_date_in_millis: EpochTime<UnitMillis>;
|
|
@@ -11796,8 +12163,7 @@ export interface MlDelayedDataCheckConfig {
|
|
|
11796
12163
|
enabled: boolean;
|
|
11797
12164
|
}
|
|
11798
12165
|
export type MlDeploymentAllocationState = 'started' | 'starting' | 'fully_allocated';
|
|
11799
|
-
export type MlDeploymentAssignmentState = '
|
|
11800
|
-
export type MlDeploymentState = 'started' | 'starting' | 'stopping';
|
|
12166
|
+
export type MlDeploymentAssignmentState = 'started' | 'starting' | 'stopping' | 'failed';
|
|
11801
12167
|
export interface MlDetectionRule {
|
|
11802
12168
|
actions?: MlRuleAction[];
|
|
11803
12169
|
conditions?: MlRuleCondition[];
|
|
@@ -12136,7 +12502,7 @@ export interface MlPerPartitionCategorization {
|
|
|
12136
12502
|
enabled?: boolean;
|
|
12137
12503
|
stop_on_warn?: boolean;
|
|
12138
12504
|
}
|
|
12139
|
-
export type MlPredictedValue =
|
|
12505
|
+
export type MlPredictedValue = ScalarValue | ScalarValue[];
|
|
12140
12506
|
export interface MlQuestionAnsweringInferenceOptions {
|
|
12141
12507
|
num_top_classes?: integer;
|
|
12142
12508
|
tokenization?: MlTokenizationConfigContainer;
|
|
@@ -12311,7 +12677,7 @@ export interface MlTrainedModelDeploymentStats {
|
|
|
12311
12677
|
rejected_execution_count: integer;
|
|
12312
12678
|
reason: string;
|
|
12313
12679
|
start_time: EpochTime<UnitMillis>;
|
|
12314
|
-
state:
|
|
12680
|
+
state: MlDeploymentAssignmentState;
|
|
12315
12681
|
threads_per_allocation: integer;
|
|
12316
12682
|
timeout_count: integer;
|
|
12317
12683
|
}
|
|
@@ -14212,7 +14578,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
|
|
|
14212
14578
|
inference?: NodesInfoNodeInfoIngestInfo;
|
|
14213
14579
|
}
|
|
14214
14580
|
export interface NodesInfoNodeInfoSettingsNetwork {
|
|
14215
|
-
host?: Host;
|
|
14581
|
+
host?: Host | Host[];
|
|
14216
14582
|
}
|
|
14217
14583
|
export interface NodesInfoNodeInfoSettingsNode {
|
|
14218
14584
|
name: Name;
|
|
@@ -14239,6 +14605,7 @@ export interface NodesInfoNodeInfoXpack {
|
|
|
14239
14605
|
license?: NodesInfoNodeInfoXpackLicense;
|
|
14240
14606
|
security: NodesInfoNodeInfoXpackSecurity;
|
|
14241
14607
|
notification?: Record<string, any>;
|
|
14608
|
+
ml?: NodesInfoNodeInfoXpackMl;
|
|
14242
14609
|
}
|
|
14243
14610
|
export interface NodesInfoNodeInfoXpackLicense {
|
|
14244
14611
|
self_generated: NodesInfoNodeInfoXpackLicenseType;
|
|
@@ -14246,6 +14613,9 @@ export interface NodesInfoNodeInfoXpackLicense {
|
|
|
14246
14613
|
export interface NodesInfoNodeInfoXpackLicenseType {
|
|
14247
14614
|
type: string;
|
|
14248
14615
|
}
|
|
14616
|
+
export interface NodesInfoNodeInfoXpackMl {
|
|
14617
|
+
use_auto_machine_memory_percent?: boolean;
|
|
14618
|
+
}
|
|
14249
14619
|
export interface NodesInfoNodeInfoXpackSecurity {
|
|
14250
14620
|
http?: NodesInfoNodeInfoXpackSecuritySsl;
|
|
14251
14621
|
enabled: string;
|
|
@@ -14253,8 +14623,8 @@ export interface NodesInfoNodeInfoXpackSecurity {
|
|
|
14253
14623
|
authc?: NodesInfoNodeInfoXpackSecurityAuthc;
|
|
14254
14624
|
}
|
|
14255
14625
|
export interface NodesInfoNodeInfoXpackSecurityAuthc {
|
|
14256
|
-
realms
|
|
14257
|
-
token
|
|
14626
|
+
realms?: NodesInfoNodeInfoXpackSecurityAuthcRealms;
|
|
14627
|
+
token?: NodesInfoNodeInfoXpackSecurityAuthcToken;
|
|
14258
14628
|
}
|
|
14259
14629
|
export interface NodesInfoNodeInfoXpackSecurityAuthcRealms {
|
|
14260
14630
|
file?: Record<string, NodesInfoNodeInfoXpackSecurityAuthcRealmsStatus>;
|
|
@@ -14389,7 +14759,7 @@ export interface QueryRulesQueryRuleCriteria {
|
|
|
14389
14759
|
values?: any[];
|
|
14390
14760
|
}
|
|
14391
14761
|
export type QueryRulesQueryRuleCriteriaType = 'global' | 'exact' | 'exact_fuzzy' | 'fuzzy' | 'prefix' | 'suffix' | 'contains' | 'lt' | 'lte' | 'gt' | 'gte' | 'always';
|
|
14392
|
-
export type QueryRulesQueryRuleType = 'pinned';
|
|
14762
|
+
export type QueryRulesQueryRuleType = 'pinned' | 'exclude';
|
|
14393
14763
|
export interface QueryRulesQueryRuleset {
|
|
14394
14764
|
ruleset_id: Id;
|
|
14395
14765
|
rules: QueryRulesQueryRule[];
|
|
@@ -14449,6 +14819,21 @@ export interface QueryRulesPutRulesetRequest extends RequestBase {
|
|
|
14449
14819
|
export interface QueryRulesPutRulesetResponse {
|
|
14450
14820
|
result: Result;
|
|
14451
14821
|
}
|
|
14822
|
+
export interface QueryRulesTestQueryRulesetMatchedRule {
|
|
14823
|
+
ruleset_id: Id;
|
|
14824
|
+
rule_id: Id;
|
|
14825
|
+
}
|
|
14826
|
+
export interface QueryRulesTestRequest extends RequestBase {
|
|
14827
|
+
ruleset_id: Id;
|
|
14828
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14829
|
+
body?: {
|
|
14830
|
+
match_criteria: Record<string, any>;
|
|
14831
|
+
};
|
|
14832
|
+
}
|
|
14833
|
+
export interface QueryRulesTestResponse {
|
|
14834
|
+
total_matched_rules: integer;
|
|
14835
|
+
matched_rules: QueryRulesTestQueryRulesetMatchedRule[];
|
|
14836
|
+
}
|
|
14452
14837
|
export interface RollupDateHistogramGrouping {
|
|
14453
14838
|
delay?: Duration;
|
|
14454
14839
|
field: Field;
|
|
@@ -14741,6 +15126,10 @@ export interface SearchableSnapshotsStatsResponse {
|
|
|
14741
15126
|
stats: any;
|
|
14742
15127
|
total: any;
|
|
14743
15128
|
}
|
|
15129
|
+
export interface SecurityAccess {
|
|
15130
|
+
replication?: SecurityReplicationAccess[];
|
|
15131
|
+
search?: SecuritySearchAccess[];
|
|
15132
|
+
}
|
|
14744
15133
|
export interface SecurityApiKey {
|
|
14745
15134
|
creation?: long;
|
|
14746
15135
|
expiration?: long;
|
|
@@ -14771,7 +15160,7 @@ export interface SecurityBulkError {
|
|
|
14771
15160
|
export interface SecurityClusterNode {
|
|
14772
15161
|
name: Name;
|
|
14773
15162
|
}
|
|
14774
|
-
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' | '
|
|
15163
|
+
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;
|
|
14775
15164
|
export interface SecurityCreatedStatus {
|
|
14776
15165
|
created: boolean;
|
|
14777
15166
|
}
|
|
@@ -14804,6 +15193,17 @@ export interface SecurityRealmInfo {
|
|
|
14804
15193
|
name: Name;
|
|
14805
15194
|
type: string;
|
|
14806
15195
|
}
|
|
15196
|
+
export interface SecurityRemoteIndicesPrivileges {
|
|
15197
|
+
clusters: Names;
|
|
15198
|
+
field_security?: SecurityFieldSecurity;
|
|
15199
|
+
names: Indices;
|
|
15200
|
+
privileges: SecurityIndexPrivilege[];
|
|
15201
|
+
query?: SecurityIndicesPrivilegesQuery;
|
|
15202
|
+
allow_restricted_indices?: boolean;
|
|
15203
|
+
}
|
|
15204
|
+
export interface SecurityReplicationAccess {
|
|
15205
|
+
names: IndexName[];
|
|
15206
|
+
}
|
|
14807
15207
|
export interface SecurityRoleDescriptor {
|
|
14808
15208
|
cluster?: SecurityClusterPrivilege[];
|
|
14809
15209
|
indices?: SecurityIndicesPrivileges[];
|
|
@@ -14854,6 +15254,12 @@ export interface SecurityRoleTemplateScript {
|
|
|
14854
15254
|
lang?: ScriptLanguage;
|
|
14855
15255
|
options?: Record<string, string>;
|
|
14856
15256
|
}
|
|
15257
|
+
export interface SecuritySearchAccess {
|
|
15258
|
+
field_security?: SecurityFieldSecurity;
|
|
15259
|
+
names: IndexName[];
|
|
15260
|
+
query?: SecurityIndicesPrivilegesQuery;
|
|
15261
|
+
allow_restricted_indices?: boolean;
|
|
15262
|
+
}
|
|
14857
15263
|
export type SecurityTemplateFormat = 'string' | 'json';
|
|
14858
15264
|
export interface SecurityUser {
|
|
14859
15265
|
email?: string | null;
|
|
@@ -15020,6 +15426,22 @@ export interface SecurityCreateApiKeyResponse {
|
|
|
15020
15426
|
name: Name;
|
|
15021
15427
|
encoded: string;
|
|
15022
15428
|
}
|
|
15429
|
+
export interface SecurityCreateCrossClusterApiKeyRequest extends RequestBase {
|
|
15430
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15431
|
+
body?: {
|
|
15432
|
+
access: SecurityAccess;
|
|
15433
|
+
expiration?: Duration;
|
|
15434
|
+
metadata?: Metadata;
|
|
15435
|
+
name: Name;
|
|
15436
|
+
};
|
|
15437
|
+
}
|
|
15438
|
+
export interface SecurityCreateCrossClusterApiKeyResponse {
|
|
15439
|
+
api_key: string;
|
|
15440
|
+
expiration?: DurationValue<UnitMillis>;
|
|
15441
|
+
id: Id;
|
|
15442
|
+
name: Name;
|
|
15443
|
+
encoded: string;
|
|
15444
|
+
}
|
|
15023
15445
|
export interface SecurityCreateServiceTokenRequest extends RequestBase {
|
|
15024
15446
|
namespace: Namespace;
|
|
15025
15447
|
service: Service;
|
|
@@ -15373,6 +15795,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
|
|
15373
15795
|
cluster?: SecurityClusterPrivilege[];
|
|
15374
15796
|
global?: Record<string, any>;
|
|
15375
15797
|
indices?: SecurityIndicesPrivileges[];
|
|
15798
|
+
remote_indices?: SecurityRemoteIndicesPrivileges[];
|
|
15376
15799
|
metadata?: Metadata;
|
|
15377
15800
|
run_as?: string[];
|
|
15378
15801
|
description?: string;
|
|
@@ -15638,6 +16061,18 @@ export interface SecurityUpdateApiKeyRequest extends RequestBase {
|
|
|
15638
16061
|
export interface SecurityUpdateApiKeyResponse {
|
|
15639
16062
|
updated: boolean;
|
|
15640
16063
|
}
|
|
16064
|
+
export interface SecurityUpdateCrossClusterApiKeyRequest extends RequestBase {
|
|
16065
|
+
id: Id;
|
|
16066
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16067
|
+
body?: {
|
|
16068
|
+
access: SecurityAccess;
|
|
16069
|
+
expiration?: Duration;
|
|
16070
|
+
metadata?: Metadata;
|
|
16071
|
+
};
|
|
16072
|
+
}
|
|
16073
|
+
export interface SecurityUpdateCrossClusterApiKeyResponse {
|
|
16074
|
+
updated: boolean;
|
|
16075
|
+
}
|
|
15641
16076
|
export interface SecurityUpdateUserProfileDataRequest extends RequestBase {
|
|
15642
16077
|
uid: SecurityUserProfileId;
|
|
15643
16078
|
if_seq_no?: SequenceNumber;
|
|
@@ -15945,6 +16380,7 @@ export interface SnapshotSnapshotShardFailure {
|
|
|
15945
16380
|
node_id?: Id;
|
|
15946
16381
|
reason: string;
|
|
15947
16382
|
shard_id: Id;
|
|
16383
|
+
index_uuid: Id;
|
|
15948
16384
|
status: string;
|
|
15949
16385
|
}
|
|
15950
16386
|
export interface SnapshotSnapshotShardsStatus {
|
|
@@ -16077,6 +16513,18 @@ export interface SnapshotGetRepositoryRequest extends RequestBase {
|
|
|
16077
16513
|
master_timeout?: Duration;
|
|
16078
16514
|
}
|
|
16079
16515
|
export type SnapshotGetRepositoryResponse = Record<string, SnapshotRepository>;
|
|
16516
|
+
export interface SnapshotRepositoryVerifyIntegrityRequest extends RequestBase {
|
|
16517
|
+
name: Names;
|
|
16518
|
+
meta_thread_pool_concurrency?: integer;
|
|
16519
|
+
blob_thread_pool_concurrency?: integer;
|
|
16520
|
+
snapshot_verification_concurrency?: integer;
|
|
16521
|
+
index_verification_concurrency?: integer;
|
|
16522
|
+
index_snapshot_verification_concurrency?: integer;
|
|
16523
|
+
max_failed_shard_snapshots?: integer;
|
|
16524
|
+
verify_blob_contents?: boolean;
|
|
16525
|
+
max_bytes_per_sec?: string;
|
|
16526
|
+
}
|
|
16527
|
+
export type SnapshotRepositoryVerifyIntegrityResponse = any;
|
|
16080
16528
|
export interface SnapshotRestoreRequest extends RequestBase {
|
|
16081
16529
|
repository: Name;
|
|
16082
16530
|
snapshot: Name;
|
|
@@ -16170,7 +16618,7 @@ export interface SqlGetAsyncStatusResponse {
|
|
|
16170
16618
|
completion_status?: uint;
|
|
16171
16619
|
}
|
|
16172
16620
|
export interface SqlQueryRequest extends RequestBase {
|
|
16173
|
-
format?:
|
|
16621
|
+
format?: SqlQuerySqlFormat;
|
|
16174
16622
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16175
16623
|
body?: {
|
|
16176
16624
|
catalog?: string;
|
|
@@ -16199,6 +16647,7 @@ export interface SqlQueryResponse {
|
|
|
16199
16647
|
cursor?: string;
|
|
16200
16648
|
rows: SqlRow[];
|
|
16201
16649
|
}
|
|
16650
|
+
export type SqlQuerySqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile';
|
|
16202
16651
|
export interface SqlTranslateRequest extends RequestBase {
|
|
16203
16652
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
16204
16653
|
body?: {
|
|
@@ -17270,17 +17719,17 @@ export interface XpackInfoFeatures {
|
|
|
17270
17719
|
aggregate_metric: XpackInfoFeature;
|
|
17271
17720
|
analytics: XpackInfoFeature;
|
|
17272
17721
|
ccr: XpackInfoFeature;
|
|
17273
|
-
data_frame?: XpackInfoFeature;
|
|
17274
|
-
data_science?: XpackInfoFeature;
|
|
17275
17722
|
data_streams: XpackInfoFeature;
|
|
17276
17723
|
data_tiers: XpackInfoFeature;
|
|
17277
17724
|
enrich: XpackInfoFeature;
|
|
17725
|
+
enterprise_search: XpackInfoFeature;
|
|
17278
17726
|
eql: XpackInfoFeature;
|
|
17279
|
-
|
|
17727
|
+
esql: XpackInfoFeature;
|
|
17280
17728
|
frozen_indices: XpackInfoFeature;
|
|
17281
17729
|
graph: XpackInfoFeature;
|
|
17282
17730
|
ilm: XpackInfoFeature;
|
|
17283
17731
|
logstash: XpackInfoFeature;
|
|
17732
|
+
logsdb: XpackInfoFeature;
|
|
17284
17733
|
ml: XpackInfoFeature;
|
|
17285
17734
|
monitoring: XpackInfoFeature;
|
|
17286
17735
|
rollup: XpackInfoFeature;
|
|
@@ -17291,7 +17740,7 @@ export interface XpackInfoFeatures {
|
|
|
17291
17740
|
spatial: XpackInfoFeature;
|
|
17292
17741
|
sql: XpackInfoFeature;
|
|
17293
17742
|
transform: XpackInfoFeature;
|
|
17294
|
-
|
|
17743
|
+
universal_profiling: XpackInfoFeature;
|
|
17295
17744
|
voting_only: XpackInfoFeature;
|
|
17296
17745
|
watcher: XpackInfoFeature;
|
|
17297
17746
|
archive: XpackInfoFeature;
|
|
@@ -17308,7 +17757,7 @@ export interface XpackInfoNativeCodeInformation {
|
|
|
17308
17757
|
version: VersionString;
|
|
17309
17758
|
}
|
|
17310
17759
|
export interface XpackInfoRequest extends RequestBase {
|
|
17311
|
-
categories?:
|
|
17760
|
+
categories?: XpackInfoXPackCategory[];
|
|
17312
17761
|
accept_enterprise?: boolean;
|
|
17313
17762
|
human?: boolean;
|
|
17314
17763
|
}
|
|
@@ -17318,6 +17767,7 @@ export interface XpackInfoResponse {
|
|
|
17318
17767
|
license: XpackInfoMinimalLicenseInformation;
|
|
17319
17768
|
tagline: string;
|
|
17320
17769
|
}
|
|
17770
|
+
export type XpackInfoXPackCategory = 'build' | 'features' | 'license';
|
|
17321
17771
|
export interface XpackUsageAnalytics extends XpackUsageBase {
|
|
17322
17772
|
stats: XpackUsageAnalyticsStatistics;
|
|
17323
17773
|
}
|