@elastic/elasticsearch 8.13.1 → 8.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog-info.yaml +3 -6
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/async_search.js +28 -4
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/autoscaling.js +25 -4
- package/lib/api/api/autoscaling.js.map +1 -1
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/bulk.js +7 -1
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/cat.js +155 -26
- package/lib/api/api/cat.js.map +1 -1
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/ccr.js +88 -13
- package/lib/api/api/ccr.js.map +1 -1
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/clear_scroll.js +7 -1
- package/lib/api/api/clear_scroll.js.map +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/close_point_in_time.js +4 -1
- package/lib/api/api/close_point_in_time.js.map +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/cluster.js +90 -17
- package/lib/api/api/cluster.js.map +1 -1
- package/lib/api/api/connector.d.ts +231 -0
- package/lib/api/api/connector.js +980 -0
- package/lib/api/api/connector.js.map +1 -0
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/count.js +7 -1
- package/lib/api/api/count.js.map +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/create.js +8 -1
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/dangling_indices.js +18 -3
- package/lib/api/api/dangling_indices.js.map +1 -1
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete.js +8 -1
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query.js +7 -1
- package/lib/api/api/delete_by_query.js.map +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.js +7 -1
- package/lib/api/api/delete_by_query_rethrottle.js.map +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/delete_script.js +7 -1
- package/lib/api/api/delete_script.js.map +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/enrich.js +32 -5
- package/lib/api/api/enrich.js.map +1 -1
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/eql.js +28 -4
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/esql.d.ts +15 -1
- package/lib/api/api/esql.js +47 -1
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists.js +8 -1
- package/lib/api/api/exists.js.map +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/exists_source.js +8 -1
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/explain.js +8 -1
- package/lib/api/api/explain.js.map +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/features.js +8 -2
- package/lib/api/api/features.js.map +1 -1
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/field_caps.js +7 -1
- 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 +39 -6
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get.js +8 -1
- package/lib/api/api/get.js.map +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script.js +7 -1
- package/lib/api/api/get_script.js.map +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_context.js +4 -1
- package/lib/api/api/get_script_context.js.map +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_script_languages.js +4 -1
- package/lib/api/api/get_script_languages.js.map +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/get_source.js +8 -1
- 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 +7 -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 +7 -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 +65 -11
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/index.js +8 -1
- package/lib/api/api/index.js.map +1 -1
- package/lib/api/api/indices.d.ts +62 -62
- package/lib/api/api/indices.js +435 -80
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +4 -4
- package/lib/api/api/inference.js +38 -6
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/info.js +4 -1
- package/lib/api/api/info.js.map +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/ingest.js +36 -6
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/knn_search.js +7 -1
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/license.js +28 -7
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/logstash.js +21 -3
- package/lib/api/api/logstash.js.map +1 -1
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/mget.js +7 -1
- package/lib/api/api/mget.js.map +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/migration.js +15 -3
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +76 -76
- package/lib/api/api/ml.js +525 -76
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/monitoring.js +7 -1
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch.js +7 -1
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/msearch_template.js +7 -1
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/mtermvectors.js +7 -1
- package/lib/api/api/mtermvectors.js.map +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/nodes.js +54 -7
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/open_point_in_time.js +7 -1
- package/lib/api/api/open_point_in_time.js.map +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/ping.js +4 -1
- package/lib/api/api/ping.js.map +1 -1
- package/lib/api/api/profiling.d.ts +39 -0
- package/lib/api/api/profiling.js +113 -0
- package/lib/api/api/profiling.js.map +1 -0
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/put_script.js +8 -1
- package/lib/api/api/put_script.js.map +1 -1
- package/lib/api/api/query_ruleset.d.ts +4 -4
- package/lib/api/api/query_ruleset.js +25 -4
- package/lib/api/api/query_ruleset.js.map +1 -1
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/rank_eval.js +7 -1
- package/lib/api/api/rank_eval.js.map +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex.js +4 -1
- package/lib/api/api/reindex.js.map +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.js +7 -1
- package/lib/api/api/reindex_rethrottle.js.map +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/render_search_template.js +7 -1
- 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 +56 -8
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scripts_painless_execute.js +4 -1
- package/lib/api/api/scripts_painless_execute.js.map +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/scroll.js +7 -1
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search.js +8 -2
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- package/lib/api/api/search_application.js +68 -10
- package/lib/api/api/search_application.js.map +1 -1
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_mvt.js +11 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_shards.js +7 -1
- package/lib/api/api/search_shards.js.map +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/search_template.js +7 -1
- 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 +29 -4
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +66 -59
- package/lib/api/api/security.js +359 -59
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/shutdown.js +21 -3
- package/lib/api/api/shutdown.js.map +1 -1
- package/lib/api/api/simulate.d.ts +18 -0
- package/lib/api/api/simulate.js +64 -0
- package/lib/api/api/simulate.js.map +1 -0
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/slm.js +48 -9
- package/lib/api/api/slm.js.map +1 -1
- package/lib/api/api/snapshot.d.ts +12 -12
- package/lib/api/api/snapshot.js +91 -12
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/sql.js +33 -6
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/ssl.js +4 -1
- package/lib/api/api/ssl.js.map +1 -1
- package/lib/api/api/synonyms.d.ts +7 -7
- package/lib/api/api/synonyms.js +49 -7
- package/lib/api/api/synonyms.js.map +1 -1
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/tasks.js +18 -3
- package/lib/api/api/tasks.js.map +1 -1
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/terms_enum.js +7 -1
- package/lib/api/api/terms_enum.js.map +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/termvectors.js +8 -1
- package/lib/api/api/termvectors.js.map +1 -1
- package/lib/api/api/text_structure.d.ts +16 -2
- package/lib/api/api/text_structure.js +48 -2
- package/lib/api/api/text_structure.js.map +1 -1
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/transform.js +74 -11
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update.js +8 -1
- 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 +7 -1
- package/lib/api/api/update_by_query.js.map +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.js +7 -1
- 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 +77 -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 +8 -2
- package/lib/api/api/xpack.js.map +1 -1
- package/lib/api/index.d.ts +12 -0
- package/lib/api/index.js +38 -2
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +590 -95
- package/lib/api/typesWithBodyKey.d.ts +644 -99
- package/lib/helpers.d.ts +29 -0
- package/lib/helpers.js +96 -20
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -3
- package/Makefile +0 -11
|
@@ -431,6 +431,7 @@ export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
|
|
431
431
|
export interface HealthReportIlmIndicatorDetails {
|
|
432
432
|
ilm_status: LifecycleOperationMode;
|
|
433
433
|
policies: long;
|
|
434
|
+
stagnating_indices: integer;
|
|
434
435
|
}
|
|
435
436
|
export interface HealthReportImpact {
|
|
436
437
|
description: string;
|
|
@@ -495,6 +496,7 @@ export interface HealthReportShardsAvailabilityIndicator extends HealthReportBas
|
|
|
495
496
|
}
|
|
496
497
|
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
|
497
498
|
creating_primaries: long;
|
|
499
|
+
creating_replicas: long;
|
|
498
500
|
initializing_primaries: long;
|
|
499
501
|
initializing_replicas: long;
|
|
500
502
|
restarting_primaries: long;
|
|
@@ -521,7 +523,7 @@ export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
|
|
521
523
|
export interface HealthReportSlmIndicatorDetails {
|
|
522
524
|
slm_status: LifecycleOperationMode;
|
|
523
525
|
policies: long;
|
|
524
|
-
unhealthy_policies
|
|
526
|
+
unhealthy_policies?: HealthReportSlmIndicatorUnhealthyPolicies;
|
|
525
527
|
}
|
|
526
528
|
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
|
527
529
|
count: long;
|
|
@@ -578,8 +580,8 @@ export interface KnnSearchResponse<TDocument = unknown> {
|
|
|
578
580
|
export interface KnnSearchQuery {
|
|
579
581
|
field: Field;
|
|
580
582
|
query_vector: QueryVector;
|
|
581
|
-
k:
|
|
582
|
-
num_candidates:
|
|
583
|
+
k: integer;
|
|
584
|
+
num_candidates: integer;
|
|
583
585
|
}
|
|
584
586
|
export interface MgetMultiGetError {
|
|
585
587
|
error: ErrorCause;
|
|
@@ -632,7 +634,7 @@ export interface MsearchMultisearchBody {
|
|
|
632
634
|
ext?: Record<string, any>;
|
|
633
635
|
stored_fields?: Fields;
|
|
634
636
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
635
|
-
knn?:
|
|
637
|
+
knn?: KnnSearch | KnnSearch[];
|
|
636
638
|
from?: integer;
|
|
637
639
|
highlight?: SearchHighlight;
|
|
638
640
|
indices_boost?: Record<IndexName, double>[];
|
|
@@ -710,7 +712,7 @@ export interface MsearchTemplateTemplateConfig {
|
|
|
710
712
|
source?: string;
|
|
711
713
|
}
|
|
712
714
|
export interface MtermvectorsOperation {
|
|
713
|
-
_id
|
|
715
|
+
_id?: Id;
|
|
714
716
|
_index?: IndexName;
|
|
715
717
|
doc?: any;
|
|
716
718
|
fields?: Fields;
|
|
@@ -1040,13 +1042,14 @@ export interface SearchRequest extends RequestBase {
|
|
|
1040
1042
|
track_total_hits?: SearchTrackHits;
|
|
1041
1043
|
indices_boost?: Record<IndexName, double>[];
|
|
1042
1044
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
1043
|
-
knn?:
|
|
1045
|
+
knn?: KnnSearch | KnnSearch[];
|
|
1044
1046
|
rank?: RankContainer;
|
|
1045
1047
|
min_score?: double;
|
|
1046
1048
|
post_filter?: QueryDslQueryContainer;
|
|
1047
1049
|
profile?: boolean;
|
|
1048
1050
|
query?: QueryDslQueryContainer;
|
|
1049
1051
|
rescore?: SearchRescore | SearchRescore[];
|
|
1052
|
+
retriever?: RetrieverContainer;
|
|
1050
1053
|
script_fields?: Record<string, ScriptField>;
|
|
1051
1054
|
search_after?: SortResults;
|
|
1052
1055
|
size?: integer;
|
|
@@ -1265,7 +1268,7 @@ export type SearchHighlighterTagsSchema = 'styled';
|
|
|
1265
1268
|
export type SearchHighlighterType = 'plain' | 'fvh' | 'unified' | string;
|
|
1266
1269
|
export interface SearchHit<TDocument = unknown> {
|
|
1267
1270
|
_index: IndexName;
|
|
1268
|
-
_id
|
|
1271
|
+
_id?: Id;
|
|
1269
1272
|
_score?: double | null;
|
|
1270
1273
|
_explanation?: ExplainExplanation;
|
|
1271
1274
|
fields?: Record<string, any>;
|
|
@@ -1313,6 +1316,10 @@ export interface SearchInnerHitsResult {
|
|
|
1313
1316
|
export interface SearchLaplaceSmoothingModel {
|
|
1314
1317
|
alpha: double;
|
|
1315
1318
|
}
|
|
1319
|
+
export interface SearchLearningToRank {
|
|
1320
|
+
model_id: string;
|
|
1321
|
+
params?: Record<string, any>;
|
|
1322
|
+
}
|
|
1316
1323
|
export interface SearchLinearInterpolationSmoothingModel {
|
|
1317
1324
|
bigram_lambda: double;
|
|
1318
1325
|
trigram_lambda: double;
|
|
@@ -1399,8 +1406,9 @@ export interface SearchRegexOptions {
|
|
|
1399
1406
|
max_determinized_states?: integer;
|
|
1400
1407
|
}
|
|
1401
1408
|
export interface SearchRescore {
|
|
1402
|
-
query: SearchRescoreQuery;
|
|
1403
1409
|
window_size?: integer;
|
|
1410
|
+
query?: SearchRescoreQuery;
|
|
1411
|
+
learning_to_rank?: SearchLearningToRank;
|
|
1404
1412
|
}
|
|
1405
1413
|
export interface SearchRescoreQuery {
|
|
1406
1414
|
rescore_query: QueryDslQueryContainer;
|
|
@@ -1759,8 +1767,10 @@ export interface SpecUtilsBaseNode {
|
|
|
1759
1767
|
roles?: NodeRoles;
|
|
1760
1768
|
transport_address: TransportAddress;
|
|
1761
1769
|
}
|
|
1770
|
+
export type SpecUtilsNullValue = null;
|
|
1762
1771
|
export type SpecUtilsPipeSeparatedFlags<T = unknown> = T | string;
|
|
1763
1772
|
export type SpecUtilsStringified<T = unknown> = T | string;
|
|
1773
|
+
export type SpecUtilsWithNullValue<T = unknown> = T | SpecUtilsNullValue;
|
|
1764
1774
|
export interface AcknowledgedResponseBase {
|
|
1765
1775
|
acknowledged: boolean;
|
|
1766
1776
|
}
|
|
@@ -1825,8 +1835,8 @@ export type DFRBasicModel = 'be' | 'd' | 'g' | 'if' | 'in' | 'ine' | 'p';
|
|
|
1825
1835
|
export type DataStreamName = string;
|
|
1826
1836
|
export type DataStreamNames = DataStreamName | DataStreamName[];
|
|
1827
1837
|
export type DateFormat = string;
|
|
1828
|
-
export type DateMath = string;
|
|
1829
|
-
export type DateTime = string | EpochTime<UnitMillis
|
|
1838
|
+
export type DateMath = string | Date;
|
|
1839
|
+
export type DateTime = string | EpochTime<UnitMillis> | Date;
|
|
1830
1840
|
export type Distance = string;
|
|
1831
1841
|
export type DistanceUnit = 'in' | 'ft' | 'yd' | 'mi' | 'nmi' | 'km' | 'm' | 'cm' | 'mm';
|
|
1832
1842
|
export interface DocStats {
|
|
@@ -1915,9 +1925,10 @@ export interface GeoDistanceSortKeys {
|
|
|
1915
1925
|
ignore_unmapped?: boolean;
|
|
1916
1926
|
order?: SortOrder;
|
|
1917
1927
|
unit?: DistanceUnit;
|
|
1928
|
+
nested?: NestedSortValue;
|
|
1918
1929
|
}
|
|
1919
1930
|
export type GeoDistanceSort = GeoDistanceSortKeys & {
|
|
1920
|
-
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit;
|
|
1931
|
+
[property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit | NestedSortValue;
|
|
1921
1932
|
};
|
|
1922
1933
|
export type GeoDistanceType = 'arc' | 'plane';
|
|
1923
1934
|
export type GeoHash = string;
|
|
@@ -2002,12 +2013,28 @@ export interface InlineScript extends ScriptBase {
|
|
|
2002
2013
|
source: string;
|
|
2003
2014
|
}
|
|
2004
2015
|
export type Ip = string;
|
|
2005
|
-
export interface KnnQuery {
|
|
2016
|
+
export interface KnnQuery extends QueryDslQueryBase {
|
|
2017
|
+
field: Field;
|
|
2018
|
+
query_vector?: QueryVector;
|
|
2019
|
+
query_vector_builder?: QueryVectorBuilder;
|
|
2020
|
+
num_candidates?: integer;
|
|
2021
|
+
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2022
|
+
similarity?: float;
|
|
2023
|
+
}
|
|
2024
|
+
export interface KnnRetriever extends RetrieverBase {
|
|
2025
|
+
field: string;
|
|
2026
|
+
query_vector?: QueryVector;
|
|
2027
|
+
query_vector_builder?: QueryVectorBuilder;
|
|
2028
|
+
k: integer;
|
|
2029
|
+
num_candidates: integer;
|
|
2030
|
+
similarity?: float;
|
|
2031
|
+
}
|
|
2032
|
+
export interface KnnSearch {
|
|
2006
2033
|
field: Field;
|
|
2007
2034
|
query_vector?: QueryVector;
|
|
2008
2035
|
query_vector_builder?: QueryVectorBuilder;
|
|
2009
|
-
k
|
|
2010
|
-
num_candidates
|
|
2036
|
+
k?: integer;
|
|
2037
|
+
num_candidates?: integer;
|
|
2011
2038
|
boost?: float;
|
|
2012
2039
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2013
2040
|
similarity?: float;
|
|
@@ -2101,19 +2128,24 @@ export interface PluginStats {
|
|
|
2101
2128
|
}
|
|
2102
2129
|
export type PropertyName = string;
|
|
2103
2130
|
export interface QueryCacheStats {
|
|
2104
|
-
cache_count:
|
|
2105
|
-
cache_size:
|
|
2106
|
-
evictions:
|
|
2107
|
-
hit_count:
|
|
2131
|
+
cache_count: long;
|
|
2132
|
+
cache_size: long;
|
|
2133
|
+
evictions: long;
|
|
2134
|
+
hit_count: long;
|
|
2108
2135
|
memory_size?: ByteSize;
|
|
2109
2136
|
memory_size_in_bytes: long;
|
|
2110
|
-
miss_count:
|
|
2111
|
-
total_count:
|
|
2137
|
+
miss_count: long;
|
|
2138
|
+
total_count: long;
|
|
2112
2139
|
}
|
|
2113
2140
|
export type QueryVector = float[];
|
|
2114
2141
|
export interface QueryVectorBuilder {
|
|
2115
2142
|
text_embedding?: TextEmbedding;
|
|
2116
2143
|
}
|
|
2144
|
+
export interface RRFRetriever extends RetrieverBase {
|
|
2145
|
+
retrievers: RetrieverContainer[];
|
|
2146
|
+
rank_constant?: integer;
|
|
2147
|
+
window_size?: integer;
|
|
2148
|
+
}
|
|
2117
2149
|
export interface RankBase {
|
|
2118
2150
|
}
|
|
2119
2151
|
export interface RankContainer {
|
|
@@ -2152,6 +2184,14 @@ export interface Retries {
|
|
|
2152
2184
|
bulk: long;
|
|
2153
2185
|
search: long;
|
|
2154
2186
|
}
|
|
2187
|
+
export interface RetrieverBase {
|
|
2188
|
+
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
2189
|
+
}
|
|
2190
|
+
export interface RetrieverContainer {
|
|
2191
|
+
standard?: StandardRetriever;
|
|
2192
|
+
knn?: KnnRetriever;
|
|
2193
|
+
rrf?: RRFRetriever;
|
|
2194
|
+
}
|
|
2155
2195
|
export type Routing = string;
|
|
2156
2196
|
export interface RrfRank {
|
|
2157
2197
|
rank_constant?: long;
|
|
@@ -2277,6 +2317,14 @@ export type SortOptions = SortOptionsKeys & {
|
|
|
2277
2317
|
};
|
|
2278
2318
|
export type SortOrder = 'asc' | 'desc';
|
|
2279
2319
|
export type SortResults = FieldValue[];
|
|
2320
|
+
export interface StandardRetriever extends RetrieverBase {
|
|
2321
|
+
query?: QueryDslQueryContainer;
|
|
2322
|
+
search_after?: SortResults;
|
|
2323
|
+
terminate_after?: integer;
|
|
2324
|
+
sort?: Sort;
|
|
2325
|
+
min_score?: float;
|
|
2326
|
+
collapse?: SearchFieldCollapse;
|
|
2327
|
+
}
|
|
2280
2328
|
export interface StoreStats {
|
|
2281
2329
|
size?: ByteSize;
|
|
2282
2330
|
size_in_bytes: long;
|
|
@@ -2357,9 +2405,9 @@ export interface WktGeoBounds {
|
|
|
2357
2405
|
export interface WriteResponseBase {
|
|
2358
2406
|
_id: Id;
|
|
2359
2407
|
_index: IndexName;
|
|
2360
|
-
_primary_term
|
|
2408
|
+
_primary_term?: long;
|
|
2361
2409
|
result: Result;
|
|
2362
|
-
_seq_no
|
|
2410
|
+
_seq_no?: SequenceNumber;
|
|
2363
2411
|
_shards: ShardStatistics;
|
|
2364
2412
|
_version: VersionNumber;
|
|
2365
2413
|
forced_refresh?: boolean;
|
|
@@ -2376,6 +2424,7 @@ export interface AggregationsAdjacencyMatrixAggregate extends AggregationsMultiB
|
|
|
2376
2424
|
}
|
|
2377
2425
|
export interface AggregationsAdjacencyMatrixAggregation extends AggregationsBucketAggregationBase {
|
|
2378
2426
|
filters?: Record<string, QueryDslQueryContainer>;
|
|
2427
|
+
separator?: string;
|
|
2379
2428
|
}
|
|
2380
2429
|
export interface AggregationsAdjacencyMatrixBucketKeys extends AggregationsMultiBucketBase {
|
|
2381
2430
|
key: string;
|
|
@@ -2389,8 +2438,6 @@ export interface AggregationsAggregateBase {
|
|
|
2389
2438
|
}
|
|
2390
2439
|
export type AggregationsAggregateOrder = Partial<Record<Field, SortOrder>> | Partial<Record<Field, SortOrder>>[];
|
|
2391
2440
|
export interface AggregationsAggregation {
|
|
2392
|
-
meta?: Metadata;
|
|
2393
|
-
name?: string;
|
|
2394
2441
|
}
|
|
2395
2442
|
export interface AggregationsAggregationContainer {
|
|
2396
2443
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
@@ -2474,9 +2521,9 @@ export interface AggregationsAggregationContainer {
|
|
|
2474
2521
|
variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
|
|
2475
2522
|
}
|
|
2476
2523
|
export interface AggregationsAggregationRange {
|
|
2477
|
-
from?: double
|
|
2524
|
+
from?: double;
|
|
2478
2525
|
key?: string;
|
|
2479
|
-
to?: double
|
|
2526
|
+
to?: double;
|
|
2480
2527
|
}
|
|
2481
2528
|
export interface AggregationsArrayPercentilesItem {
|
|
2482
2529
|
key: string;
|
|
@@ -2522,7 +2569,7 @@ export interface AggregationsBoxPlotAggregate extends AggregationsAggregateBase
|
|
|
2522
2569
|
export interface AggregationsBoxplotAggregation extends AggregationsMetricAggregationBase {
|
|
2523
2570
|
compression?: double;
|
|
2524
2571
|
}
|
|
2525
|
-
export interface AggregationsBucketAggregationBase
|
|
2572
|
+
export interface AggregationsBucketAggregationBase {
|
|
2526
2573
|
}
|
|
2527
2574
|
export interface AggregationsBucketCorrelationAggregation extends AggregationsBucketPathAggregation {
|
|
2528
2575
|
function: AggregationsBucketCorrelationFunction;
|
|
@@ -2546,7 +2593,7 @@ export interface AggregationsBucketKsAggregation extends AggregationsBucketPathA
|
|
|
2546
2593
|
export interface AggregationsBucketMetricValueAggregate extends AggregationsSingleMetricAggregateBase {
|
|
2547
2594
|
keys: string[];
|
|
2548
2595
|
}
|
|
2549
|
-
export interface AggregationsBucketPathAggregation
|
|
2596
|
+
export interface AggregationsBucketPathAggregation {
|
|
2550
2597
|
buckets_path?: AggregationsBucketsPath;
|
|
2551
2598
|
}
|
|
2552
2599
|
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
|
@@ -2555,7 +2602,7 @@ export interface AggregationsBucketScriptAggregation extends AggregationsPipelin
|
|
|
2555
2602
|
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
|
2556
2603
|
script?: Script;
|
|
2557
2604
|
}
|
|
2558
|
-
export interface AggregationsBucketSortAggregation
|
|
2605
|
+
export interface AggregationsBucketSortAggregation {
|
|
2559
2606
|
from?: integer;
|
|
2560
2607
|
gap_policy?: AggregationsGapPolicy;
|
|
2561
2608
|
size?: integer;
|
|
@@ -2563,7 +2610,7 @@ export interface AggregationsBucketSortAggregation extends AggregationsAggregati
|
|
|
2563
2610
|
}
|
|
2564
2611
|
export type AggregationsBuckets<TBucket = unknown> = Record<string, TBucket> | TBucket[];
|
|
2565
2612
|
export type AggregationsBucketsPath = string | string[] | Record<string, string>;
|
|
2566
|
-
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '
|
|
2613
|
+
export type AggregationsCalendarInterval = 'second' | '1s' | 'minute' | '1m' | 'hour' | '1h' | 'day' | '1d' | 'week' | '1w' | 'month' | '1M' | 'quarter' | '1q' | 'year' | '1y';
|
|
2567
2614
|
export interface AggregationsCardinalityAggregate extends AggregationsAggregateBase {
|
|
2568
2615
|
value: long;
|
|
2569
2616
|
}
|
|
@@ -2573,7 +2620,7 @@ export interface AggregationsCardinalityAggregation extends AggregationsMetricAg
|
|
|
2573
2620
|
execution_hint?: AggregationsCardinalityExecutionMode;
|
|
2574
2621
|
}
|
|
2575
2622
|
export type AggregationsCardinalityExecutionMode = 'global_ordinals' | 'segment_ordinals' | 'direct' | 'save_memory_heuristic' | 'save_time_heuristic';
|
|
2576
|
-
export interface AggregationsCategorizeTextAggregation
|
|
2623
|
+
export interface AggregationsCategorizeTextAggregation {
|
|
2577
2624
|
field: Field;
|
|
2578
2625
|
max_unique_tokens?: integer;
|
|
2579
2626
|
max_matched_tokens?: integer;
|
|
@@ -2727,8 +2774,8 @@ export interface AggregationsEwmaMovingAverageAggregation extends AggregationsMo
|
|
|
2727
2774
|
settings: AggregationsEwmaModelSettings;
|
|
2728
2775
|
}
|
|
2729
2776
|
export interface AggregationsExtendedBounds<T = unknown> {
|
|
2730
|
-
max
|
|
2731
|
-
min
|
|
2777
|
+
max?: T;
|
|
2778
|
+
min?: T;
|
|
2732
2779
|
}
|
|
2733
2780
|
export interface AggregationsExtendedStatsAggregate extends AggregationsStatsAggregate {
|
|
2734
2781
|
sum_of_squares: double | null;
|
|
@@ -3039,7 +3086,7 @@ export interface AggregationsLongTermsBucketKeys extends AggregationsTermsBucket
|
|
|
3039
3086
|
export type AggregationsLongTermsBucket = AggregationsLongTermsBucketKeys & {
|
|
3040
3087
|
[property: string]: AggregationsAggregate | long | string;
|
|
3041
3088
|
};
|
|
3042
|
-
export interface AggregationsMatrixAggregation
|
|
3089
|
+
export interface AggregationsMatrixAggregation {
|
|
3043
3090
|
fields?: Fields;
|
|
3044
3091
|
missing?: Record<Field, double>;
|
|
3045
3092
|
}
|
|
@@ -3416,7 +3463,7 @@ export interface AggregationsTTestAggregate extends AggregationsAggregateBase {
|
|
|
3416
3463
|
value: double | null;
|
|
3417
3464
|
value_as_string?: string;
|
|
3418
3465
|
}
|
|
3419
|
-
export interface AggregationsTTestAggregation
|
|
3466
|
+
export interface AggregationsTTestAggregation {
|
|
3420
3467
|
a?: AggregationsTestPopulation;
|
|
3421
3468
|
b?: AggregationsTestPopulation;
|
|
3422
3469
|
type?: AggregationsTTestType;
|
|
@@ -3439,6 +3486,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3439
3486
|
value_type?: string;
|
|
3440
3487
|
order?: AggregationsAggregateOrder;
|
|
3441
3488
|
script?: Script;
|
|
3489
|
+
shard_min_doc_count?: long;
|
|
3442
3490
|
shard_size?: integer;
|
|
3443
3491
|
show_term_doc_count_error?: boolean;
|
|
3444
3492
|
size?: integer;
|
|
@@ -3447,7 +3495,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
|
|
3447
3495
|
export type AggregationsTermsAggregationCollectMode = 'depth_first' | 'breadth_first';
|
|
3448
3496
|
export type AggregationsTermsAggregationExecutionHint = 'map' | 'global_ordinals' | 'global_ordinals_hash' | 'global_ordinals_low_cardinality';
|
|
3449
3497
|
export interface AggregationsTermsBucketBase extends AggregationsMultiBucketBase {
|
|
3450
|
-
|
|
3498
|
+
doc_count_error_upper_bound?: long;
|
|
3451
3499
|
}
|
|
3452
3500
|
export type AggregationsTermsExclude = string | string[];
|
|
3453
3501
|
export type AggregationsTermsInclude = string | string[] | AggregationsTermsPartition;
|
|
@@ -3464,8 +3512,9 @@ export interface AggregationsTopHitsAggregate extends AggregationsAggregateBase
|
|
|
3464
3512
|
hits: SearchHitsMetadata<any>;
|
|
3465
3513
|
}
|
|
3466
3514
|
export interface AggregationsTopHitsAggregation extends AggregationsMetricAggregationBase {
|
|
3467
|
-
docvalue_fields?:
|
|
3515
|
+
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
3468
3516
|
explain?: boolean;
|
|
3517
|
+
fields?: (QueryDslFieldAndFormat | Field)[];
|
|
3469
3518
|
from?: integer;
|
|
3470
3519
|
highlight?: SearchHighlight;
|
|
3471
3520
|
script_fields?: Record<string, ScriptField>;
|
|
@@ -3515,6 +3564,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
|
|
3515
3564
|
buckets?: integer;
|
|
3516
3565
|
shard_size?: integer;
|
|
3517
3566
|
initial_buffer?: integer;
|
|
3567
|
+
script?: Script;
|
|
3518
3568
|
}
|
|
3519
3569
|
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
|
3520
3570
|
min: double;
|
|
@@ -3527,7 +3577,7 @@ export interface AggregationsVariableWidthHistogramBucketKeys extends Aggregatio
|
|
|
3527
3577
|
export type AggregationsVariableWidthHistogramBucket = AggregationsVariableWidthHistogramBucketKeys & {
|
|
3528
3578
|
[property: string]: AggregationsAggregate | double | string | long;
|
|
3529
3579
|
};
|
|
3530
|
-
export interface AggregationsWeightedAverageAggregation
|
|
3580
|
+
export interface AggregationsWeightedAverageAggregation {
|
|
3531
3581
|
format?: string;
|
|
3532
3582
|
value?: AggregationsWeightedAverageValue;
|
|
3533
3583
|
value_type?: AggregationsValueType;
|
|
@@ -3639,6 +3689,7 @@ export interface AnalysisFingerprintTokenFilter extends AnalysisTokenFilterBase
|
|
|
3639
3689
|
}
|
|
3640
3690
|
export interface AnalysisHtmlStripCharFilter extends AnalysisCharFilterBase {
|
|
3641
3691
|
type: 'html_strip';
|
|
3692
|
+
escaped_tags?: string[];
|
|
3642
3693
|
}
|
|
3643
3694
|
export interface AnalysisHunspellTokenFilter extends AnalysisTokenFilterBase {
|
|
3644
3695
|
type: 'hunspell';
|
|
@@ -3662,16 +3713,16 @@ export type AnalysisIcuCollationStrength = 'primary' | 'secondary' | 'tertiary'
|
|
|
3662
3713
|
export interface AnalysisIcuCollationTokenFilter extends AnalysisTokenFilterBase {
|
|
3663
3714
|
type: 'icu_collation';
|
|
3664
3715
|
alternate?: AnalysisIcuCollationAlternate;
|
|
3665
|
-
|
|
3666
|
-
|
|
3716
|
+
case_first?: AnalysisIcuCollationCaseFirst;
|
|
3717
|
+
case_level?: boolean;
|
|
3667
3718
|
country?: string;
|
|
3668
3719
|
decomposition?: AnalysisIcuCollationDecomposition;
|
|
3669
|
-
|
|
3720
|
+
hiragana_quaternary_mode?: boolean;
|
|
3670
3721
|
language?: string;
|
|
3671
3722
|
numeric?: boolean;
|
|
3672
3723
|
rules?: string;
|
|
3673
3724
|
strength?: AnalysisIcuCollationStrength;
|
|
3674
|
-
|
|
3725
|
+
variable_top?: string;
|
|
3675
3726
|
variant?: string;
|
|
3676
3727
|
}
|
|
3677
3728
|
export interface AnalysisIcuFoldingTokenFilter extends AnalysisTokenFilterBase {
|
|
@@ -3884,7 +3935,7 @@ export type AnalysisPhoneticRuleType = 'approx' | 'exact';
|
|
|
3884
3935
|
export interface AnalysisPhoneticTokenFilter extends AnalysisTokenFilterBase {
|
|
3885
3936
|
type: 'phonetic';
|
|
3886
3937
|
encoder: AnalysisPhoneticEncoder;
|
|
3887
|
-
languageset: AnalysisPhoneticLanguage[];
|
|
3938
|
+
languageset: AnalysisPhoneticLanguage | AnalysisPhoneticLanguage[];
|
|
3888
3939
|
max_code_len?: integer;
|
|
3889
3940
|
name_type: AnalysisPhoneticNameType;
|
|
3890
3941
|
replace?: boolean;
|
|
@@ -3925,7 +3976,7 @@ export interface AnalysisSnowballAnalyzer {
|
|
|
3925
3976
|
export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Danish' | 'Dutch' | 'English' | 'Finnish' | 'French' | 'German' | 'German2' | 'Hungarian' | 'Italian' | 'Kp' | 'Lovins' | 'Norwegian' | 'Porter' | 'Portuguese' | 'Romanian' | 'Russian' | 'Spanish' | 'Swedish' | 'Turkish';
|
|
3926
3977
|
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
|
3927
3978
|
type: 'snowball';
|
|
3928
|
-
language
|
|
3979
|
+
language?: AnalysisSnowballLanguage;
|
|
3929
3980
|
}
|
|
3930
3981
|
export interface AnalysisStandardAnalyzer {
|
|
3931
3982
|
type: 'standard';
|
|
@@ -3968,6 +4019,7 @@ export interface AnalysisSynonymGraphTokenFilter extends AnalysisTokenFilterBase
|
|
|
3968
4019
|
lenient?: boolean;
|
|
3969
4020
|
synonyms?: string[];
|
|
3970
4021
|
synonyms_path?: string;
|
|
4022
|
+
synonyms_set?: string;
|
|
3971
4023
|
tokenizer?: string;
|
|
3972
4024
|
updateable?: boolean;
|
|
3973
4025
|
}
|
|
@@ -3978,6 +4030,7 @@ export interface AnalysisSynonymTokenFilter extends AnalysisTokenFilterBase {
|
|
|
3978
4030
|
lenient?: boolean;
|
|
3979
4031
|
synonyms?: string[];
|
|
3980
4032
|
synonyms_path?: string;
|
|
4033
|
+
synonyms_set?: string;
|
|
3981
4034
|
tokenizer?: string;
|
|
3982
4035
|
updateable?: boolean;
|
|
3983
4036
|
}
|
|
@@ -3986,7 +4039,7 @@ export type AnalysisTokenFilter = string | AnalysisTokenFilterDefinition;
|
|
|
3986
4039
|
export interface AnalysisTokenFilterBase {
|
|
3987
4040
|
version?: VersionString;
|
|
3988
4041
|
}
|
|
3989
|
-
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter |
|
|
4042
|
+
export type AnalysisTokenFilterDefinition = AnalysisAsciiFoldingTokenFilter | AnalysisCommonGramsTokenFilter | AnalysisConditionTokenFilter | AnalysisDelimitedPayloadTokenFilter | AnalysisEdgeNGramTokenFilter | AnalysisElisionTokenFilter | AnalysisFingerprintTokenFilter | AnalysisHunspellTokenFilter | AnalysisHyphenationDecompounderTokenFilter | AnalysisKeepTypesTokenFilter | AnalysisKeepWordsTokenFilter | AnalysisKeywordMarkerTokenFilter | AnalysisKStemTokenFilter | AnalysisLengthTokenFilter | AnalysisLimitTokenCountTokenFilter | AnalysisLowercaseTokenFilter | AnalysisMultiplexerTokenFilter | AnalysisNGramTokenFilter | AnalysisNoriPartOfSpeechTokenFilter | AnalysisPatternCaptureTokenFilter | AnalysisPatternReplaceTokenFilter | AnalysisPorterStemTokenFilter | AnalysisPredicateTokenFilter | AnalysisRemoveDuplicatesTokenFilter | AnalysisReverseTokenFilter | AnalysisShingleTokenFilter | AnalysisSnowballTokenFilter | AnalysisStemmerOverrideTokenFilter | AnalysisStemmerTokenFilter | AnalysisStopTokenFilter | AnalysisSynonymGraphTokenFilter | AnalysisSynonymTokenFilter | AnalysisTrimTokenFilter | AnalysisTruncateTokenFilter | AnalysisUniqueTokenFilter | AnalysisUppercaseTokenFilter | AnalysisWordDelimiterGraphTokenFilter | AnalysisWordDelimiterTokenFilter | AnalysisKuromojiStemmerTokenFilter | AnalysisKuromojiReadingFormTokenFilter | AnalysisKuromojiPartOfSpeechTokenFilter | AnalysisIcuCollationTokenFilter | AnalysisIcuFoldingTokenFilter | AnalysisIcuNormalizationTokenFilter | AnalysisIcuTransformTokenFilter | AnalysisPhoneticTokenFilter | AnalysisDictionaryDecompounderTokenFilter;
|
|
3990
4043
|
export type AnalysisTokenizer = string | AnalysisTokenizerDefinition;
|
|
3991
4044
|
export interface AnalysisTokenizerBase {
|
|
3992
4045
|
version?: VersionString;
|
|
@@ -4136,6 +4189,7 @@ export interface MappingDenseVectorIndexOptions {
|
|
|
4136
4189
|
}
|
|
4137
4190
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
4138
4191
|
type: 'dense_vector';
|
|
4192
|
+
element_type?: string;
|
|
4139
4193
|
dims?: integer;
|
|
4140
4194
|
similarity?: string;
|
|
4141
4195
|
index?: boolean;
|
|
@@ -4153,7 +4207,7 @@ export interface MappingDoubleRangeProperty extends MappingRangePropertyBase {
|
|
|
4153
4207
|
}
|
|
4154
4208
|
export type MappingDynamicMapping = boolean | 'strict' | 'runtime' | 'true' | 'false';
|
|
4155
4209
|
export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
4156
|
-
type: '{
|
|
4210
|
+
type: '{dynamic_type}';
|
|
4157
4211
|
enabled?: boolean;
|
|
4158
4212
|
null_value?: FieldValue;
|
|
4159
4213
|
boost?: double;
|
|
@@ -4179,12 +4233,14 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
|
|
4179
4233
|
}
|
|
4180
4234
|
export interface MappingDynamicTemplate {
|
|
4181
4235
|
mapping?: MappingProperty;
|
|
4182
|
-
|
|
4183
|
-
|
|
4236
|
+
runtime?: MappingProperty;
|
|
4237
|
+
match?: string | string[];
|
|
4238
|
+
path_match?: string | string[];
|
|
4239
|
+
unmatch?: string | string[];
|
|
4240
|
+
path_unmatch?: string | string[];
|
|
4241
|
+
match_mapping_type?: string | string[];
|
|
4242
|
+
unmatch_mapping_type?: string | string[];
|
|
4184
4243
|
match_pattern?: MappingMatchType;
|
|
4185
|
-
path_match?: string;
|
|
4186
|
-
path_unmatch?: string;
|
|
4187
|
-
unmatch?: string;
|
|
4188
4244
|
}
|
|
4189
4245
|
export interface MappingFieldAliasProperty extends MappingPropertyBase {
|
|
4190
4246
|
path?: Field;
|
|
@@ -4197,7 +4253,7 @@ export interface MappingFieldMapping {
|
|
|
4197
4253
|
export interface MappingFieldNamesField {
|
|
4198
4254
|
enabled: boolean;
|
|
4199
4255
|
}
|
|
4200
|
-
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text';
|
|
4256
|
+
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'version' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text' | 'icu_collation_keyword';
|
|
4201
4257
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4202
4258
|
boost?: double;
|
|
4203
4259
|
depth_limit?: integer;
|
|
@@ -4244,6 +4300,25 @@ export interface MappingHistogramProperty extends MappingPropertyBase {
|
|
|
4244
4300
|
ignore_malformed?: boolean;
|
|
4245
4301
|
type: 'histogram';
|
|
4246
4302
|
}
|
|
4303
|
+
export interface MappingIcuCollationProperty extends MappingDocValuesPropertyBase {
|
|
4304
|
+
type: 'icu_collation_keyword';
|
|
4305
|
+
norms?: boolean;
|
|
4306
|
+
index_options?: MappingIndexOptions;
|
|
4307
|
+
index?: boolean;
|
|
4308
|
+
null_value?: string;
|
|
4309
|
+
rules?: string;
|
|
4310
|
+
language?: string;
|
|
4311
|
+
country?: string;
|
|
4312
|
+
variant?: string;
|
|
4313
|
+
strength?: AnalysisIcuCollationStrength;
|
|
4314
|
+
decomposition?: AnalysisIcuCollationDecomposition;
|
|
4315
|
+
alternate?: AnalysisIcuCollationAlternate;
|
|
4316
|
+
case_level?: boolean;
|
|
4317
|
+
case_first?: AnalysisIcuCollationCaseFirst;
|
|
4318
|
+
numeric?: boolean;
|
|
4319
|
+
variable_top?: string;
|
|
4320
|
+
hiragana_quaternary_mode?: boolean;
|
|
4321
|
+
}
|
|
4247
4322
|
export interface MappingIndexField {
|
|
4248
4323
|
enabled: boolean;
|
|
4249
4324
|
}
|
|
@@ -4278,6 +4353,8 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
|
|
4278
4353
|
eager_global_ordinals?: boolean;
|
|
4279
4354
|
index?: boolean;
|
|
4280
4355
|
index_options?: MappingIndexOptions;
|
|
4356
|
+
script?: Script;
|
|
4357
|
+
on_script_error?: MappingOnScriptError;
|
|
4281
4358
|
normalizer?: string;
|
|
4282
4359
|
norms?: boolean;
|
|
4283
4360
|
null_value?: string;
|
|
@@ -4333,7 +4410,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4333
4410
|
null_value?: string;
|
|
4334
4411
|
type: 'point';
|
|
4335
4412
|
}
|
|
4336
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
|
|
4413
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
|
|
4337
4414
|
export interface MappingPropertyBase {
|
|
4338
4415
|
meta?: Record<string, string>;
|
|
4339
4416
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4370,7 +4447,7 @@ export interface MappingRuntimeFieldFetchFields {
|
|
|
4370
4447
|
field: Field;
|
|
4371
4448
|
format?: string;
|
|
4372
4449
|
}
|
|
4373
|
-
export type MappingRuntimeFieldType = 'boolean' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
|
|
4450
|
+
export type MappingRuntimeFieldType = 'boolean' | 'composite' | 'date' | 'double' | 'geo_point' | 'ip' | 'keyword' | 'long' | 'lookup';
|
|
4374
4451
|
export type MappingRuntimeFields = Record<Field, MappingRuntimeField>;
|
|
4375
4452
|
export interface MappingScaledFloatNumberProperty extends MappingNumberPropertyBase {
|
|
4376
4453
|
type: 'scaled_float';
|
|
@@ -4518,7 +4595,7 @@ export interface QueryDslConstantScoreQuery extends QueryDslQueryBase {
|
|
|
4518
4595
|
export interface QueryDslDateDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4519
4596
|
}
|
|
4520
4597
|
export type QueryDslDateDecayFunction = QueryDslDateDecayFunctionKeys & {
|
|
4521
|
-
[property: string]: QueryDslDecayPlacement
|
|
4598
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4522
4599
|
};
|
|
4523
4600
|
export interface QueryDslDateDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<DateMath, Duration> {
|
|
4524
4601
|
}
|
|
@@ -4612,7 +4689,7 @@ export type QueryDslGeoBoundingBoxQuery = QueryDslGeoBoundingBoxQueryKeys & {
|
|
|
4612
4689
|
export interface QueryDslGeoDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4613
4690
|
}
|
|
4614
4691
|
export type QueryDslGeoDecayFunction = QueryDslGeoDecayFunctionKeys & {
|
|
4615
|
-
[property: string]: QueryDslDecayPlacement
|
|
4692
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4616
4693
|
};
|
|
4617
4694
|
export interface QueryDslGeoDistanceFeatureQuery extends QueryDslDistanceFeatureQueryBase<GeoLocation, Distance> {
|
|
4618
4695
|
}
|
|
@@ -4798,7 +4875,6 @@ export interface QueryDslMoreLikeThisQuery extends QueryDslQueryBase {
|
|
|
4798
4875
|
minimum_should_match?: MinimumShouldMatch;
|
|
4799
4876
|
min_term_freq?: integer;
|
|
4800
4877
|
min_word_length?: integer;
|
|
4801
|
-
per_field_analyzer?: Record<Field, string>;
|
|
4802
4878
|
routing?: Routing;
|
|
4803
4879
|
stop_words?: AnalysisStopWords;
|
|
4804
4880
|
unlike?: QueryDslLike | QueryDslLike[];
|
|
@@ -4843,7 +4919,7 @@ export interface QueryDslNumberRangeQuery extends QueryDslRangeQueryBase {
|
|
|
4843
4919
|
export interface QueryDslNumericDecayFunctionKeys extends QueryDslDecayFunctionBase {
|
|
4844
4920
|
}
|
|
4845
4921
|
export type QueryDslNumericDecayFunction = QueryDslNumericDecayFunctionKeys & {
|
|
4846
|
-
[property: string]: QueryDslDecayPlacement
|
|
4922
|
+
[property: string]: QueryDslDecayPlacement | QueryDslMultiValueMode;
|
|
4847
4923
|
};
|
|
4848
4924
|
export type QueryDslOperator = 'and' | 'AND' | 'or' | 'OR';
|
|
4849
4925
|
export interface QueryDslParentIdQuery extends QueryDslQueryBase {
|
|
@@ -4923,7 +4999,7 @@ export interface QueryDslQueryContainer {
|
|
|
4923
4999
|
shape?: QueryDslShapeQuery;
|
|
4924
5000
|
simple_query_string?: QueryDslSimpleQueryStringQuery;
|
|
4925
5001
|
span_containing?: QueryDslSpanContainingQuery;
|
|
4926
|
-
|
|
5002
|
+
span_field_masking?: QueryDslSpanFieldMaskingQuery;
|
|
4927
5003
|
span_first?: QueryDslSpanFirstQuery;
|
|
4928
5004
|
span_multi?: QueryDslSpanMultiTermQuery;
|
|
4929
5005
|
span_near?: QueryDslSpanNearQuery;
|
|
@@ -5081,7 +5157,7 @@ export interface QueryDslSpanOrQuery extends QueryDslQueryBase {
|
|
|
5081
5157
|
}
|
|
5082
5158
|
export interface QueryDslSpanQuery {
|
|
5083
5159
|
span_containing?: QueryDslSpanContainingQuery;
|
|
5084
|
-
|
|
5160
|
+
span_field_masking?: QueryDslSpanFieldMaskingQuery;
|
|
5085
5161
|
span_first?: QueryDslSpanFirstQuery;
|
|
5086
5162
|
span_gap?: QueryDslSpanGapQuery;
|
|
5087
5163
|
span_multi?: QueryDslSpanMultiTermQuery;
|
|
@@ -5244,7 +5320,7 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5244
5320
|
track_total_hits?: SearchTrackHits;
|
|
5245
5321
|
indices_boost?: Record<IndexName, double>[];
|
|
5246
5322
|
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
5247
|
-
knn?:
|
|
5323
|
+
knn?: KnnSearch | KnnSearch[];
|
|
5248
5324
|
min_score?: double;
|
|
5249
5325
|
post_filter?: QueryDslQueryContainer;
|
|
5250
5326
|
profile?: boolean;
|
|
@@ -7476,10 +7552,10 @@ export interface ClusterPutComponentTemplateRequest extends RequestBase {
|
|
|
7476
7552
|
master_timeout?: Duration;
|
|
7477
7553
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
7478
7554
|
body?: {
|
|
7479
|
-
allow_auto_create?: boolean;
|
|
7480
7555
|
template: IndicesIndexState;
|
|
7481
7556
|
version?: VersionNumber;
|
|
7482
7557
|
_meta?: Metadata;
|
|
7558
|
+
deprecated?: boolean;
|
|
7483
7559
|
};
|
|
7484
7560
|
}
|
|
7485
7561
|
export type ClusterPutComponentTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -7823,6 +7899,441 @@ export interface ClusterStatsStatsResponseBase extends NodesNodesResponseBase {
|
|
|
7823
7899
|
status: HealthStatus;
|
|
7824
7900
|
timestamp: long;
|
|
7825
7901
|
}
|
|
7902
|
+
export interface ConnectorConnector {
|
|
7903
|
+
api_key_id?: string;
|
|
7904
|
+
configuration: ConnectorConnectorConfiguration;
|
|
7905
|
+
custom_scheduling: ConnectorConnectorCustomScheduling;
|
|
7906
|
+
description?: string;
|
|
7907
|
+
error?: string;
|
|
7908
|
+
features?: ConnectorConnectorFeatures;
|
|
7909
|
+
filtering: ConnectorFilteringConfig[];
|
|
7910
|
+
id?: Id;
|
|
7911
|
+
index_name?: IndexName;
|
|
7912
|
+
is_native: boolean;
|
|
7913
|
+
language?: string;
|
|
7914
|
+
last_access_control_sync_error?: string;
|
|
7915
|
+
last_access_control_sync_scheduled_at?: DateTime;
|
|
7916
|
+
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
7917
|
+
last_deleted_document_count?: long;
|
|
7918
|
+
last_incremental_sync_scheduled_at?: DateTime;
|
|
7919
|
+
last_indexed_document_count?: long;
|
|
7920
|
+
last_seen?: DateTime;
|
|
7921
|
+
last_sync_error?: string;
|
|
7922
|
+
last_sync_scheduled_at?: DateTime;
|
|
7923
|
+
last_sync_status?: ConnectorSyncStatus;
|
|
7924
|
+
last_synced?: DateTime;
|
|
7925
|
+
name?: string;
|
|
7926
|
+
pipeline?: ConnectorIngestPipelineParams;
|
|
7927
|
+
scheduling: ConnectorSchedulingConfiguration;
|
|
7928
|
+
service_type: string;
|
|
7929
|
+
status: ConnectorConnectorStatus;
|
|
7930
|
+
sync_now: boolean;
|
|
7931
|
+
}
|
|
7932
|
+
export interface ConnectorConnectorConfigProperties {
|
|
7933
|
+
category?: string;
|
|
7934
|
+
default_value: ScalarValue;
|
|
7935
|
+
depends_on: ConnectorDependency[];
|
|
7936
|
+
display: ConnectorDisplayType;
|
|
7937
|
+
label: string;
|
|
7938
|
+
options: ConnectorSelectOption[];
|
|
7939
|
+
order?: integer;
|
|
7940
|
+
placeholder?: string;
|
|
7941
|
+
required: boolean;
|
|
7942
|
+
sensitive: boolean;
|
|
7943
|
+
tooltip?: string;
|
|
7944
|
+
type: ConnectorConnectorFieldType;
|
|
7945
|
+
ui_restrictions: string[];
|
|
7946
|
+
validations: ConnectorValidation[];
|
|
7947
|
+
value: ScalarValue;
|
|
7948
|
+
}
|
|
7949
|
+
export type ConnectorConnectorConfiguration = Record<string, ConnectorConnectorConfigProperties>;
|
|
7950
|
+
export type ConnectorConnectorCustomScheduling = Record<string, ConnectorCustomScheduling>;
|
|
7951
|
+
export interface ConnectorConnectorFeatures {
|
|
7952
|
+
document_level_security?: ConnectorFeatureEnabled;
|
|
7953
|
+
filtering_advanced_config?: boolean;
|
|
7954
|
+
filtering_rules?: boolean;
|
|
7955
|
+
incremental_sync?: ConnectorFeatureEnabled;
|
|
7956
|
+
sync_rules?: ConnectorSyncRulesFeature;
|
|
7957
|
+
}
|
|
7958
|
+
export type ConnectorConnectorFieldType = 'str' | 'int' | 'list' | 'bool';
|
|
7959
|
+
export interface ConnectorConnectorScheduling {
|
|
7960
|
+
enabled: boolean;
|
|
7961
|
+
interval: string;
|
|
7962
|
+
}
|
|
7963
|
+
export type ConnectorConnectorStatus = 'created' | 'needs_configuration' | 'configured' | 'connected' | 'error';
|
|
7964
|
+
export interface ConnectorConnectorSyncJob {
|
|
7965
|
+
cancelation_requested_at?: DateTime;
|
|
7966
|
+
canceled_at?: DateTime;
|
|
7967
|
+
completed_at?: DateTime;
|
|
7968
|
+
connector: ConnectorSyncJobConnectorReference;
|
|
7969
|
+
created_at: DateTime;
|
|
7970
|
+
deleted_document_count: long;
|
|
7971
|
+
error?: string;
|
|
7972
|
+
id: Id;
|
|
7973
|
+
indexed_document_count: long;
|
|
7974
|
+
indexed_document_volume: long;
|
|
7975
|
+
job_type: ConnectorSyncJobType;
|
|
7976
|
+
last_seen?: DateTime;
|
|
7977
|
+
metadata: Record<string, any>;
|
|
7978
|
+
started_at?: DateTime;
|
|
7979
|
+
status: ConnectorSyncStatus;
|
|
7980
|
+
total_document_count: long;
|
|
7981
|
+
trigger_method: ConnectorSyncJobTriggerMethod;
|
|
7982
|
+
worker_hostname?: string;
|
|
7983
|
+
}
|
|
7984
|
+
export interface ConnectorCustomScheduling {
|
|
7985
|
+
configuration_overrides: ConnectorCustomSchedulingConfigurationOverrides;
|
|
7986
|
+
enabled: boolean;
|
|
7987
|
+
interval: string;
|
|
7988
|
+
last_synced?: DateTime;
|
|
7989
|
+
name: string;
|
|
7990
|
+
}
|
|
7991
|
+
export interface ConnectorCustomSchedulingConfigurationOverrides {
|
|
7992
|
+
max_crawl_depth?: integer;
|
|
7993
|
+
sitemap_discovery_disabled?: boolean;
|
|
7994
|
+
domain_allowlist?: string[];
|
|
7995
|
+
sitemap_urls?: string[];
|
|
7996
|
+
seed_urls?: string[];
|
|
7997
|
+
}
|
|
7998
|
+
export interface ConnectorDependency {
|
|
7999
|
+
field: string;
|
|
8000
|
+
value: ScalarValue;
|
|
8001
|
+
}
|
|
8002
|
+
export type ConnectorDisplayType = 'textbox' | 'textarea' | 'numeric' | 'toggle' | 'dropdown';
|
|
8003
|
+
export interface ConnectorFeatureEnabled {
|
|
8004
|
+
enabled: boolean;
|
|
8005
|
+
}
|
|
8006
|
+
export interface ConnectorFilteringAdvancedSnippet {
|
|
8007
|
+
created_at?: DateTime;
|
|
8008
|
+
updated_at?: DateTime;
|
|
8009
|
+
value: Record<string, any>;
|
|
8010
|
+
}
|
|
8011
|
+
export interface ConnectorFilteringConfig {
|
|
8012
|
+
active: ConnectorFilteringRules;
|
|
8013
|
+
domain: string;
|
|
8014
|
+
draft: ConnectorFilteringRules;
|
|
8015
|
+
}
|
|
8016
|
+
export type ConnectorFilteringPolicy = 'exclude' | 'include';
|
|
8017
|
+
export interface ConnectorFilteringRule {
|
|
8018
|
+
created_at?: DateTime;
|
|
8019
|
+
field: Field;
|
|
8020
|
+
id: Id;
|
|
8021
|
+
order: integer;
|
|
8022
|
+
policy: ConnectorFilteringPolicy;
|
|
8023
|
+
rule: ConnectorFilteringRuleRule;
|
|
8024
|
+
updated_at?: DateTime;
|
|
8025
|
+
value: string;
|
|
8026
|
+
}
|
|
8027
|
+
export type ConnectorFilteringRuleRule = 'contains' | 'ends_with' | 'equals' | 'regex' | 'starts_with' | '>' | '<';
|
|
8028
|
+
export interface ConnectorFilteringRules {
|
|
8029
|
+
advanced_snippet: ConnectorFilteringAdvancedSnippet;
|
|
8030
|
+
rules: ConnectorFilteringRule[];
|
|
8031
|
+
validation: ConnectorFilteringRulesValidation;
|
|
8032
|
+
}
|
|
8033
|
+
export interface ConnectorFilteringRulesValidation {
|
|
8034
|
+
errors: ConnectorFilteringValidation[];
|
|
8035
|
+
state: ConnectorFilteringValidationState;
|
|
8036
|
+
}
|
|
8037
|
+
export interface ConnectorFilteringValidation {
|
|
8038
|
+
ids: Id[];
|
|
8039
|
+
messages: string[];
|
|
8040
|
+
}
|
|
8041
|
+
export type ConnectorFilteringValidationState = 'edited' | 'invalid' | 'valid';
|
|
8042
|
+
export interface ConnectorGreaterThanValidation {
|
|
8043
|
+
type: 'greater_than';
|
|
8044
|
+
constraint: double;
|
|
8045
|
+
}
|
|
8046
|
+
export interface ConnectorIncludedInValidation {
|
|
8047
|
+
type: 'included_in';
|
|
8048
|
+
constraint: string;
|
|
8049
|
+
}
|
|
8050
|
+
export interface ConnectorIngestPipelineParams {
|
|
8051
|
+
extract_binary_content: boolean;
|
|
8052
|
+
name: string;
|
|
8053
|
+
reduce_whitespace: boolean;
|
|
8054
|
+
run_ml_inference: boolean;
|
|
8055
|
+
}
|
|
8056
|
+
export interface ConnectorLessThanValidation {
|
|
8057
|
+
type: 'less_than';
|
|
8058
|
+
constraint: double;
|
|
8059
|
+
}
|
|
8060
|
+
export interface ConnectorListTypeValidation {
|
|
8061
|
+
type: 'list_type';
|
|
8062
|
+
constraint: ScalarValue[];
|
|
8063
|
+
}
|
|
8064
|
+
export interface ConnectorRegexValidation {
|
|
8065
|
+
type: 'regex';
|
|
8066
|
+
constraint: string;
|
|
8067
|
+
}
|
|
8068
|
+
export interface ConnectorSchedulingConfiguration {
|
|
8069
|
+
access_control?: ConnectorConnectorScheduling;
|
|
8070
|
+
full?: ConnectorConnectorScheduling;
|
|
8071
|
+
incremental?: ConnectorConnectorScheduling;
|
|
8072
|
+
}
|
|
8073
|
+
export interface ConnectorSelectOption {
|
|
8074
|
+
label: string;
|
|
8075
|
+
value: string;
|
|
8076
|
+
}
|
|
8077
|
+
export interface ConnectorSyncJobConnectorReference {
|
|
8078
|
+
configuration: ConnectorConnectorConfiguration;
|
|
8079
|
+
filtering: ConnectorFilteringRules;
|
|
8080
|
+
id: Id;
|
|
8081
|
+
index_name: string;
|
|
8082
|
+
language?: string;
|
|
8083
|
+
pipeline?: ConnectorIngestPipelineParams;
|
|
8084
|
+
service_type: string;
|
|
8085
|
+
}
|
|
8086
|
+
export type ConnectorSyncJobTriggerMethod = 'on_demand' | 'scheduled';
|
|
8087
|
+
export type ConnectorSyncJobType = 'full' | 'incremental' | 'access_control';
|
|
8088
|
+
export interface ConnectorSyncRulesFeature {
|
|
8089
|
+
advanced?: ConnectorFeatureEnabled;
|
|
8090
|
+
basic?: ConnectorFeatureEnabled;
|
|
8091
|
+
}
|
|
8092
|
+
export type ConnectorSyncStatus = 'canceling' | 'canceled' | 'completed' | 'error' | 'in_progress' | 'pending' | 'suspended';
|
|
8093
|
+
export type ConnectorValidation = ConnectorLessThanValidation | ConnectorGreaterThanValidation | ConnectorListTypeValidation | ConnectorIncludedInValidation | ConnectorRegexValidation;
|
|
8094
|
+
export interface ConnectorCheckInRequest extends RequestBase {
|
|
8095
|
+
connector_id: Id;
|
|
8096
|
+
}
|
|
8097
|
+
export interface ConnectorCheckInResponse {
|
|
8098
|
+
result: Result;
|
|
8099
|
+
}
|
|
8100
|
+
export interface ConnectorDeleteRequest extends RequestBase {
|
|
8101
|
+
connector_id: Id;
|
|
8102
|
+
delete_sync_jobs: boolean;
|
|
8103
|
+
}
|
|
8104
|
+
export type ConnectorDeleteResponse = AcknowledgedResponseBase;
|
|
8105
|
+
export interface ConnectorGetRequest extends RequestBase {
|
|
8106
|
+
connector_id: Id;
|
|
8107
|
+
}
|
|
8108
|
+
export type ConnectorGetResponse = ConnectorConnector;
|
|
8109
|
+
export interface ConnectorLastSyncRequest extends RequestBase {
|
|
8110
|
+
connector_id: Id;
|
|
8111
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8112
|
+
body?: {
|
|
8113
|
+
last_access_control_sync_error?: SpecUtilsWithNullValue<string>;
|
|
8114
|
+
last_access_control_sync_scheduled_at?: DateTime;
|
|
8115
|
+
last_access_control_sync_status?: ConnectorSyncStatus;
|
|
8116
|
+
last_deleted_document_count?: long;
|
|
8117
|
+
last_incremental_sync_scheduled_at?: DateTime;
|
|
8118
|
+
last_indexed_document_count?: long;
|
|
8119
|
+
last_seen?: SpecUtilsWithNullValue<DateTime>;
|
|
8120
|
+
last_sync_error?: SpecUtilsWithNullValue<string>;
|
|
8121
|
+
last_sync_scheduled_at?: DateTime;
|
|
8122
|
+
last_sync_status?: ConnectorSyncStatus;
|
|
8123
|
+
last_synced?: DateTime;
|
|
8124
|
+
};
|
|
8125
|
+
}
|
|
8126
|
+
export interface ConnectorLastSyncResponse {
|
|
8127
|
+
result: Result;
|
|
8128
|
+
}
|
|
8129
|
+
export interface ConnectorListRequest extends RequestBase {
|
|
8130
|
+
from?: integer;
|
|
8131
|
+
size?: integer;
|
|
8132
|
+
index_name?: Indices;
|
|
8133
|
+
connector_name?: Names;
|
|
8134
|
+
service_type?: Names;
|
|
8135
|
+
query?: string;
|
|
8136
|
+
}
|
|
8137
|
+
export interface ConnectorListResponse {
|
|
8138
|
+
count: long;
|
|
8139
|
+
results: ConnectorConnector[];
|
|
8140
|
+
}
|
|
8141
|
+
export interface ConnectorPostRequest extends RequestBase {
|
|
8142
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8143
|
+
body?: {
|
|
8144
|
+
description?: string;
|
|
8145
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8146
|
+
is_native?: boolean;
|
|
8147
|
+
language?: string;
|
|
8148
|
+
name?: string;
|
|
8149
|
+
service_type?: string;
|
|
8150
|
+
};
|
|
8151
|
+
}
|
|
8152
|
+
export interface ConnectorPostResponse {
|
|
8153
|
+
id: Id;
|
|
8154
|
+
}
|
|
8155
|
+
export interface ConnectorPutRequest extends RequestBase {
|
|
8156
|
+
connector_id: Id;
|
|
8157
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8158
|
+
body?: {
|
|
8159
|
+
description?: string;
|
|
8160
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8161
|
+
is_native?: boolean;
|
|
8162
|
+
language?: string;
|
|
8163
|
+
name?: string;
|
|
8164
|
+
service_type?: string;
|
|
8165
|
+
};
|
|
8166
|
+
}
|
|
8167
|
+
export interface ConnectorPutResponse {
|
|
8168
|
+
result: Result;
|
|
8169
|
+
}
|
|
8170
|
+
export interface ConnectorSyncJobCancelRequest extends RequestBase {
|
|
8171
|
+
connector_sync_job_id: Id;
|
|
8172
|
+
}
|
|
8173
|
+
export interface ConnectorSyncJobCancelResponse {
|
|
8174
|
+
result: Result;
|
|
8175
|
+
}
|
|
8176
|
+
export interface ConnectorSyncJobDeleteRequest extends RequestBase {
|
|
8177
|
+
connector_sync_job_id: Id;
|
|
8178
|
+
}
|
|
8179
|
+
export type ConnectorSyncJobDeleteResponse = AcknowledgedResponseBase;
|
|
8180
|
+
export interface ConnectorSyncJobGetRequest extends RequestBase {
|
|
8181
|
+
connector_sync_job_id: Id;
|
|
8182
|
+
}
|
|
8183
|
+
export type ConnectorSyncJobGetResponse = ConnectorConnectorSyncJob;
|
|
8184
|
+
export interface ConnectorSyncJobListRequest extends RequestBase {
|
|
8185
|
+
from?: integer;
|
|
8186
|
+
size?: integer;
|
|
8187
|
+
status?: ConnectorSyncStatus;
|
|
8188
|
+
connector_id?: Id;
|
|
8189
|
+
job_type?: ConnectorSyncJobType[];
|
|
8190
|
+
}
|
|
8191
|
+
export interface ConnectorSyncJobListResponse {
|
|
8192
|
+
count: long;
|
|
8193
|
+
results: ConnectorConnectorSyncJob[];
|
|
8194
|
+
}
|
|
8195
|
+
export interface ConnectorSyncJobPostRequest extends RequestBase {
|
|
8196
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8197
|
+
body?: {
|
|
8198
|
+
id: Id;
|
|
8199
|
+
job_type?: ConnectorSyncJobType;
|
|
8200
|
+
trigger_method?: ConnectorSyncJobTriggerMethod;
|
|
8201
|
+
};
|
|
8202
|
+
}
|
|
8203
|
+
export interface ConnectorSyncJobPostResponse {
|
|
8204
|
+
id: Id;
|
|
8205
|
+
}
|
|
8206
|
+
export interface ConnectorUpdateActiveFilteringRequest extends RequestBase {
|
|
8207
|
+
connector_id: Id;
|
|
8208
|
+
}
|
|
8209
|
+
export interface ConnectorUpdateActiveFilteringResponse {
|
|
8210
|
+
result: Result;
|
|
8211
|
+
}
|
|
8212
|
+
export interface ConnectorUpdateApiKeyIdRequest extends RequestBase {
|
|
8213
|
+
connector_id: Id;
|
|
8214
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8215
|
+
body?: {
|
|
8216
|
+
api_key_id?: SpecUtilsWithNullValue<string>;
|
|
8217
|
+
api_key_secret_id?: SpecUtilsWithNullValue<string>;
|
|
8218
|
+
};
|
|
8219
|
+
}
|
|
8220
|
+
export interface ConnectorUpdateApiKeyIdResponse {
|
|
8221
|
+
result: Result;
|
|
8222
|
+
}
|
|
8223
|
+
export interface ConnectorUpdateConfigurationRequest extends RequestBase {
|
|
8224
|
+
connector_id: Id;
|
|
8225
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8226
|
+
body?: {
|
|
8227
|
+
configuration?: ConnectorConnectorConfiguration;
|
|
8228
|
+
values?: Record<string, any>;
|
|
8229
|
+
};
|
|
8230
|
+
}
|
|
8231
|
+
export interface ConnectorUpdateConfigurationResponse {
|
|
8232
|
+
result: Result;
|
|
8233
|
+
}
|
|
8234
|
+
export interface ConnectorUpdateErrorRequest extends RequestBase {
|
|
8235
|
+
connector_id: Id;
|
|
8236
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8237
|
+
body?: {
|
|
8238
|
+
error: SpecUtilsWithNullValue<string>;
|
|
8239
|
+
};
|
|
8240
|
+
}
|
|
8241
|
+
export interface ConnectorUpdateErrorResponse {
|
|
8242
|
+
result: Result;
|
|
8243
|
+
}
|
|
8244
|
+
export interface ConnectorUpdateFilteringRequest extends RequestBase {
|
|
8245
|
+
connector_id: Id;
|
|
8246
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8247
|
+
body?: {
|
|
8248
|
+
filtering?: ConnectorFilteringConfig[];
|
|
8249
|
+
rules?: ConnectorFilteringRule[];
|
|
8250
|
+
advanced_snippet?: ConnectorFilteringAdvancedSnippet;
|
|
8251
|
+
};
|
|
8252
|
+
}
|
|
8253
|
+
export interface ConnectorUpdateFilteringResponse {
|
|
8254
|
+
result: Result;
|
|
8255
|
+
}
|
|
8256
|
+
export interface ConnectorUpdateFilteringValidationRequest extends RequestBase {
|
|
8257
|
+
connector_id: Id;
|
|
8258
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8259
|
+
body?: {
|
|
8260
|
+
validation: ConnectorFilteringRulesValidation;
|
|
8261
|
+
};
|
|
8262
|
+
}
|
|
8263
|
+
export interface ConnectorUpdateFilteringValidationResponse {
|
|
8264
|
+
result: Result;
|
|
8265
|
+
}
|
|
8266
|
+
export interface ConnectorUpdateIndexNameRequest extends RequestBase {
|
|
8267
|
+
connector_id: Id;
|
|
8268
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8269
|
+
body?: {
|
|
8270
|
+
index_name: SpecUtilsWithNullValue<IndexName>;
|
|
8271
|
+
};
|
|
8272
|
+
}
|
|
8273
|
+
export interface ConnectorUpdateIndexNameResponse {
|
|
8274
|
+
result: Result;
|
|
8275
|
+
}
|
|
8276
|
+
export interface ConnectorUpdateNameRequest extends RequestBase {
|
|
8277
|
+
connector_id: Id;
|
|
8278
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8279
|
+
body?: {
|
|
8280
|
+
name: string;
|
|
8281
|
+
description?: string;
|
|
8282
|
+
};
|
|
8283
|
+
}
|
|
8284
|
+
export interface ConnectorUpdateNameResponse {
|
|
8285
|
+
result: Result;
|
|
8286
|
+
}
|
|
8287
|
+
export interface ConnectorUpdateNativeRequest extends RequestBase {
|
|
8288
|
+
connector_id: Id;
|
|
8289
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8290
|
+
body?: {
|
|
8291
|
+
is_native: boolean;
|
|
8292
|
+
};
|
|
8293
|
+
}
|
|
8294
|
+
export interface ConnectorUpdateNativeResponse {
|
|
8295
|
+
result: Result;
|
|
8296
|
+
}
|
|
8297
|
+
export interface ConnectorUpdatePipelineRequest extends RequestBase {
|
|
8298
|
+
connector_id: Id;
|
|
8299
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8300
|
+
body?: {
|
|
8301
|
+
pipeline: ConnectorIngestPipelineParams;
|
|
8302
|
+
};
|
|
8303
|
+
}
|
|
8304
|
+
export interface ConnectorUpdatePipelineResponse {
|
|
8305
|
+
result: Result;
|
|
8306
|
+
}
|
|
8307
|
+
export interface ConnectorUpdateSchedulingRequest extends RequestBase {
|
|
8308
|
+
connector_id: Id;
|
|
8309
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8310
|
+
body?: {
|
|
8311
|
+
scheduling: ConnectorSchedulingConfiguration;
|
|
8312
|
+
};
|
|
8313
|
+
}
|
|
8314
|
+
export interface ConnectorUpdateSchedulingResponse {
|
|
8315
|
+
result: Result;
|
|
8316
|
+
}
|
|
8317
|
+
export interface ConnectorUpdateServiceTypeRequest extends RequestBase {
|
|
8318
|
+
connector_id: Id;
|
|
8319
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8320
|
+
body?: {
|
|
8321
|
+
service_type: string;
|
|
8322
|
+
};
|
|
8323
|
+
}
|
|
8324
|
+
export interface ConnectorUpdateServiceTypeResponse {
|
|
8325
|
+
result: Result;
|
|
8326
|
+
}
|
|
8327
|
+
export interface ConnectorUpdateStatusRequest extends RequestBase {
|
|
8328
|
+
connector_id: Id;
|
|
8329
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
8330
|
+
body?: {
|
|
8331
|
+
status: ConnectorConnectorStatus;
|
|
8332
|
+
};
|
|
8333
|
+
}
|
|
8334
|
+
export interface ConnectorUpdateStatusResponse {
|
|
8335
|
+
result: Result;
|
|
8336
|
+
}
|
|
7826
8337
|
export interface DanglingIndicesDeleteDanglingIndexRequest extends RequestBase {
|
|
7827
8338
|
index_uuid: Uuid;
|
|
7828
8339
|
accept_data_loss: boolean;
|
|
@@ -8539,7 +9050,7 @@ export interface IndicesIndexSettingsAnalysis {
|
|
|
8539
9050
|
tokenizer?: Record<string, AnalysisTokenizer>;
|
|
8540
9051
|
}
|
|
8541
9052
|
export interface IndicesIndexSettingsLifecycle {
|
|
8542
|
-
name
|
|
9053
|
+
name?: Name;
|
|
8543
9054
|
indexing_complete?: SpecUtilsStringified<boolean>;
|
|
8544
9055
|
origination_date?: long;
|
|
8545
9056
|
parse_origination_date?: boolean;
|
|
@@ -8612,22 +9123,23 @@ export interface IndicesMappingLimitSettings {
|
|
|
8612
9123
|
ignore_malformed?: boolean;
|
|
8613
9124
|
}
|
|
8614
9125
|
export interface IndicesMappingLimitSettingsDepth {
|
|
8615
|
-
limit?:
|
|
9126
|
+
limit?: long;
|
|
8616
9127
|
}
|
|
8617
9128
|
export interface IndicesMappingLimitSettingsDimensionFields {
|
|
8618
|
-
limit?:
|
|
9129
|
+
limit?: long;
|
|
8619
9130
|
}
|
|
8620
9131
|
export interface IndicesMappingLimitSettingsFieldNameLength {
|
|
8621
9132
|
limit?: long;
|
|
8622
9133
|
}
|
|
8623
9134
|
export interface IndicesMappingLimitSettingsNestedFields {
|
|
8624
|
-
limit?:
|
|
9135
|
+
limit?: long;
|
|
8625
9136
|
}
|
|
8626
9137
|
export interface IndicesMappingLimitSettingsNestedObjects {
|
|
8627
|
-
limit?:
|
|
9138
|
+
limit?: long;
|
|
8628
9139
|
}
|
|
8629
9140
|
export interface IndicesMappingLimitSettingsTotalFields {
|
|
8630
|
-
limit?:
|
|
9141
|
+
limit?: long;
|
|
9142
|
+
ignore_dynamic_beyond_limit?: boolean;
|
|
8631
9143
|
}
|
|
8632
9144
|
export interface IndicesMerge {
|
|
8633
9145
|
scheduler?: IndicesMergeScheduler;
|
|
@@ -8728,7 +9240,7 @@ export interface IndicesStorage {
|
|
|
8728
9240
|
type: IndicesStorageType;
|
|
8729
9241
|
allow_mmap?: boolean;
|
|
8730
9242
|
}
|
|
8731
|
-
export type IndicesStorageType = 'fs' | '
|
|
9243
|
+
export type IndicesStorageType = 'fs' | 'niofs' | 'mmapfs' | 'hybridfs' | string;
|
|
8732
9244
|
export interface IndicesTemplateMapping {
|
|
8733
9245
|
aliases: Record<IndexName, IndicesAlias>;
|
|
8734
9246
|
index_patterns: Name[];
|
|
@@ -9272,15 +9784,20 @@ export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
|
9272
9784
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
9273
9785
|
name: Name;
|
|
9274
9786
|
create?: boolean;
|
|
9787
|
+
master_timeout?: Duration;
|
|
9788
|
+
cause?: string;
|
|
9275
9789
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9276
9790
|
body?: {
|
|
9277
9791
|
index_patterns?: Indices;
|
|
9278
9792
|
composed_of?: Name[];
|
|
9279
9793
|
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
9280
9794
|
data_stream?: IndicesDataStreamVisibility;
|
|
9281
|
-
priority?:
|
|
9795
|
+
priority?: long;
|
|
9282
9796
|
version?: VersionNumber;
|
|
9283
9797
|
_meta?: Metadata;
|
|
9798
|
+
allow_auto_create?: boolean;
|
|
9799
|
+
ignore_missing_component_templates?: string[];
|
|
9800
|
+
deprecated?: boolean;
|
|
9284
9801
|
};
|
|
9285
9802
|
}
|
|
9286
9803
|
export type IndicesPutIndexTemplateResponse = AcknowledgedResponseBase;
|
|
@@ -9324,16 +9841,15 @@ export type IndicesPutSettingsResponse = AcknowledgedResponseBase;
|
|
|
9324
9841
|
export interface IndicesPutTemplateRequest extends RequestBase {
|
|
9325
9842
|
name: Name;
|
|
9326
9843
|
create?: boolean;
|
|
9327
|
-
flat_settings?: boolean;
|
|
9328
9844
|
master_timeout?: Duration;
|
|
9329
|
-
|
|
9845
|
+
cause?: string;
|
|
9330
9846
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9331
9847
|
body?: {
|
|
9332
9848
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
9333
9849
|
index_patterns?: string | string[];
|
|
9334
9850
|
mappings?: MappingTypeMapping;
|
|
9335
9851
|
order?: integer;
|
|
9336
|
-
settings?:
|
|
9852
|
+
settings?: IndicesIndexSettings;
|
|
9337
9853
|
version?: VersionNumber;
|
|
9338
9854
|
};
|
|
9339
9855
|
}
|
|
@@ -9629,22 +10145,12 @@ export interface IndicesShrinkResponse {
|
|
|
9629
10145
|
}
|
|
9630
10146
|
export interface IndicesSimulateIndexTemplateRequest extends RequestBase {
|
|
9631
10147
|
name: Name;
|
|
9632
|
-
create?: boolean;
|
|
9633
10148
|
master_timeout?: Duration;
|
|
9634
10149
|
include_defaults?: boolean;
|
|
9635
|
-
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9636
|
-
body?: {
|
|
9637
|
-
allow_auto_create?: boolean;
|
|
9638
|
-
index_patterns?: Indices;
|
|
9639
|
-
composed_of?: Name[];
|
|
9640
|
-
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
9641
|
-
data_stream?: IndicesDataStreamVisibility;
|
|
9642
|
-
priority?: integer;
|
|
9643
|
-
version?: VersionNumber;
|
|
9644
|
-
_meta?: Metadata;
|
|
9645
|
-
};
|
|
9646
10150
|
}
|
|
9647
10151
|
export interface IndicesSimulateIndexTemplateResponse {
|
|
10152
|
+
overlapping?: IndicesSimulateTemplateOverlapping[];
|
|
10153
|
+
template: IndicesSimulateTemplateTemplate;
|
|
9648
10154
|
}
|
|
9649
10155
|
export interface IndicesSimulateTemplateOverlapping {
|
|
9650
10156
|
name: Name;
|
|
@@ -9655,8 +10161,19 @@ export interface IndicesSimulateTemplateRequest extends RequestBase {
|
|
|
9655
10161
|
create?: boolean;
|
|
9656
10162
|
master_timeout?: Duration;
|
|
9657
10163
|
include_defaults?: boolean;
|
|
9658
|
-
/** @deprecated The use of the 'body' key has been deprecated,
|
|
9659
|
-
body?:
|
|
10164
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
10165
|
+
body?: {
|
|
10166
|
+
allow_auto_create?: boolean;
|
|
10167
|
+
index_patterns?: Indices;
|
|
10168
|
+
composed_of?: Name[];
|
|
10169
|
+
template?: IndicesPutIndexTemplateIndexTemplateMapping;
|
|
10170
|
+
data_stream?: IndicesDataStreamVisibility;
|
|
10171
|
+
priority?: long;
|
|
10172
|
+
version?: VersionNumber;
|
|
10173
|
+
_meta?: Metadata;
|
|
10174
|
+
ignore_missing_component_templates?: string[];
|
|
10175
|
+
deprecated?: boolean;
|
|
10176
|
+
};
|
|
9660
10177
|
}
|
|
9661
10178
|
export interface IndicesSimulateTemplateResponse {
|
|
9662
10179
|
overlapping?: IndicesSimulateTemplateOverlapping[];
|
|
@@ -9902,12 +10419,17 @@ export interface IndicesValidateQueryResponse {
|
|
|
9902
10419
|
valid: boolean;
|
|
9903
10420
|
error?: string;
|
|
9904
10421
|
}
|
|
10422
|
+
export interface InferenceCompletionResult {
|
|
10423
|
+
result: string;
|
|
10424
|
+
}
|
|
9905
10425
|
export type InferenceDenseByteVector = byte[];
|
|
9906
10426
|
export type InferenceDenseVector = float[];
|
|
9907
10427
|
export interface InferenceInferenceResult {
|
|
9908
10428
|
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
9909
10429
|
text_embedding?: InferenceTextEmbeddingResult[];
|
|
9910
10430
|
sparse_embedding?: InferenceSparseEmbeddingResult[];
|
|
10431
|
+
completion?: InferenceCompletionResult[];
|
|
10432
|
+
rerank?: InferenceRankedDocument[];
|
|
9911
10433
|
}
|
|
9912
10434
|
export interface InferenceModelConfig {
|
|
9913
10435
|
service: string;
|
|
@@ -9918,13 +10440,18 @@ export interface InferenceModelConfigContainer extends InferenceModelConfig {
|
|
|
9918
10440
|
model_id: string;
|
|
9919
10441
|
task_type: InferenceTaskType;
|
|
9920
10442
|
}
|
|
10443
|
+
export interface InferenceRankedDocument {
|
|
10444
|
+
index: integer;
|
|
10445
|
+
score: float;
|
|
10446
|
+
text?: string;
|
|
10447
|
+
}
|
|
9921
10448
|
export type InferenceServiceSettings = any;
|
|
9922
10449
|
export interface InferenceSparseEmbeddingResult {
|
|
9923
10450
|
embedding: InferenceSparseVector;
|
|
9924
10451
|
}
|
|
9925
10452
|
export type InferenceSparseVector = Record<string, float>;
|
|
9926
10453
|
export type InferenceTaskSettings = any;
|
|
9927
|
-
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding';
|
|
10454
|
+
export type InferenceTaskType = 'sparse_embedding' | 'text_embedding' | 'rerank' | 'completion';
|
|
9928
10455
|
export interface InferenceTextEmbeddingByteResult {
|
|
9929
10456
|
embedding: InferenceDenseByteVector;
|
|
9930
10457
|
}
|
|
@@ -9946,8 +10473,10 @@ export interface InferenceGetModelResponse {
|
|
|
9946
10473
|
export interface InferenceInferenceRequest extends RequestBase {
|
|
9947
10474
|
task_type?: InferenceTaskType;
|
|
9948
10475
|
inference_id: Id;
|
|
10476
|
+
timeout?: Duration;
|
|
9949
10477
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
9950
10478
|
body?: {
|
|
10479
|
+
query?: string;
|
|
9951
10480
|
input: string | string[];
|
|
9952
10481
|
task_settings?: InferenceTaskSettings;
|
|
9953
10482
|
};
|
|
@@ -10184,6 +10713,7 @@ export interface IngestProcessorContainer {
|
|
|
10184
10713
|
}
|
|
10185
10714
|
export interface IngestRemoveProcessor extends IngestProcessorBase {
|
|
10186
10715
|
field: Fields;
|
|
10716
|
+
keep?: Fields;
|
|
10187
10717
|
ignore_missing?: boolean;
|
|
10188
10718
|
}
|
|
10189
10719
|
export interface IngestRenameProcessor extends IngestProcessorBase {
|
|
@@ -11090,7 +11620,7 @@ export interface MlInferenceConfigUpdateContainer {
|
|
|
11090
11620
|
export interface MlInferenceResponseResult {
|
|
11091
11621
|
entities?: MlTrainedModelEntities[];
|
|
11092
11622
|
is_truncated?: boolean;
|
|
11093
|
-
predicted_value?: MlPredictedValue[];
|
|
11623
|
+
predicted_value?: MlPredictedValue | MlPredictedValue[];
|
|
11094
11624
|
predicted_value_sequence?: string;
|
|
11095
11625
|
prediction_probability?: double;
|
|
11096
11626
|
prediction_score?: double;
|
|
@@ -11484,7 +12014,7 @@ export interface MlTrainedModelDeploymentStats {
|
|
|
11484
12014
|
error_count: integer;
|
|
11485
12015
|
inference_count: integer;
|
|
11486
12016
|
model_id: Id;
|
|
11487
|
-
nodes: MlTrainedModelDeploymentNodesStats;
|
|
12017
|
+
nodes: MlTrainedModelDeploymentNodesStats[];
|
|
11488
12018
|
number_of_allocations: integer;
|
|
11489
12019
|
queue_capacity: integer;
|
|
11490
12020
|
rejected_execution_count: integer;
|
|
@@ -11515,7 +12045,7 @@ export interface MlTrainedModelInferenceStats {
|
|
|
11515
12045
|
failure_count: integer;
|
|
11516
12046
|
inference_count: integer;
|
|
11517
12047
|
missing_all_fields_count: integer;
|
|
11518
|
-
timestamp:
|
|
12048
|
+
timestamp: EpochTime<UnitMillis>;
|
|
11519
12049
|
}
|
|
11520
12050
|
export interface MlTrainedModelLocation {
|
|
11521
12051
|
index: MlTrainedModelLocationIndex;
|
|
@@ -12679,6 +13209,16 @@ export interface MlUpdateModelSnapshotResponse {
|
|
|
12679
13209
|
acknowledged: boolean;
|
|
12680
13210
|
model: MlModelSnapshot;
|
|
12681
13211
|
}
|
|
13212
|
+
export interface MlUpdateTrainedModelDeploymentRequest extends RequestBase {
|
|
13213
|
+
model_id: Id;
|
|
13214
|
+
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13215
|
+
body?: {
|
|
13216
|
+
number_of_allocations?: integer;
|
|
13217
|
+
};
|
|
13218
|
+
}
|
|
13219
|
+
export interface MlUpdateTrainedModelDeploymentResponse {
|
|
13220
|
+
assignment: MlTrainedModelAssignment;
|
|
13221
|
+
}
|
|
12682
13222
|
export interface MlUpgradeJobSnapshotRequest extends RequestBase {
|
|
12683
13223
|
job_id: Id;
|
|
12684
13224
|
snapshot_id: Id;
|
|
@@ -13273,7 +13813,7 @@ export interface NodesInfoNodeInfoRepositoriesUrl {
|
|
|
13273
13813
|
}
|
|
13274
13814
|
export interface NodesInfoNodeInfoScript {
|
|
13275
13815
|
allowed_types: string;
|
|
13276
|
-
disable_max_compilations_rate
|
|
13816
|
+
disable_max_compilations_rate?: string;
|
|
13277
13817
|
}
|
|
13278
13818
|
export interface NodesInfoNodeInfoSearch {
|
|
13279
13819
|
remote: NodesInfoNodeInfoSearchRemote;
|
|
@@ -13288,7 +13828,7 @@ export interface NodesInfoNodeInfoSettings {
|
|
|
13288
13828
|
repositories?: NodesInfoNodeInfoRepositories;
|
|
13289
13829
|
discovery?: NodesInfoNodeInfoDiscover;
|
|
13290
13830
|
action?: NodesInfoNodeInfoAction;
|
|
13291
|
-
client
|
|
13831
|
+
client?: NodesInfoNodeInfoClient;
|
|
13292
13832
|
http: NodesInfoNodeInfoSettingsHttp;
|
|
13293
13833
|
bootstrap?: NodesInfoNodeInfoBootstrap;
|
|
13294
13834
|
transport: NodesInfoNodeInfoSettingsTransport;
|
|
@@ -13354,7 +13894,7 @@ export interface NodesInfoNodeInfoSettingsIngest {
|
|
|
13354
13894
|
inference?: NodesInfoNodeInfoIngestInfo;
|
|
13355
13895
|
}
|
|
13356
13896
|
export interface NodesInfoNodeInfoSettingsNetwork {
|
|
13357
|
-
host
|
|
13897
|
+
host?: Host;
|
|
13358
13898
|
}
|
|
13359
13899
|
export interface NodesInfoNodeInfoSettingsNode {
|
|
13360
13900
|
name: Name;
|
|
@@ -13790,6 +14330,7 @@ export interface SearchApplicationPutBehavioralAnalyticsRequest extends RequestB
|
|
|
13790
14330
|
export type SearchApplicationPutBehavioralAnalyticsResponse = SearchApplicationPutBehavioralAnalyticsAnalyticsAcknowledgeResponseBase;
|
|
13791
14331
|
export interface SearchApplicationSearchRequest extends RequestBase {
|
|
13792
14332
|
name: Name;
|
|
14333
|
+
typed_keys?: boolean;
|
|
13793
14334
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
13794
14335
|
body?: {
|
|
13795
14336
|
params?: Record<string, any>;
|
|
@@ -13863,7 +14404,9 @@ export interface SecurityApiKey {
|
|
|
13863
14404
|
invalidated?: boolean;
|
|
13864
14405
|
name: Name;
|
|
13865
14406
|
realm?: string;
|
|
14407
|
+
realm_type?: string;
|
|
13866
14408
|
username?: Username;
|
|
14409
|
+
profile_uid?: string;
|
|
13867
14410
|
metadata?: Metadata;
|
|
13868
14411
|
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
13869
14412
|
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
@@ -13880,7 +14423,7 @@ export interface SecurityApplicationPrivileges {
|
|
|
13880
14423
|
export interface SecurityClusterNode {
|
|
13881
14424
|
name: Name;
|
|
13882
14425
|
}
|
|
13883
|
-
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_ccr' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'read_ccr' | 'read_ilm' | 'read_pipeline' | 'read_slm' | 'transport_client' | string;
|
|
14426
|
+
export type SecurityClusterPrivilege = 'all' | 'cancel_task' | 'create_snapshot' | 'cross_cluster_replication' | 'cross_cluster_search' | 'delegate_pki' | 'grant_api_key' | 'manage' | 'manage_api_key' | 'manage_autoscaling' | 'manage_behavioral_analytics' | 'manage_ccr' | 'manage_data_frame_transforms' | 'manage_data_stream_global_retention' | 'manage_enrich' | 'manage_ilm' | 'manage_index_templates' | 'manage_inference' | 'manage_ingest_pipelines' | 'manage_logstash_pipelines' | 'manage_ml' | 'manage_oidc' | 'manage_own_api_key' | 'manage_pipeline' | 'manage_rollup' | 'manage_saml' | 'manage_search_application' | 'manage_search_query_rules' | 'manage_search_synonyms' | 'manage_security' | 'manage_service_account' | 'manage_slm' | 'manage_token' | 'manage_transform' | 'manage_user_profile' | 'manage_watcher' | 'monitor' | 'monitor_data_frame_transforms' | 'monitor_data_stream_global_retention' | 'monitor_enrich' | 'monitor_inference' | 'monitor_ml' | 'monitor_rollup' | 'monitor_snapshot' | 'monitor_text_structure' | 'monitor_transform' | 'monitor_watcher' | 'none' | 'post_behavioral_analytics_event' | 'read_ccr' | 'read_connector_secrets' | 'read_fleet_secrets' | 'read_ilm' | 'read_pipeline' | 'read_security' | 'read_slm' | 'transport_client' | 'write_connector_secrets' | 'write_fleet_secrets' | string;
|
|
13884
14427
|
export interface SecurityCreatedStatus {
|
|
13885
14428
|
created: boolean;
|
|
13886
14429
|
}
|
|
@@ -13897,7 +14440,7 @@ export interface SecurityGlobalPrivilege {
|
|
|
13897
14440
|
application: SecurityApplicationGlobalUserPrivileges;
|
|
13898
14441
|
}
|
|
13899
14442
|
export type SecurityGrantType = 'password' | 'access_token';
|
|
13900
|
-
export type SecurityIndexPrivilege = '
|
|
14443
|
+
export type SecurityIndexPrivilege = 'all' | 'auto_configure' | 'create' | 'create_doc' | 'create_index' | 'cross_cluster_replication' | 'cross_cluster_replication_internal' | 'delete' | 'delete_index' | 'index' | 'maintenance' | 'manage' | 'manage_data_stream_lifecycle' | 'manage_follow_index' | 'manage_ilm' | 'manage_leader_index' | 'monitor' | 'none' | 'read' | 'read_cross_cluster' | 'view_index_metadata' | 'write' | string;
|
|
13901
14444
|
export interface SecurityIndicesPrivileges {
|
|
13902
14445
|
field_security?: SecurityFieldSecurity;
|
|
13903
14446
|
names: Indices;
|
|
@@ -13936,9 +14479,9 @@ export interface SecurityRoleDescriptorRead {
|
|
|
13936
14479
|
export interface SecurityRoleMapping {
|
|
13937
14480
|
enabled: boolean;
|
|
13938
14481
|
metadata: Metadata;
|
|
13939
|
-
roles
|
|
13940
|
-
rules: SecurityRoleMappingRule;
|
|
14482
|
+
roles?: string[];
|
|
13941
14483
|
role_templates?: SecurityRoleTemplate[];
|
|
14484
|
+
rules: SecurityRoleMappingRule;
|
|
13942
14485
|
}
|
|
13943
14486
|
export interface SecurityRoleMappingRule {
|
|
13944
14487
|
any?: SecurityRoleMappingRule[];
|
|
@@ -14204,6 +14747,7 @@ export interface SecurityGetApiKeyRequest extends RequestBase {
|
|
|
14204
14747
|
username?: Username;
|
|
14205
14748
|
with_limited_by?: boolean;
|
|
14206
14749
|
active_only?: boolean;
|
|
14750
|
+
with_profile_uid?: boolean;
|
|
14207
14751
|
}
|
|
14208
14752
|
export interface SecurityGetApiKeyResponse {
|
|
14209
14753
|
api_keys: SecurityApiKey[];
|
|
@@ -14532,6 +15076,7 @@ export interface SecurityQueryApiKeysApiKeyQueryContainer {
|
|
|
14532
15076
|
}
|
|
14533
15077
|
export interface SecurityQueryApiKeysRequest extends RequestBase {
|
|
14534
15078
|
with_limited_by?: boolean;
|
|
15079
|
+
with_profile_uid?: boolean;
|
|
14535
15080
|
typed_keys?: boolean;
|
|
14536
15081
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
14537
15082
|
body?: {
|
|
@@ -15299,7 +15844,7 @@ export interface SynonymsPutSynonymRequest extends RequestBase {
|
|
|
15299
15844
|
}
|
|
15300
15845
|
export interface SynonymsPutSynonymResponse {
|
|
15301
15846
|
result: Result;
|
|
15302
|
-
reload_analyzers_details:
|
|
15847
|
+
reload_analyzers_details: IndicesReloadSearchAnalyzersReloadResult;
|
|
15303
15848
|
}
|
|
15304
15849
|
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
15305
15850
|
set_id: Id;
|