@elastic/elasticsearch 9.0.0-alpha.5 → 9.0.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/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/connector.d.ts +30 -30
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/esql.d.ts +5 -5
- package/lib/api/api/esql.js +1 -3
- package/lib/api/api/esql.js.map +1 -1
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/fleet.d.ts +3 -3
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +63 -63
- package/lib/api/api/indices.js +2 -1
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/inference.d.ts +32 -39
- package/lib/api/api/inference.js +36 -70
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +12 -12
- package/lib/api/api/knn_search.d.ts +5 -5
- package/lib/api/api/knn_search.js +6 -28
- package/lib/api/api/knn_search.js.map +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +73 -73
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_rules.d.ts +8 -8
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +10 -10
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +64 -64
- package/lib/api/api/shutdown.d.ts +3 -3
- package/lib/api/api/simulate.d.ts +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +13 -13
- package/lib/api/api/snapshot.js +1 -2
- package/lib/api/api/snapshot.js.map +1 -1
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +7 -7
- package/lib/api/api/tasks.d.ts +3 -3
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +4 -4
- package/lib/api/api/transform.d.ts +12 -12
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/types.d.ts +143 -196
- package/lib/client.js +17 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +0 -6
- package/lib/helpers.js +2 -1
- package/lib/helpers.js.map +1 -1
- package/package.json +7 -7
package/lib/api/types.d.ts
CHANGED
|
@@ -1631,88 +1631,6 @@ export interface InfoResponse {
|
|
|
1631
1631
|
/** The running version of Elasticsearch. */
|
|
1632
1632
|
version: ElasticsearchVersionInfo;
|
|
1633
1633
|
}
|
|
1634
|
-
export interface KnnSearchRequest extends RequestBase {
|
|
1635
|
-
/** A comma-separated list of index names to search;
|
|
1636
|
-
* use `_all` or to perform the operation on all indices. */
|
|
1637
|
-
index: Indices;
|
|
1638
|
-
/** A comma-separated list of specific routing values. */
|
|
1639
|
-
routing?: Routing;
|
|
1640
|
-
/** Indicates which source fields are returned for matching documents. These
|
|
1641
|
-
* fields are returned in the `hits._source` property of the search response. */
|
|
1642
|
-
_source?: SearchSourceConfig;
|
|
1643
|
-
/** The request returns doc values for field names matching these patterns
|
|
1644
|
-
* in the `hits.fields` property of the response.
|
|
1645
|
-
* It accepts wildcard (`*`) patterns. */
|
|
1646
|
-
docvalue_fields?: (QueryDslFieldAndFormat | Field)[];
|
|
1647
|
-
/** A list of stored fields to return as part of a hit. If no fields are specified,
|
|
1648
|
-
* no stored fields are included in the response. If this field is specified, the `_source`
|
|
1649
|
-
* parameter defaults to `false`. You can pass `_source: true` to return both source fields
|
|
1650
|
-
* and stored fields in the search response. */
|
|
1651
|
-
stored_fields?: Fields;
|
|
1652
|
-
/** The request returns values for field names matching these patterns
|
|
1653
|
-
* in the `hits.fields` property of the response.
|
|
1654
|
-
* It accepts wildcard (`*`) patterns. */
|
|
1655
|
-
fields?: Fields;
|
|
1656
|
-
/** A query to filter the documents that can match. The kNN search will return the top
|
|
1657
|
-
* `k` documents that also match this filter. The value can be a single query or a
|
|
1658
|
-
* list of queries. If `filter` isn't provided, all documents are allowed to match. */
|
|
1659
|
-
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
1660
|
-
/** The kNN query to run. */
|
|
1661
|
-
knn: KnnSearchQuery;
|
|
1662
|
-
/** All values in `body` will be added to the request body. */
|
|
1663
|
-
body?: string | ({
|
|
1664
|
-
[key: string]: any;
|
|
1665
|
-
} & {
|
|
1666
|
-
index?: never;
|
|
1667
|
-
routing?: never;
|
|
1668
|
-
_source?: never;
|
|
1669
|
-
docvalue_fields?: never;
|
|
1670
|
-
stored_fields?: never;
|
|
1671
|
-
fields?: never;
|
|
1672
|
-
filter?: never;
|
|
1673
|
-
knn?: never;
|
|
1674
|
-
});
|
|
1675
|
-
/** All values in `querystring` will be added to the request querystring. */
|
|
1676
|
-
querystring?: {
|
|
1677
|
-
[key: string]: any;
|
|
1678
|
-
} & {
|
|
1679
|
-
index?: never;
|
|
1680
|
-
routing?: never;
|
|
1681
|
-
_source?: never;
|
|
1682
|
-
docvalue_fields?: never;
|
|
1683
|
-
stored_fields?: never;
|
|
1684
|
-
fields?: never;
|
|
1685
|
-
filter?: never;
|
|
1686
|
-
knn?: never;
|
|
1687
|
-
};
|
|
1688
|
-
}
|
|
1689
|
-
export interface KnnSearchResponse<TDocument = unknown> {
|
|
1690
|
-
/** The milliseconds it took Elasticsearch to run the request. */
|
|
1691
|
-
took: long;
|
|
1692
|
-
/** If true, the request timed out before completion;
|
|
1693
|
-
* returned results may be partial or empty. */
|
|
1694
|
-
timed_out: boolean;
|
|
1695
|
-
/** A count of shards used for the request. */
|
|
1696
|
-
_shards: ShardStatistics;
|
|
1697
|
-
/** The returned documents and metadata. */
|
|
1698
|
-
hits: SearchHitsMetadata<TDocument>;
|
|
1699
|
-
/** The field values for the documents. These fields
|
|
1700
|
-
* must be specified in the request using the `fields` parameter. */
|
|
1701
|
-
fields?: Record<string, any>;
|
|
1702
|
-
/** The highest returned document score. This value is null for requests
|
|
1703
|
-
* that do not sort by score. */
|
|
1704
|
-
max_score?: double;
|
|
1705
|
-
}
|
|
1706
|
-
export interface KnnSearchQuery {
|
|
1707
|
-
/** The name of the vector field to search against */
|
|
1708
|
-
field: Field;
|
|
1709
|
-
/** The query vector */
|
|
1710
|
-
query_vector: QueryVector;
|
|
1711
|
-
/** The final number of nearest neighbors to return as top hits */
|
|
1712
|
-
k: integer;
|
|
1713
|
-
/** The number of nearest neighbor candidates to consider per shard */
|
|
1714
|
-
num_candidates: integer;
|
|
1715
|
-
}
|
|
1716
1634
|
export interface MgetMultiGetError {
|
|
1717
1635
|
error: ErrorCause;
|
|
1718
1636
|
_id: Id;
|
|
@@ -4860,7 +4778,6 @@ export interface ErrorResponseBase {
|
|
|
4860
4778
|
error: ErrorCause;
|
|
4861
4779
|
status: integer;
|
|
4862
4780
|
}
|
|
4863
|
-
export type EsqlResult = ArrayBuffer;
|
|
4864
4781
|
export type ExpandWildcard = 'all' | 'open' | 'closed' | 'hidden' | 'none';
|
|
4865
4782
|
export type ExpandWildcards = ExpandWildcard | ExpandWildcard[];
|
|
4866
4783
|
export type Field = string;
|
|
@@ -4967,8 +4884,6 @@ export interface IndexingStats {
|
|
|
4967
4884
|
index_failed: long;
|
|
4968
4885
|
types?: Record<string, IndexingStats>;
|
|
4969
4886
|
write_load?: double;
|
|
4970
|
-
recent_write_load?: double;
|
|
4971
|
-
peak_write_load?: double;
|
|
4972
4887
|
}
|
|
4973
4888
|
export type Indices = IndexName | IndexName[];
|
|
4974
4889
|
export interface IndicesOptions {
|
|
@@ -5015,7 +4930,8 @@ export interface KnnQuery extends QueryDslQueryBase {
|
|
|
5015
4930
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
5016
4931
|
/** The minimum similarity for a vector to be considered a match */
|
|
5017
4932
|
similarity?: float;
|
|
5018
|
-
/** Apply oversampling and rescoring to quantized vectors
|
|
4933
|
+
/** Apply oversampling and rescoring to quantized vectors *
|
|
4934
|
+
* @experimental */
|
|
5019
4935
|
rescore_vector?: RescoreVector;
|
|
5020
4936
|
}
|
|
5021
4937
|
export interface KnnRetriever extends RetrieverBase {
|
|
@@ -5031,7 +4947,8 @@ export interface KnnRetriever extends RetrieverBase {
|
|
|
5031
4947
|
num_candidates: integer;
|
|
5032
4948
|
/** The minimum similarity required for a document to be considered a match. */
|
|
5033
4949
|
similarity?: float;
|
|
5034
|
-
/** Apply oversampling and rescoring to quantized vectors
|
|
4950
|
+
/** Apply oversampling and rescoring to quantized vectors *
|
|
4951
|
+
* @experimental */
|
|
5035
4952
|
rescore_vector?: RescoreVector;
|
|
5036
4953
|
}
|
|
5037
4954
|
export interface KnnSearch {
|
|
@@ -5053,7 +4970,8 @@ export interface KnnSearch {
|
|
|
5053
4970
|
similarity?: float;
|
|
5054
4971
|
/** If defined, each search hit will contain inner hits. */
|
|
5055
4972
|
inner_hits?: SearchInnerHits;
|
|
5056
|
-
/** Apply oversampling and rescoring to quantized vectors
|
|
4973
|
+
/** Apply oversampling and rescoring to quantized vectors *
|
|
4974
|
+
* @experimental */
|
|
5057
4975
|
rescore_vector?: RescoreVector;
|
|
5058
4976
|
}
|
|
5059
4977
|
export interface LatLonGeoLocation {
|
|
@@ -5764,14 +5682,13 @@ export interface AggregationsAggregationContainer {
|
|
|
5764
5682
|
/** A multi-bucket aggregation similar to the histogram, except instead of providing an interval to use as the width of each bucket, a target number of buckets is provided. */
|
|
5765
5683
|
variable_width_histogram?: AggregationsVariableWidthHistogramAggregation;
|
|
5766
5684
|
}
|
|
5767
|
-
export
|
|
5768
|
-
export interface AggregationsAggregationRangeBase<T = unknown> {
|
|
5685
|
+
export interface AggregationsAggregationRange {
|
|
5769
5686
|
/** Start of the range (inclusive). */
|
|
5770
|
-
from?:
|
|
5687
|
+
from?: double | null;
|
|
5771
5688
|
/** Custom key to return the range with. */
|
|
5772
5689
|
key?: string;
|
|
5773
5690
|
/** End of the range (exclusive). */
|
|
5774
|
-
to?:
|
|
5691
|
+
to?: double | null;
|
|
5775
5692
|
}
|
|
5776
5693
|
export interface AggregationsArrayPercentilesItem {
|
|
5777
5694
|
key: string;
|
|
@@ -5936,8 +5853,8 @@ export interface AggregationsCategorizeTextAggregation {
|
|
|
5936
5853
|
* use the categorization_analyzer property instead and include the filters as pattern_replace character filters. */
|
|
5937
5854
|
categorization_filters?: string[];
|
|
5938
5855
|
/** The categorization analyzer specifies how the text is analyzed and tokenized before being categorized.
|
|
5939
|
-
* The syntax is very similar to that used to define the analyzer in the
|
|
5940
|
-
* cannot be used at the same time as categorization_filters
|
|
5856
|
+
* The syntax is very similar to that used to define the analyzer in the analyze API. This property
|
|
5857
|
+
* cannot be used at the same time as `categorization_filters`. */
|
|
5941
5858
|
categorization_analyzer?: AggregationsCategorizeTextAnalyzer;
|
|
5942
5859
|
/** The number of categorization buckets to return from each shard before merging all the results. */
|
|
5943
5860
|
shard_size?: integer;
|
|
@@ -6034,8 +5951,6 @@ export interface AggregationsCustomCategorizeTextAnalyzer {
|
|
|
6034
5951
|
tokenizer?: string;
|
|
6035
5952
|
filter?: string[];
|
|
6036
5953
|
}
|
|
6037
|
-
export interface AggregationsDateAggregationRange extends AggregationsAggregationRangeBase<AggregationsFieldDateMath> {
|
|
6038
|
-
}
|
|
6039
5954
|
export interface AggregationsDateHistogramAggregate extends AggregationsMultiBucketAggregateBase<AggregationsDateHistogramBucket> {
|
|
6040
5955
|
}
|
|
6041
5956
|
export interface AggregationsDateHistogramAggregation extends AggregationsBucketAggregationBase {
|
|
@@ -6090,12 +6005,20 @@ export interface AggregationsDateRangeAggregation extends AggregationsBucketAggr
|
|
|
6090
6005
|
* By default, documents without a value are ignored. */
|
|
6091
6006
|
missing?: AggregationsMissing;
|
|
6092
6007
|
/** Array of date ranges. */
|
|
6093
|
-
ranges?:
|
|
6008
|
+
ranges?: AggregationsDateRangeExpression[];
|
|
6094
6009
|
/** Time zone used to convert dates from another time zone to UTC. */
|
|
6095
6010
|
time_zone?: TimeZone;
|
|
6096
6011
|
/** Set to `true` to associate a unique string key with each bucket and returns the ranges as a hash rather than an array. */
|
|
6097
6012
|
keyed?: boolean;
|
|
6098
6013
|
}
|
|
6014
|
+
export interface AggregationsDateRangeExpression {
|
|
6015
|
+
/** Start of the range (inclusive). */
|
|
6016
|
+
from?: AggregationsFieldDateMath;
|
|
6017
|
+
/** Custom key to return the range with. */
|
|
6018
|
+
key?: string;
|
|
6019
|
+
/** End of the range (exclusive). */
|
|
6020
|
+
to?: AggregationsFieldDateMath;
|
|
6021
|
+
}
|
|
6099
6022
|
export interface AggregationsDerivativeAggregate extends AggregationsSingleMetricAggregateBase {
|
|
6100
6023
|
normalized_value?: double;
|
|
6101
6024
|
normalized_value_as_string?: string;
|
|
@@ -6680,8 +6603,6 @@ export interface AggregationsNormalizeAggregation extends AggregationsPipelineAg
|
|
|
6680
6603
|
method?: AggregationsNormalizeMethod;
|
|
6681
6604
|
}
|
|
6682
6605
|
export type AggregationsNormalizeMethod = 'rescale_0_1' | 'rescale_0_100' | 'percent_of_sum' | 'mean' | 'z-score' | 'softmax';
|
|
6683
|
-
export interface AggregationsNumberAggregationRange extends AggregationsAggregationRangeBase<double> {
|
|
6684
|
-
}
|
|
6685
6606
|
export interface AggregationsParentAggregateKeys extends AggregationsSingleBucketAggregateBase {
|
|
6686
6607
|
}
|
|
6687
6608
|
export type AggregationsParentAggregate = AggregationsParentAggregateKeys & {
|
|
@@ -7050,8 +6971,6 @@ export interface AggregationsTTestAggregation {
|
|
|
7050
6971
|
type?: AggregationsTTestType;
|
|
7051
6972
|
}
|
|
7052
6973
|
export type AggregationsTTestType = 'paired' | 'homoscedastic' | 'heteroscedastic';
|
|
7053
|
-
export interface AggregationsTermAggregationRange extends AggregationsAggregationRangeBase<string> {
|
|
7054
|
-
}
|
|
7055
6974
|
export interface AggregationsTermsAggregateBase<TBucket = unknown> extends AggregationsMultiBucketAggregateBase<TBucket> {
|
|
7056
6975
|
doc_count_error_upper_bound?: long;
|
|
7057
6976
|
sum_other_doc_count?: long;
|
|
@@ -7191,8 +7110,6 @@ export interface AggregationsUnmappedSignificantTermsAggregate extends Aggregati
|
|
|
7191
7110
|
}
|
|
7192
7111
|
export interface AggregationsUnmappedTermsAggregate extends AggregationsTermsAggregateBase<void> {
|
|
7193
7112
|
}
|
|
7194
|
-
export interface AggregationsUntypedAggregationRange extends AggregationsAggregationRangeBase<any> {
|
|
7195
|
-
}
|
|
7196
7113
|
export interface AggregationsValueCountAggregate extends AggregationsSingleMetricAggregateBase {
|
|
7197
7114
|
}
|
|
7198
7115
|
export interface AggregationsValueCountAggregation extends AggregationsFormattableMetricAggregation {
|
|
@@ -8115,15 +8032,6 @@ export interface MappingDenseVectorIndexOptions {
|
|
|
8115
8032
|
m?: integer;
|
|
8116
8033
|
/** The type of kNN algorithm to use. */
|
|
8117
8034
|
type: MappingDenseVectorIndexOptionsType;
|
|
8118
|
-
/** The rescore vector options. This is only applicable to `bbq_hnsw`, `int4_hnsw`, `int8_hnsw`, `bbq_flat`, `int4_flat`, and `int8_flat` index types. */
|
|
8119
|
-
rescore_vector?: MappingDenseVectorIndexOptionsRescoreVector;
|
|
8120
|
-
}
|
|
8121
|
-
export interface MappingDenseVectorIndexOptionsRescoreVector {
|
|
8122
|
-
/** The oversampling factor to use when searching for the nearest neighbor. This is only applicable to the quantized formats: `bbq_*`, `int4_*`, and `int8_*`.
|
|
8123
|
-
* When provided, `oversample * k` vectors will be gathered and then their scores will be re-computed with the original vectors.
|
|
8124
|
-
*
|
|
8125
|
-
* valid values are between `1.0` and `10.0` (inclusive), or `0` exactly to disable oversampling. */
|
|
8126
|
-
oversample: float;
|
|
8127
8035
|
}
|
|
8128
8036
|
export type MappingDenseVectorIndexOptionsType = 'bbq_flat' | 'bbq_hnsw' | 'flat' | 'hnsw' | 'int4_flat' | 'int4_hnsw' | 'int8_flat' | 'int8_hnsw';
|
|
8129
8037
|
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
|
@@ -16445,8 +16353,10 @@ export interface ClusterHealthHealthResponseBody {
|
|
|
16445
16353
|
active_primary_shards: integer;
|
|
16446
16354
|
/** The total number of active primary and replica shards. */
|
|
16447
16355
|
active_shards: integer;
|
|
16356
|
+
/** The ratio of active shards in the cluster expressed as a string formatted percentage. */
|
|
16357
|
+
active_shards_percent?: string;
|
|
16448
16358
|
/** The ratio of active shards in the cluster expressed as a percentage. */
|
|
16449
|
-
active_shards_percent_as_number:
|
|
16359
|
+
active_shards_percent_as_number: double;
|
|
16450
16360
|
/** The name of the cluster. */
|
|
16451
16361
|
cluster_name: Name;
|
|
16452
16362
|
/** The number of shards whose allocation has been delayed by the timeout settings. */
|
|
@@ -16506,7 +16416,7 @@ export interface ClusterHealthRequest extends RequestBase {
|
|
|
16506
16416
|
/** Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed. */
|
|
16507
16417
|
wait_for_events?: WaitForEvents;
|
|
16508
16418
|
/** The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and <N. Alternatively, it is possible to use ge(N), le(N), gt(N) and lt(N) notation. */
|
|
16509
|
-
wait_for_nodes?:
|
|
16419
|
+
wait_for_nodes?: ClusterHealthWaitForNodes;
|
|
16510
16420
|
/** A boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard initializations. Defaults to false, which means it will not wait for initializing shards. */
|
|
16511
16421
|
wait_for_no_initializing_shards?: boolean;
|
|
16512
16422
|
/** A boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard relocations. Defaults to false, which means it will not wait for relocating shards. */
|
|
@@ -16558,6 +16468,7 @@ export interface ClusterHealthShardHealthStats {
|
|
|
16558
16468
|
unassigned_shards: integer;
|
|
16559
16469
|
unassigned_primary_shards: integer;
|
|
16560
16470
|
}
|
|
16471
|
+
export type ClusterHealthWaitForNodes = string | integer;
|
|
16561
16472
|
export interface ClusterInfoRequest extends RequestBase {
|
|
16562
16473
|
/** Limits the information returned to the specific target. Supports a comma-separated list, such as http,ingest. */
|
|
16563
16474
|
target: ClusterInfoTargets;
|
|
@@ -18762,7 +18673,57 @@ export interface EqlSearchRequest extends RequestBase {
|
|
|
18762
18673
|
}
|
|
18763
18674
|
export type EqlSearchResponse<TEvent = unknown> = EqlEqlSearchResponseBase<TEvent>;
|
|
18764
18675
|
export type EqlSearchResultPosition = 'tail' | 'head';
|
|
18676
|
+
export interface EsqlAsyncEsqlResult extends EsqlEsqlResult {
|
|
18677
|
+
id?: string;
|
|
18678
|
+
is_running: boolean;
|
|
18679
|
+
}
|
|
18680
|
+
export interface EsqlEsqlClusterDetails {
|
|
18681
|
+
status: EsqlEsqlClusterStatus;
|
|
18682
|
+
indices: string;
|
|
18683
|
+
took?: DurationValue<UnitMillis>;
|
|
18684
|
+
_shards?: EsqlEsqlShardInfo;
|
|
18685
|
+
}
|
|
18686
|
+
export interface EsqlEsqlClusterInfo {
|
|
18687
|
+
total: integer;
|
|
18688
|
+
successful: integer;
|
|
18689
|
+
running: integer;
|
|
18690
|
+
skipped: integer;
|
|
18691
|
+
partial: integer;
|
|
18692
|
+
failed: integer;
|
|
18693
|
+
details: Record<string, EsqlEsqlClusterDetails>;
|
|
18694
|
+
}
|
|
18695
|
+
export type EsqlEsqlClusterStatus = 'running' | 'successful' | 'partial' | 'skipped' | 'failed';
|
|
18696
|
+
export interface EsqlEsqlColumnInfo {
|
|
18697
|
+
name: string;
|
|
18698
|
+
type: string;
|
|
18699
|
+
}
|
|
18765
18700
|
export type EsqlEsqlFormat = 'csv' | 'json' | 'tsv' | 'txt' | 'yaml' | 'cbor' | 'smile' | 'arrow';
|
|
18701
|
+
export interface EsqlEsqlResult {
|
|
18702
|
+
took?: DurationValue<UnitMillis>;
|
|
18703
|
+
is_partial?: boolean;
|
|
18704
|
+
all_columns?: EsqlEsqlColumnInfo[];
|
|
18705
|
+
columns: EsqlEsqlColumnInfo[];
|
|
18706
|
+
values: FieldValue[][];
|
|
18707
|
+
/** Cross-cluster search information. Present if `include_ccs_metadata` was `true` in the request
|
|
18708
|
+
* and a cross-cluster search was performed. */
|
|
18709
|
+
_clusters?: EsqlEsqlClusterInfo;
|
|
18710
|
+
/** Profiling information. Present if `profile` was `true` in the request.
|
|
18711
|
+
* The contents of this field are currently unstable. */
|
|
18712
|
+
profile?: any;
|
|
18713
|
+
}
|
|
18714
|
+
export interface EsqlEsqlShardFailure {
|
|
18715
|
+
shard: Id;
|
|
18716
|
+
index: IndexName;
|
|
18717
|
+
node?: NodeId;
|
|
18718
|
+
reason: ErrorCause;
|
|
18719
|
+
}
|
|
18720
|
+
export interface EsqlEsqlShardInfo {
|
|
18721
|
+
total: integer;
|
|
18722
|
+
successful?: integer;
|
|
18723
|
+
skipped?: integer;
|
|
18724
|
+
failed?: integer;
|
|
18725
|
+
failures?: EsqlEsqlShardFailure[];
|
|
18726
|
+
}
|
|
18766
18727
|
export interface EsqlTableValuesContainer {
|
|
18767
18728
|
integer?: EsqlTableValuesIntegerValue[];
|
|
18768
18729
|
keyword?: EsqlTableValuesKeywordValue[];
|
|
@@ -18774,8 +18735,6 @@ export type EsqlTableValuesKeywordValue = string | string[];
|
|
|
18774
18735
|
export type EsqlTableValuesLongDouble = double | double[];
|
|
18775
18736
|
export type EsqlTableValuesLongValue = long | long[];
|
|
18776
18737
|
export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
18777
|
-
/** If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. */
|
|
18778
|
-
allow_partial_results?: boolean;
|
|
18779
18738
|
/** The character to use between values within a CSV row.
|
|
18780
18739
|
* It is valid only for the CSV format. */
|
|
18781
18740
|
delimiter?: string;
|
|
@@ -18822,7 +18781,6 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
18822
18781
|
body?: string | ({
|
|
18823
18782
|
[key: string]: any;
|
|
18824
18783
|
} & {
|
|
18825
|
-
allow_partial_results?: never;
|
|
18826
18784
|
delimiter?: never;
|
|
18827
18785
|
drop_null_columns?: never;
|
|
18828
18786
|
format?: never;
|
|
@@ -18842,7 +18800,6 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
18842
18800
|
querystring?: {
|
|
18843
18801
|
[key: string]: any;
|
|
18844
18802
|
} & {
|
|
18845
|
-
allow_partial_results?: never;
|
|
18846
18803
|
delimiter?: never;
|
|
18847
18804
|
drop_null_columns?: never;
|
|
18848
18805
|
format?: never;
|
|
@@ -18859,7 +18816,7 @@ export interface EsqlAsyncQueryRequest extends RequestBase {
|
|
|
18859
18816
|
wait_for_completion_timeout?: never;
|
|
18860
18817
|
};
|
|
18861
18818
|
}
|
|
18862
|
-
export type EsqlAsyncQueryResponse =
|
|
18819
|
+
export type EsqlAsyncQueryResponse = EsqlAsyncEsqlResult;
|
|
18863
18820
|
export interface EsqlAsyncQueryDeleteRequest extends RequestBase {
|
|
18864
18821
|
/** The unique identifier of the query.
|
|
18865
18822
|
* A query ID is provided in the ES|QL async query API response for a query that does not complete in the designated time.
|
|
@@ -18914,7 +18871,7 @@ export interface EsqlAsyncQueryGetRequest extends RequestBase {
|
|
|
18914
18871
|
wait_for_completion_timeout?: never;
|
|
18915
18872
|
};
|
|
18916
18873
|
}
|
|
18917
|
-
export type EsqlAsyncQueryGetResponse =
|
|
18874
|
+
export type EsqlAsyncQueryGetResponse = EsqlAsyncEsqlResult;
|
|
18918
18875
|
export interface EsqlAsyncQueryStopRequest extends RequestBase {
|
|
18919
18876
|
/** The unique identifier of the query.
|
|
18920
18877
|
* A query ID is provided in the ES|QL async query API response for a query that does not complete in the designated time.
|
|
@@ -18938,7 +18895,7 @@ export interface EsqlAsyncQueryStopRequest extends RequestBase {
|
|
|
18938
18895
|
drop_null_columns?: never;
|
|
18939
18896
|
};
|
|
18940
18897
|
}
|
|
18941
|
-
export type EsqlAsyncQueryStopResponse =
|
|
18898
|
+
export type EsqlAsyncQueryStopResponse = EsqlEsqlResult;
|
|
18942
18899
|
export interface EsqlQueryRequest extends RequestBase {
|
|
18943
18900
|
/** A short version of the Accept header, e.g. json, yaml. */
|
|
18944
18901
|
format?: EsqlEsqlFormat;
|
|
@@ -18947,8 +18904,6 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
18947
18904
|
/** Should columns that are entirely `null` be removed from the `columns` and `values` portion of the results?
|
|
18948
18905
|
* Defaults to `false`. If `true` then the response will include an extra section under the name `all_columns` which has the name of all columns. */
|
|
18949
18906
|
drop_null_columns?: boolean;
|
|
18950
|
-
/** If `true`, partial results will be returned if there are shard failures, but the query can continue to execute on other clusters and shards. */
|
|
18951
|
-
allow_partial_results?: boolean;
|
|
18952
18907
|
/** By default, ES|QL returns results as rows. For example, FROM returns each individual document as one row. For the JSON, YAML, CBOR and smile formats, ES|QL can return the results in a columnar fashion where one row represents all the values of a certain column in the results. */
|
|
18953
18908
|
columnar?: boolean;
|
|
18954
18909
|
/** Specify a Query DSL query in the filter parameter to filter the set of documents that an ES|QL query runs on. */
|
|
@@ -18977,7 +18932,6 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
18977
18932
|
format?: never;
|
|
18978
18933
|
delimiter?: never;
|
|
18979
18934
|
drop_null_columns?: never;
|
|
18980
|
-
allow_partial_results?: never;
|
|
18981
18935
|
columnar?: never;
|
|
18982
18936
|
filter?: never;
|
|
18983
18937
|
locale?: never;
|
|
@@ -18994,7 +18948,6 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
18994
18948
|
format?: never;
|
|
18995
18949
|
delimiter?: never;
|
|
18996
18950
|
drop_null_columns?: never;
|
|
18997
|
-
allow_partial_results?: never;
|
|
18998
18951
|
columnar?: never;
|
|
18999
18952
|
filter?: never;
|
|
19000
18953
|
locale?: never;
|
|
@@ -19005,7 +18958,7 @@ export interface EsqlQueryRequest extends RequestBase {
|
|
|
19005
18958
|
include_ccs_metadata?: never;
|
|
19006
18959
|
};
|
|
19007
18960
|
}
|
|
19008
|
-
export type EsqlQueryResponse =
|
|
18961
|
+
export type EsqlQueryResponse = EsqlEsqlResult;
|
|
19009
18962
|
export interface FeaturesFeature {
|
|
19010
18963
|
name: string;
|
|
19011
18964
|
description: string;
|
|
@@ -19118,9 +19071,9 @@ export interface FleetMsearchRequest extends RequestBase {
|
|
|
19118
19071
|
* after the relevant checkpoint has become visible for search. Defaults to an empty list which will cause
|
|
19119
19072
|
* Elasticsearch to immediately execute the search. */
|
|
19120
19073
|
wait_for_checkpoints?: FleetCheckpoint[];
|
|
19121
|
-
/** If true, returns partial results if there are shard request timeouts or
|
|
19122
|
-
* an error with no partial results.
|
|
19123
|
-
* which is true by default. */
|
|
19074
|
+
/** If true, returns partial results if there are shard request timeouts or shard failures.
|
|
19075
|
+
* If false, returns an error with no partial results.
|
|
19076
|
+
* Defaults to the configured cluster setting `search.default_allow_partial_results`, which is true by default. */
|
|
19124
19077
|
allow_partial_search_results?: boolean;
|
|
19125
19078
|
searches?: MsearchRequestItem[];
|
|
19126
19079
|
/** All values in `body` will be added to the request body. */
|
|
@@ -19203,9 +19156,9 @@ export interface FleetSearchRequest extends RequestBase {
|
|
|
19203
19156
|
* after the relevant checkpoint has become visible for search. Defaults to an empty list which will cause
|
|
19204
19157
|
* Elasticsearch to immediately execute the search. */
|
|
19205
19158
|
wait_for_checkpoints?: FleetCheckpoint[];
|
|
19206
|
-
/** If true, returns partial results if there are shard request timeouts or
|
|
19207
|
-
* an error with no partial results.
|
|
19208
|
-
* which is true by default. */
|
|
19159
|
+
/** If true, returns partial results if there are shard request timeouts or shard failures.
|
|
19160
|
+
* If false, returns an error with no partial results.
|
|
19161
|
+
* Defaults to the configured cluster setting `search.default_allow_partial_results`, which is true by default. */
|
|
19209
19162
|
allow_partial_search_results?: boolean;
|
|
19210
19163
|
aggregations?: Record<string, AggregationsAggregationContainer>;
|
|
19211
19164
|
/** @alias aggregations */
|
|
@@ -20038,8 +19991,6 @@ export interface IndicesDataStream {
|
|
|
20038
19991
|
template: Name;
|
|
20039
19992
|
/** Information about the `@timestamp` field in the data stream. */
|
|
20040
19993
|
timestamp_field: IndicesDataStreamTimestampField;
|
|
20041
|
-
/** The index mode for the data stream that will be used for newly created backing indices. */
|
|
20042
|
-
index_mode?: IndicesIndexMode;
|
|
20043
19994
|
}
|
|
20044
19995
|
export interface IndicesDataStreamIndex {
|
|
20045
19996
|
/** Name of the backing index. */
|
|
@@ -20052,8 +20003,6 @@ export interface IndicesDataStreamIndex {
|
|
|
20052
20003
|
managed_by?: IndicesManagedBy;
|
|
20053
20004
|
/** Indicates if ILM should take precedence over DSL in case both are configured to manage this index. */
|
|
20054
20005
|
prefer_ilm?: boolean;
|
|
20055
|
-
/** The index mode of this backing index of the data stream. */
|
|
20056
|
-
index_mode?: IndicesIndexMode;
|
|
20057
20006
|
}
|
|
20058
20007
|
export interface IndicesDataStreamLifecycle {
|
|
20059
20008
|
/** If defined, every document added to this data stream will be stored at least for this time frame.
|
|
@@ -20117,7 +20066,6 @@ export interface IndicesFielddataFrequencyFilter {
|
|
|
20117
20066
|
min_segment_size: integer;
|
|
20118
20067
|
}
|
|
20119
20068
|
export type IndicesIndexCheckOnStartup = boolean | 'true' | 'false' | 'checksum';
|
|
20120
|
-
export type IndicesIndexMode = 'standard' | 'time_series' | 'logsdb' | 'lookup';
|
|
20121
20069
|
export interface IndicesIndexRouting {
|
|
20122
20070
|
allocation?: IndicesIndexRoutingAllocation;
|
|
20123
20071
|
rebalance?: IndicesIndexRoutingRebalance;
|
|
@@ -21903,6 +21851,8 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
|
|
|
21903
21851
|
ignore_unavailable?: boolean;
|
|
21904
21852
|
/** If `true`, return all default settings in the response. */
|
|
21905
21853
|
include_defaults?: boolean;
|
|
21854
|
+
/** If `true`, the request retrieves information from the local node only. */
|
|
21855
|
+
local?: boolean;
|
|
21906
21856
|
/** All values in `body` will be added to the request body. */
|
|
21907
21857
|
body?: string | ({
|
|
21908
21858
|
[key: string]: any;
|
|
@@ -21913,6 +21863,7 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
|
|
|
21913
21863
|
expand_wildcards?: never;
|
|
21914
21864
|
ignore_unavailable?: never;
|
|
21915
21865
|
include_defaults?: never;
|
|
21866
|
+
local?: never;
|
|
21916
21867
|
});
|
|
21917
21868
|
/** All values in `querystring` will be added to the request querystring. */
|
|
21918
21869
|
querystring?: {
|
|
@@ -21924,6 +21875,7 @@ export interface IndicesGetFieldMappingRequest extends RequestBase {
|
|
|
21924
21875
|
expand_wildcards?: never;
|
|
21925
21876
|
ignore_unavailable?: never;
|
|
21926
21877
|
include_defaults?: never;
|
|
21878
|
+
local?: never;
|
|
21927
21879
|
};
|
|
21928
21880
|
}
|
|
21929
21881
|
export type IndicesGetFieldMappingResponse = Record<IndexName, IndicesGetFieldMappingTypeFieldMappings>;
|
|
@@ -24235,15 +24187,6 @@ export interface InferenceDeleteInferenceEndpointResult extends AcknowledgedResp
|
|
|
24235
24187
|
}
|
|
24236
24188
|
export type InferenceDenseByteVector = byte[];
|
|
24237
24189
|
export type InferenceDenseVector = float[];
|
|
24238
|
-
export interface InferenceEisServiceSettings {
|
|
24239
|
-
/** The name of the model to use for the inference task. */
|
|
24240
|
-
model_id: string;
|
|
24241
|
-
/** This setting helps to minimize the number of rate limit errors returned.
|
|
24242
|
-
* By default, the `elastic` service sets the number of requests allowed per minute to `240` in case of `chat_completion`. */
|
|
24243
|
-
rate_limit?: InferenceRateLimitSetting;
|
|
24244
|
-
}
|
|
24245
|
-
export type InferenceEisServiceType = 'elastic';
|
|
24246
|
-
export type InferenceEisTaskType = 'chat_completion';
|
|
24247
24190
|
export interface InferenceElasticsearchServiceSettings {
|
|
24248
24191
|
/** Adaptive allocations configuration details.
|
|
24249
24192
|
* If `enabled` is true, the number of allocations of the model is set based on the current load the process gets.
|
|
@@ -24380,6 +24323,14 @@ export interface InferenceInferenceEndpointInfo extends InferenceInferenceEndpoi
|
|
|
24380
24323
|
/** The task type */
|
|
24381
24324
|
task_type: InferenceTaskType;
|
|
24382
24325
|
}
|
|
24326
|
+
export interface InferenceInferenceResult {
|
|
24327
|
+
text_embedding_bytes?: InferenceTextEmbeddingByteResult[];
|
|
24328
|
+
text_embedding_bits?: InferenceTextEmbeddingByteResult[];
|
|
24329
|
+
text_embedding?: InferenceTextEmbeddingResult[];
|
|
24330
|
+
sparse_embedding?: InferenceSparseEmbeddingResult[];
|
|
24331
|
+
completion?: InferenceCompletionResult[];
|
|
24332
|
+
rerank?: InferenceRankedDocument[];
|
|
24333
|
+
}
|
|
24383
24334
|
export interface InferenceJinaAIServiceSettings {
|
|
24384
24335
|
/** A valid API key of your JinaAI account.
|
|
24385
24336
|
*
|
|
@@ -24719,26 +24670,49 @@ export interface InferenceGetRequest extends RequestBase {
|
|
|
24719
24670
|
export interface InferenceGetResponse {
|
|
24720
24671
|
endpoints: InferenceInferenceEndpointInfo[];
|
|
24721
24672
|
}
|
|
24722
|
-
export interface
|
|
24723
|
-
/** The
|
|
24724
|
-
|
|
24725
|
-
|
|
24673
|
+
export interface InferenceInferenceRequest extends RequestBase {
|
|
24674
|
+
/** The type of inference task that the model performs. */
|
|
24675
|
+
task_type?: InferenceTaskType;
|
|
24676
|
+
/** The unique identifier for the inference endpoint. */
|
|
24677
|
+
inference_id: Id;
|
|
24678
|
+
/** The amount of time to wait for the inference request to complete. */
|
|
24679
|
+
timeout?: Duration;
|
|
24680
|
+
/** The query input, which is required only for the `rerank` task.
|
|
24681
|
+
* It is not required for other tasks. */
|
|
24682
|
+
query?: string;
|
|
24683
|
+
/** The text on which you want to perform the inference task.
|
|
24684
|
+
* It can be a single string or an array.
|
|
24685
|
+
*
|
|
24686
|
+
* > info
|
|
24687
|
+
* > Inference endpoints for the `completion` task type currently only support a single string as input. */
|
|
24688
|
+
input: string | string[];
|
|
24689
|
+
/** Task settings for the individual inference request.
|
|
24690
|
+
* These settings are specific to the task type you specified and override the task settings specified when initializing the service. */
|
|
24691
|
+
task_settings?: InferenceTaskSettings;
|
|
24726
24692
|
/** All values in `body` will be added to the request body. */
|
|
24727
24693
|
body?: string | ({
|
|
24728
24694
|
[key: string]: any;
|
|
24729
24695
|
} & {
|
|
24730
|
-
|
|
24731
|
-
|
|
24696
|
+
task_type?: never;
|
|
24697
|
+
inference_id?: never;
|
|
24698
|
+
timeout?: never;
|
|
24699
|
+
query?: never;
|
|
24700
|
+
input?: never;
|
|
24701
|
+
task_settings?: never;
|
|
24732
24702
|
});
|
|
24733
24703
|
/** All values in `querystring` will be added to the request querystring. */
|
|
24734
24704
|
querystring?: {
|
|
24735
24705
|
[key: string]: any;
|
|
24736
24706
|
} & {
|
|
24737
|
-
|
|
24738
|
-
|
|
24707
|
+
task_type?: never;
|
|
24708
|
+
inference_id?: never;
|
|
24709
|
+
timeout?: never;
|
|
24710
|
+
query?: never;
|
|
24711
|
+
input?: never;
|
|
24712
|
+
task_settings?: never;
|
|
24739
24713
|
};
|
|
24740
24714
|
}
|
|
24741
|
-
export type
|
|
24715
|
+
export type InferenceInferenceResponse = InferenceInferenceResult;
|
|
24742
24716
|
export interface InferencePutRequest extends RequestBase {
|
|
24743
24717
|
/** The task type */
|
|
24744
24718
|
task_type?: InferenceTaskType;
|
|
@@ -24994,36 +24968,6 @@ export interface InferencePutCohereRequest extends RequestBase {
|
|
|
24994
24968
|
};
|
|
24995
24969
|
}
|
|
24996
24970
|
export type InferencePutCohereResponse = InferenceInferenceEndpointInfo;
|
|
24997
|
-
export interface InferencePutEisRequest extends RequestBase {
|
|
24998
|
-
/** The type of the inference task that the model will perform.
|
|
24999
|
-
* NOTE: The `chat_completion` task type only supports streaming and only through the _stream API. */
|
|
25000
|
-
task_type: InferenceEisTaskType;
|
|
25001
|
-
/** The unique identifier of the inference endpoint. */
|
|
25002
|
-
eis_inference_id: Id;
|
|
25003
|
-
/** The type of service supported for the specified task type. In this case, `elastic`. */
|
|
25004
|
-
service: InferenceEisServiceType;
|
|
25005
|
-
/** Settings used to install the inference model. These settings are specific to the `elastic` service. */
|
|
25006
|
-
service_settings: InferenceEisServiceSettings;
|
|
25007
|
-
/** All values in `body` will be added to the request body. */
|
|
25008
|
-
body?: string | ({
|
|
25009
|
-
[key: string]: any;
|
|
25010
|
-
} & {
|
|
25011
|
-
task_type?: never;
|
|
25012
|
-
eis_inference_id?: never;
|
|
25013
|
-
service?: never;
|
|
25014
|
-
service_settings?: never;
|
|
25015
|
-
});
|
|
25016
|
-
/** All values in `querystring` will be added to the request querystring. */
|
|
25017
|
-
querystring?: {
|
|
25018
|
-
[key: string]: any;
|
|
25019
|
-
} & {
|
|
25020
|
-
task_type?: never;
|
|
25021
|
-
eis_inference_id?: never;
|
|
25022
|
-
service?: never;
|
|
25023
|
-
service_settings?: never;
|
|
25024
|
-
};
|
|
25025
|
-
}
|
|
25026
|
-
export type InferencePutEisResponse = InferenceInferenceEndpointInfo;
|
|
25027
24971
|
export interface InferencePutElasticsearchRequest extends RequestBase {
|
|
25028
24972
|
/** The type of the inference task that the model will perform. */
|
|
25029
24973
|
task_type: InferenceElasticsearchTaskType;
|
|
@@ -25910,12 +25854,23 @@ export interface IngestInferenceProcessor extends IngestProcessorBase {
|
|
|
25910
25854
|
field_map?: Record<Field, any>;
|
|
25911
25855
|
/** Contains the inference type and its options. */
|
|
25912
25856
|
inference_config?: IngestInferenceConfig;
|
|
25857
|
+
/** Input fields for inference and output (destination) fields for the inference results.
|
|
25858
|
+
* This option is incompatible with the target_field and field_map options. */
|
|
25859
|
+
input_output?: IngestInputConfig | IngestInputConfig[];
|
|
25860
|
+
/** If true and any of the input fields defined in input_ouput are missing
|
|
25861
|
+
* then those missing fields are quietly ignored, otherwise a missing field causes a failure.
|
|
25862
|
+
* Only applies when using input_output configurations to explicitly list the input fields. */
|
|
25863
|
+
ignore_missing?: boolean;
|
|
25913
25864
|
}
|
|
25914
25865
|
export interface IngestIngest {
|
|
25915
25866
|
_redact?: IngestRedact;
|
|
25916
25867
|
timestamp: DateTime;
|
|
25917
25868
|
pipeline?: Name;
|
|
25918
25869
|
}
|
|
25870
|
+
export interface IngestInputConfig {
|
|
25871
|
+
input_field: string;
|
|
25872
|
+
output_field: string;
|
|
25873
|
+
}
|
|
25919
25874
|
export interface IngestIpLocationProcessor extends IngestProcessorBase {
|
|
25920
25875
|
/** The database filename referring to a database the module ships with (GeoLite2-City.mmdb, GeoLite2-Country.mmdb, or GeoLite2-ASN.mmdb) or a custom database in the ingest-geoip config directory. */
|
|
25921
25876
|
database_file?: string;
|
|
@@ -27027,9 +26982,7 @@ export interface LogstashPipelineSettings {
|
|
|
27027
26982
|
/** The internal queuing model to use for event buffering. */
|
|
27028
26983
|
'queue.type': string;
|
|
27029
26984
|
/** The total capacity of the queue (`queue.type: persisted`) in number of bytes. */
|
|
27030
|
-
'queue.max_bytes
|
|
27031
|
-
/** The total capacity of the queue (`queue.type: persisted`) in terms of units of bytes. */
|
|
27032
|
-
'queue.max_bytes.units': string;
|
|
26985
|
+
'queue.max_bytes': string;
|
|
27033
26986
|
/** The maximum number of written events before forcing a checkpoint when persistent queues are enabled (`queue.type: persisted`). */
|
|
27034
26987
|
'queue.checkpoint.writes': integer;
|
|
27035
26988
|
}
|
|
@@ -33348,8 +33301,7 @@ export interface NodesClearRepositoriesMeteringArchiveResponseBase extends Nodes
|
|
|
33348
33301
|
nodes: Record<string, NodesRepositoryMeteringInformation>;
|
|
33349
33302
|
}
|
|
33350
33303
|
export interface NodesGetRepositoriesMeteringInfoRequest extends RequestBase {
|
|
33351
|
-
/** Comma-separated list of node IDs or names used to limit returned information.
|
|
33352
|
-
* All the nodes selective options are explained [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster.html#cluster-nodes). */
|
|
33304
|
+
/** Comma-separated list of node IDs or names used to limit returned information. */
|
|
33353
33305
|
node_id: NodeIds;
|
|
33354
33306
|
/** All values in `body` will be added to the request body. */
|
|
33355
33307
|
body?: string | ({
|
|
@@ -38723,9 +38675,6 @@ export interface SnapshotCloneRequest extends RequestBase {
|
|
|
38723
38675
|
* If the master node is not available before the timeout expires, the request fails and returns an error.
|
|
38724
38676
|
* To indicate that the request should never timeout, set it to `-1`. */
|
|
38725
38677
|
master_timeout?: Duration;
|
|
38726
|
-
/** The period of time to wait for a response.
|
|
38727
|
-
* If no response is received before the timeout expires, the request fails and returns an error. */
|
|
38728
|
-
timeout?: Duration;
|
|
38729
38678
|
/** A comma-separated list of indices to include in the snapshot.
|
|
38730
38679
|
* Multi-target syntax is supported. */
|
|
38731
38680
|
indices: string;
|
|
@@ -38737,7 +38686,6 @@ export interface SnapshotCloneRequest extends RequestBase {
|
|
|
38737
38686
|
snapshot?: never;
|
|
38738
38687
|
target_snapshot?: never;
|
|
38739
38688
|
master_timeout?: never;
|
|
38740
|
-
timeout?: never;
|
|
38741
38689
|
indices?: never;
|
|
38742
38690
|
});
|
|
38743
38691
|
/** All values in `querystring` will be added to the request querystring. */
|
|
@@ -38748,7 +38696,6 @@ export interface SnapshotCloneRequest extends RequestBase {
|
|
|
38748
38696
|
snapshot?: never;
|
|
38749
38697
|
target_snapshot?: never;
|
|
38750
38698
|
master_timeout?: never;
|
|
38751
|
-
timeout?: never;
|
|
38752
38699
|
indices?: never;
|
|
38753
38700
|
};
|
|
38754
38701
|
}
|
|
@@ -39902,7 +39849,7 @@ export interface SynonymsSynonymRule {
|
|
|
39902
39849
|
export interface SynonymsSynonymRuleRead {
|
|
39903
39850
|
/** Synonym Rule identifier */
|
|
39904
39851
|
id: Id;
|
|
39905
|
-
/** Synonyms, in Solr format, that conform the synonym rule.
|
|
39852
|
+
/** Synonyms, in Solr format, that conform the synonym rule. */
|
|
39906
39853
|
synonyms: SynonymsSynonymString;
|
|
39907
39854
|
}
|
|
39908
39855
|
export type SynonymsSynonymString = string;
|