@elastic/elasticsearch 9.4.1 → 9.4.3

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.
@@ -2766,6 +2766,38 @@ export interface ReindexSource {
2766
2766
  _source?: SearchSourceConfig;
2767
2767
  runtime_mappings?: MappingRuntimeFields;
2768
2768
  }
2769
+ export interface ReindexRethrottleParentReindexStatus {
2770
+ slices?: ReindexStatus[];
2771
+ /** The slice ID */
2772
+ slice_id?: integer;
2773
+ /** The number of scroll responses pulled back by the reindex. */
2774
+ batches: long;
2775
+ /** The number of documents that were successfully created. */
2776
+ created?: long;
2777
+ /** The number of documents that were successfully deleted. */
2778
+ deleted: long;
2779
+ /** The number of documents that were ignored because the script used for the reindex returned a `noop` value for `ctx.op`. */
2780
+ noops: long;
2781
+ /** The number of requests per second effectively executed during the reindex. */
2782
+ requests_per_second: float;
2783
+ /** The number of retries attempted by reindex. `bulk` is the number of bulk actions retried and `search` is the number of search actions retried. */
2784
+ retries: Retries;
2785
+ throttled?: Duration;
2786
+ /** Number of milliseconds the request slept to conform to `requests_per_second`. */
2787
+ throttled_millis: DurationValue<UnitMillis>;
2788
+ throttled_until?: Duration;
2789
+ /** This field should always be equal to zero in a `_reindex` response.
2790
+ * It only has meaning when using the Task API, where it indicates the next time (in milliseconds since epoch) a throttled request will be executed again in order to conform to `requests_per_second`. */
2791
+ throttled_until_millis: DurationValue<UnitMillis>;
2792
+ /** The number of documents that were successfully processed. */
2793
+ total: long;
2794
+ /** The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex updating it. */
2795
+ updated?: long;
2796
+ /** The number of version conflicts that reindex hits. */
2797
+ version_conflicts: long;
2798
+ /** The reason for cancellation if the slice was canceled */
2799
+ cancelled?: string;
2800
+ }
2769
2801
  export interface ReindexRethrottleParentReindexTask extends ReindexRethrottleReindexTask {
2770
2802
  children?: ReindexRethrottleReindexTask[];
2771
2803
  }
@@ -2781,7 +2813,7 @@ export interface ReindexRethrottleReindexTask {
2781
2813
  node: Name;
2782
2814
  running_time_in_nanos: DurationValue<UnitNanos>;
2783
2815
  start_time_in_millis: EpochTime<UnitMillis>;
2784
- status: ReindexStatus;
2816
+ status: ReindexRethrottleParentReindexStatus;
2785
2817
  type: string;
2786
2818
  headers: HttpHeaders;
2787
2819
  }
@@ -3685,7 +3717,8 @@ export interface SearchInnerHits {
3685
3717
  ignore_unmapped?: boolean;
3686
3718
  script_fields?: Record<Field, ScriptField>;
3687
3719
  seq_no_primary_term?: boolean;
3688
- fields?: Field[];
3720
+ field?: Field[];
3721
+ fields?: (QueryDslFieldAndFormat | Field)[];
3689
3722
  /** How the inner hits should be sorted per `inner_hits`.
3690
3723
  * By default, inner hits are sorted by score. */
3691
3724
  sort?: Sort;
@@ -5340,6 +5373,11 @@ export interface ElasticsearchVersionMinInfo {
5340
5373
  minimum_wire_compatibility_version: VersionString;
5341
5374
  number: string;
5342
5375
  }
5376
+ export interface Embedding {
5377
+ inference_id?: string;
5378
+ input: KnnEmbeddingInput;
5379
+ timeout?: Duration;
5380
+ }
5343
5381
  export interface EmptyObject {
5344
5382
  }
5345
5383
  export type EpochTime<Unit = unknown> = Unit;
@@ -5504,6 +5542,15 @@ export interface IndicesOptions {
5504
5542
  export interface IndicesResponseBase extends AcknowledgedResponseBase {
5505
5543
  _shards?: ShardStatistics;
5506
5544
  }
5545
+ export interface InferenceString {
5546
+ /** The type of data that the value represents. */
5547
+ type: InferenceEmbeddingContentType;
5548
+ /** The format of the data. If null, the default data format for the given type is used. */
5549
+ format?: InferenceEmbeddingContentFormat | null;
5550
+ /** String which may be raw text, or the string representation of some other data such as an image in base64. */
5551
+ value: string;
5552
+ }
5553
+ export type InferenceStringGroup = InferenceString | InferenceString[];
5507
5554
  export interface InlineGetKeys<TDocument = unknown> {
5508
5555
  fields?: Record<string, any>;
5509
5556
  found: boolean;
@@ -5521,6 +5568,7 @@ export interface InnerRetriever {
5521
5568
  normalizer: ScoreNormalizer;
5522
5569
  }
5523
5570
  export type Ip = string;
5571
+ export type KnnEmbeddingInput = string | InferenceStringGroup;
5524
5572
  export interface KnnQuery extends QueryDslQueryBase {
5525
5573
  /** The name of the vector field to search against */
5526
5574
  field: Field;
@@ -5726,6 +5774,7 @@ export interface QueryCacheStats {
5726
5774
  }
5727
5775
  export type QueryVector = float[];
5728
5776
  interface QueryVectorBuilderExclusiveProps {
5777
+ embedding?: Embedding;
5729
5778
  text_embedding?: TextEmbedding;
5730
5779
  /** Lookup a vector from an existing document.
5731
5780
  * Must reference a dense_vector field and a single value. */
@@ -6505,7 +6554,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
6505
6554
  format?: string;
6506
6555
  /** The minimum rounding interval.
6507
6556
  * This can make the collection process more efficient, as the aggregation will not attempt to round at any interval lower than `minimum_interval`. */
6508
- minimum_interval?: AggregationsMinimumInterval;
6557
+ minimum_interval?: AggregationsMinimumInterval | null;
6509
6558
  /** The value to apply to documents that do not have a value.
6510
6559
  * By default, documents without a value are ignored. */
6511
6560
  missing?: DateTime;
@@ -9220,6 +9269,13 @@ export interface MappingDenseVectorIndexOptions {
9220
9269
  * @remarks This property is not supported on Elastic Cloud Serverless.
9221
9270
  * @experimental */
9222
9271
  on_disk_rescore?: boolean;
9272
+ /** The segment document count threshold below which HNSW graph construction is skipped in favor of brute-force flat
9273
+ * search. `-1` (default) defers to format defaults: `300` for `bbq_hnsw`, `150` for `hnsw`, `int8_hnsw`, and
9274
+ * `int4_hnsw`. `0` always builds the graph. A positive value overrides the format default.
9275
+ *
9276
+ * Only applicable to `hnsw`, `int8_hnsw`, `int4_hnsw`, and `bbq_hnsw` index types.
9277
+ * @remarks This property is not supported on Elastic Cloud Serverless. */
9278
+ flat_index_threshold?: integer;
9223
9279
  }
9224
9280
  export interface MappingDenseVectorIndexOptionsRescoreVector {
9225
9281
  /** The oversampling factor to use when searching for the nearest neighbor. This is only applicable to the quantized formats: `bbq_*`, `int4_*`, and `int8_*`.
@@ -9332,6 +9388,10 @@ export interface MappingFlattenedProperty extends MappingPropertyBase {
9332
9388
  index?: boolean;
9333
9389
  index_options?: MappingIndexOptions;
9334
9390
  null_value?: string;
9391
+ /** How leaf arrays are represented in synthetic source.
9392
+ * When set to `lossy`, leaf arrays are sorted, de-nulled, and deduplicated in the returned synthetic source.
9393
+ * When set to `exact`, leaf arrays preserve order, nulls, and duplicates. */
9394
+ preserve_leaf_arrays?: MappingPreserveLeafArrays;
9335
9395
  similarity?: string;
9336
9396
  split_queries_on_whitespace?: boolean;
9337
9397
  time_series_dimensions?: string[];
@@ -9507,6 +9567,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
9507
9567
  null_value?: string;
9508
9568
  type: 'point';
9509
9569
  }
9570
+ export type MappingPreserveLeafArrays = 'lossy' | 'exact';
9510
9571
  export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingPassthroughObjectProperty | MappingRankVectorProperty | MappingSemanticTextProperty | MappingSparseVectorProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingCountedKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingExponentialHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty | MappingIcuCollationProperty;
9511
9572
  export interface MappingPropertyBase {
9512
9573
  /** Metadata about the field. */
@@ -9554,6 +9615,7 @@ export interface MappingRuntimeField {
9554
9615
  target_index?: IndexName;
9555
9616
  /** Painless script executed at query time. */
9556
9617
  script?: Script | ScriptSource;
9618
+ on_script_error?: MappingOnScriptError;
9557
9619
  /** Field type, which can be: `boolean`, `composite`, `date`, `double`, `geo_point`, `ip`,`keyword`, `long`, or `lookup`. */
9558
9620
  type: MappingRuntimeFieldType;
9559
9621
  }
@@ -9657,8 +9719,8 @@ export interface MappingSuggestContext {
9657
9719
  export type MappingSyntheticSourceKeepEnum = 'none' | 'arrays' | 'all';
9658
9720
  export type MappingTermVectorOption = 'no' | 'yes' | 'with_offsets' | 'with_positions' | 'with_positions_offsets' | 'with_positions_offsets_payloads' | 'with_positions_payloads';
9659
9721
  export interface MappingTextIndexPrefixes {
9660
- max_chars: integer;
9661
- min_chars: integer;
9722
+ max_chars?: integer;
9723
+ min_chars?: integer;
9662
9724
  }
9663
9725
  export interface MappingTextProperty extends MappingCorePropertyBase {
9664
9726
  analyzer?: string;
@@ -18411,6 +18473,7 @@ export interface ClusterStatsCharFilterTypes {
18411
18473
  built_in_tokenizers: ClusterStatsFieldTypes[];
18412
18474
  /** Contains statistics about character filter types used in selected nodes. */
18413
18475
  char_filter_types: ClusterStatsFieldTypes[];
18476
+ multiple_synonym_graph_filters?: ClusterStatsMultipleSynonymGraphFilter;
18414
18477
  /** Contains statistics about token filter types used in selected nodes. */
18415
18478
  filter_types: ClusterStatsFieldTypes[];
18416
18479
  /** Contains statistics about tokenizer types used in selected nodes. */
@@ -18746,6 +18809,12 @@ export interface ClusterStatsIndicesVersions {
18746
18809
  total_primary_size?: ByteSize;
18747
18810
  version: VersionString;
18748
18811
  }
18812
+ export interface ClusterStatsMultipleSynonymGraphFilter {
18813
+ /** Number of analyzers across the cluster whose filter chain contains more than one synonym_graph filter. */
18814
+ analyzer_count?: integer;
18815
+ /** Number of indices that contain at least one analyzer with more than one synonym_graph filter. */
18816
+ index_count?: integer;
18817
+ }
18749
18818
  export interface ClusterStatsNodePackagingType {
18750
18819
  /** Number of selected nodes using the distribution flavor and file type. */
18751
18820
  count: integer;
@@ -20757,7 +20826,7 @@ export interface EsqlAsyncQueryStopRequest extends RequestBase {
20757
20826
  export type EsqlAsyncQueryStopResponse = EsqlEsqlResult;
20758
20827
  export interface EsqlDeleteViewRequest extends RequestBase {
20759
20828
  /** The view name to remove. */
20760
- name: Id;
20829
+ name: Ids;
20761
20830
  /** All values in `body` will be added to the request body. */
20762
20831
  body?: string | ({
20763
20832
  [key: string]: any;
@@ -22105,6 +22174,10 @@ export interface IndicesDataStreamLifecycle {
22105
22174
  * Any time after this duration the document could be deleted.
22106
22175
  * When empty, every document in this data stream will be stored indefinitely. */
22107
22176
  data_retention?: Duration;
22177
+ /** The least amount of time data should be kept by elasticsearch. */
22178
+ effective_retention?: Duration;
22179
+ /** Configuration source that can influence the retention of a data stream. */
22180
+ retention_determined_by?: IndicesRetentionSource;
22108
22181
  /** The list of downsampling rounds to execute as part of this downsampling configuration */
22109
22182
  downsampling?: IndicesDownsamplingRound[];
22110
22183
  /** The method used to downsample the data. There are two options `aggregate` and `last_value`. It requires
@@ -22266,6 +22339,7 @@ export interface IndicesIndexSettingsKeys {
22266
22339
  max_terms_count?: integer;
22267
22340
  max_regex_length?: integer;
22268
22341
  routing?: IndicesIndexRouting;
22342
+ unassigned?: IndicesIndexSettingsUnassigned;
22269
22343
  gc_deletes?: Duration;
22270
22344
  default_pipeline?: PipelineName;
22271
22345
  final_pipeline?: PipelineName;
@@ -22338,6 +22412,18 @@ export interface IndicesIndexSettingsLifecycleStep {
22338
22412
  export interface IndicesIndexSettingsTimeSeries {
22339
22413
  end_time?: DateTime;
22340
22414
  start_time?: DateTime;
22415
+ /** The name of the field that stores the temporality of a metric.
22416
+ * The referenced field must be a `keyword` dimension field; if the setting is unset or the
22417
+ * field is missing or invalid, the metric temporality resolves to null. */
22418
+ temporality_field?: Field;
22419
+ }
22420
+ export interface IndicesIndexSettingsUnassigned {
22421
+ node_left?: IndicesIndexSettingsUnassignedNodeLeft;
22422
+ }
22423
+ export interface IndicesIndexSettingsUnassignedNodeLeft {
22424
+ /** The amount of time to wait for a node that has left before assuming its
22425
+ * shards are permanently missing and starting to allocate replacement replicas. */
22426
+ delayed_timeout?: Duration;
22341
22427
  }
22342
22428
  export interface IndicesIndexState {
22343
22429
  aliases?: Record<IndexName, IndicesAlias>;
@@ -22559,6 +22645,7 @@ export interface IndicesQueries {
22559
22645
  export interface IndicesRetentionLease {
22560
22646
  period: Duration;
22561
22647
  }
22648
+ export type IndicesRetentionSource = 'data_stream_configuration' | 'default_global_retention' | 'max_global_retention' | 'default_failures_retention';
22562
22649
  export type IndicesSamplingMethod = 'aggregate' | 'last_value';
22563
22650
  export interface IndicesSearchIdle {
22564
22651
  after?: Duration;
@@ -24068,6 +24155,11 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
24068
24155
  }
24069
24156
  export interface IndicesGetDataLifecycleResponse {
24070
24157
  data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
24158
+ global_retention: IndicesGetDataLifecycleGlobalRetention;
24159
+ }
24160
+ export interface IndicesGetDataLifecycleGlobalRetention {
24161
+ max_retention?: Duration;
24162
+ default_retention?: Duration;
24071
24163
  }
24072
24164
  export interface IndicesGetDataLifecycleStatsDataStreamStats {
24073
24165
  /** The count of the backing indices for the data stream. */
@@ -26885,13 +26977,13 @@ export interface InferenceAzureOpenAIServiceSettings {
26885
26977
  /** The Azure API version ID to use.
26886
26978
  * It is recommended to use the latest supported non-preview version. */
26887
26979
  api_version: string;
26888
- /** For OAuth 2.0 authentication using the client credentials grant flow.
26980
+ /** For OAuth 2.0 authorization using the client credentials grant flow.
26889
26981
  * The application ID that's assigned to your app.
26890
26982
  *
26891
26983
  * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, tenant_id, and client_secret together.
26892
26984
  * If one of the fields is missing, you will receive an error when you try to create your endpoint. */
26893
26985
  client_id?: string;
26894
- /** For OAuth 2.0 authentication using the client credentials grant flow.
26986
+ /** For OAuth 2.0 authorization using the client credentials grant flow.
26895
26987
  * The application secret that you created in the Microsoft app registration portal for your app.
26896
26988
  *
26897
26989
  * IMPORTANT: You must specify either `api_key`, `entra_id`, or `client_secret`.
@@ -26916,7 +27008,7 @@ export interface InferenceAzureOpenAIServiceSettings {
26916
27008
  /** The name of your Azure OpenAI resource.
26917
27009
  * You can find this from the list of resources in the Azure Portal for your subscription. */
26918
27010
  resource_name: string;
26919
- /** For OAuth 2.0 authentication using the client credentials grant flow.
27011
+ /** For OAuth 2.0 authorization using the client credentials grant flow.
26920
27012
  * The resource identifier (application ID URI) of the resource you want, suffixed with .default
26921
27013
  * For example:
26922
27014
  * ```
@@ -26928,7 +27020,7 @@ export interface InferenceAzureOpenAIServiceSettings {
26928
27020
  * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, tenant_id, and client_secret together.
26929
27021
  * If one of the fields is missing, you will receive an error when you try to create your endpoint. */
26930
27022
  scopes?: string[];
26931
- /** For OAuth 2.0 authentication using the client credentials grant flow.
27023
+ /** For OAuth 2.0 authorization using the client credentials grant flow.
26932
27024
  * The directory tenant the application plans to operate against.
26933
27025
  *
26934
27026
  * IMPORTANT: To configure OAuth 2.0, you must specify client_id, scopes, tenant_id, and client_secret together.
@@ -27259,7 +27351,7 @@ export interface InferenceCustomServiceSettings {
27259
27351
  * The batch size is the maximum number of inputs in a single request to the upstream service.
27260
27352
  * The chunk within the batch are controlled by the selected chunking strategy for the semantic_text field. */
27261
27353
  batch_size?: integer;
27262
- /** Specifies the HTTP header parameters – such as `Authentication` or `Content-Type` – that are required to access the custom service.
27354
+ /** Specifies the HTTP header parameters – such as `Authorization` or `Content-Type` – that are required to access the custom service.
27263
27355
  * For example:
27264
27356
  * ```
27265
27357
  * "headers": {
@@ -27325,7 +27417,10 @@ export interface InferenceCustomTaskSettings {
27325
27417
  * "return_token":true
27326
27418
  * }
27327
27419
  * }
27328
- * ``` */
27420
+ * ```
27421
+ *
27422
+ * > warn
27423
+ * > The `task_settings.parameters` cannot contain the same keys as `secret_parameters`. If they do, an error will be returned. This applies to PUT requests and POST requests. */
27329
27424
  parameters?: Record<string, InferenceCustomTaskParameter>;
27330
27425
  }
27331
27426
  export type InferenceCustomTaskType = 'text_embedding' | 'sparse_embedding' | 'rerank' | 'completion';
@@ -27896,7 +27991,7 @@ export interface InferenceJinaAIServiceSettings {
27896
27991
  * Use `bit` for binary embeddings, which are encoded as bytes with signed int8 precision.
27897
27992
  * Use `binary` for binary embeddings, which are encoded as bytes with signed int8 precision (this is a synonym of `bit`).
27898
27993
  * Use `float` for the default float embeddings. */
27899
- element_type?: InferenceJinaAIElementType;
27994
+ embedding_type?: InferenceJinaAIElementType;
27900
27995
  /** For the `embedding` task, whether the model supports multimodal inputs. If true, requests sent to the Jina model
27901
27996
  * will use the multimodal request format (a list of objects). If false, requests sent to the model will use the same
27902
27997
  * format as the `text_embedding` task (a list of strings). Setting this to `false` allows the `embedding` task to be
@@ -33488,6 +33583,7 @@ export interface MlTrainedModelDeploymentNodesStats {
33488
33583
  average_inference_time_ms_last_minute?: DurationValue<UnitFloatMillis>;
33489
33584
  /** The average time for each inference call to complete on this node, excluding cache */
33490
33585
  average_inference_time_ms_excluding_cache_hits?: DurationValue<UnitFloatMillis>;
33586
+ average_inference_process_memory_rss_bytes?: ByteSize;
33491
33587
  /** The number of errors when evaluating the trained model. */
33492
33588
  error_count?: integer;
33493
33589
  /** The total number of inference calls made against this node for this model. */
@@ -36052,7 +36148,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
36052
36148
  * only works on one platform, because it is heavily optimized for a particular
36053
36149
  * processor architecture and OS combination, then this field specifies which.
36054
36150
  * The format of the string must match the platform identifiers used by Elasticsearch,
36055
- * so one of, `linux-x86_64`, `linux-aarch64`, `darwin-x86_64`, `darwin-aarch64`,
36151
+ * so one of, `linux-x86_64`, `linux-aarch64`, `darwin-aarch64`,
36056
36152
  * or `windows-x86_64`. For portable models (those that work independent of processor
36057
36153
  * architecture or OS features), leave this field unset. */
36058
36154
  platform_architecture?: string;
@@ -37135,6 +37231,18 @@ export interface NodesAdaptiveSelection {
37135
37231
  /** The rank of this node; used for shard selection when routing search requests. */
37136
37232
  rank?: string;
37137
37233
  }
37234
+ export interface NodesAllocations {
37235
+ /** Number of shards allocated to the node. */
37236
+ shards?: integer;
37237
+ /** Number of shards allocated to the node that are currently undesired. */
37238
+ undesired_shards?: integer;
37239
+ /** Forecasted ingest load for the node. */
37240
+ forecasted_ingest_load?: double;
37241
+ /** Forecasted disk usage, in bytes, for the node. */
37242
+ forecasted_disk_usage_in_bytes?: long;
37243
+ /** Current disk usage, in bytes, for the node. */
37244
+ current_disk_usage_in_bytes?: long;
37245
+ }
37138
37246
  export interface NodesBreaker {
37139
37247
  /** Estimated memory used for the operation. */
37140
37248
  estimated_size?: string;
@@ -37753,6 +37861,8 @@ export interface NodesSizeHttpHistogram {
37753
37861
  export interface NodesStats {
37754
37862
  /** Statistics about adaptive replica selection. */
37755
37863
  adaptive_selection?: Record<string, NodesAdaptiveSelection>;
37864
+ /** Statistics about shard allocations on the node. */
37865
+ allocations?: NodesAllocations;
37756
37866
  /** Statistics about the field data circuit breaker. */
37757
37867
  breakers?: Record<string, NodesBreaker>;
37758
37868
  /** File system information, data path, free disk space, read/write stats. */
@@ -38000,7 +38110,7 @@ export interface NodesInfoNodeInfoClient {
38000
38110
  export interface NodesInfoNodeInfoDiscoverKeys {
38001
38111
  seed_hosts?: string[] | string;
38002
38112
  type?: string;
38003
- seed_providers?: string[];
38113
+ seed_providers?: string[] | string;
38004
38114
  }
38005
38115
  export type NodesInfoNodeInfoDiscover = NodesInfoNodeInfoDiscoverKeys & {
38006
38116
  [property: string]: any;
@@ -46098,6 +46208,14 @@ export interface TransformGetTransformStatsRequest extends RequestBase {
46098
46208
  * If this parameter is false, the request returns a 404 status code when
46099
46209
  * there are no matches or only partial matches. */
46100
46210
  allow_no_match?: boolean;
46211
+ /** If true, the response includes `id`, `state`, `node`, `stats`, `health`,
46212
+ * and basic `checkpointing` information (the last and next checkpoint
46213
+ * numbers, and the next checkpoint's `position` and `progress`). Skips
46214
+ * statistics that require heavy computations to calculate:
46215
+ * `operations_behind`, `changes_last_detected_at`, `last_search_time`, and
46216
+ * the checkpoint timestamps.
46217
+ * @remarks This property is not supported on Elastic Cloud Serverless. */
46218
+ basic?: boolean;
46101
46219
  /** Skips the specified number of transforms. */
46102
46220
  from?: long;
46103
46221
  /** Specifies the maximum number of transforms to obtain. */
@@ -46110,6 +46228,7 @@ export interface TransformGetTransformStatsRequest extends RequestBase {
46110
46228
  } & {
46111
46229
  transform_id?: never;
46112
46230
  allow_no_match?: never;
46231
+ basic?: never;
46113
46232
  from?: never;
46114
46233
  size?: never;
46115
46234
  timeout?: never;
@@ -46120,6 +46239,7 @@ export interface TransformGetTransformStatsRequest extends RequestBase {
46120
46239
  } & {
46121
46240
  transform_id?: never;
46122
46241
  allow_no_match?: never;
46242
+ basic?: never;
46123
46243
  from?: never;
46124
46244
  size?: never;
46125
46245
  timeout?: never;
@@ -47645,6 +47765,14 @@ export interface XpackUsageEqlFeaturesSequences {
47645
47765
  sequence_queries_five_or_more: uint;
47646
47766
  sequence_maxspan: uint;
47647
47767
  }
47768
+ export interface XpackUsageEsqlLoggingConfig {
47769
+ /** Whether ES|QL query logging is enabled. */
47770
+ enabled: boolean;
47771
+ /** Whether user information is included in the ES|QL query log. */
47772
+ user: boolean;
47773
+ /** The configured logging thresholds, keyed by threshold name, if any. */
47774
+ thresholds?: Record<string, Duration>;
47775
+ }
47648
47776
  export interface XpackUsageFeatureToggle {
47649
47777
  enabled: boolean;
47650
47778
  }
@@ -47694,6 +47822,12 @@ export interface XpackUsageJobUsage {
47694
47822
  forecasts: XpackUsageMlJobForecasts;
47695
47823
  model_size: MlJobStatistics;
47696
47824
  }
47825
+ export interface XpackUsageLogging {
47826
+ /** Search query log configuration. */
47827
+ querylog: XpackUsageQueryLoggingConfig;
47828
+ /** ES|QL query log configuration. */
47829
+ esql: XpackUsageEsqlLoggingConfig;
47830
+ }
47697
47831
  export interface XpackUsageMachineLearning extends XpackUsageBase {
47698
47832
  datafeeds: Record<string, XpackUsageDatafeed>;
47699
47833
  /** Job usage statistics. The `_all` entry is always present and gathers statistics for all jobs. */
@@ -47789,6 +47923,16 @@ export interface XpackUsageQuery {
47789
47923
  paging?: integer;
47790
47924
  total?: integer;
47791
47925
  }
47926
+ export interface XpackUsageQueryLoggingConfig {
47927
+ /** Whether query logging is enabled. */
47928
+ enabled: boolean;
47929
+ /** Whether user information is included in the query log. */
47930
+ user: boolean;
47931
+ /** Whether system queries are included in the query log. */
47932
+ system: boolean;
47933
+ /** The configured logging threshold, if any. */
47934
+ threshold?: Duration;
47935
+ }
47792
47936
  export interface XpackUsageRealm extends XpackUsageBase {
47793
47937
  name?: string[];
47794
47938
  order?: long[];
@@ -47838,6 +47982,8 @@ export interface XpackUsageResponse {
47838
47982
  gpu_vector_indexing?: XpackUsageGpuVectorIndexing;
47839
47983
  health_api?: XpackUsageHealthStatistics;
47840
47984
  ilm: XpackUsageIlm;
47985
+ /** @remarks This property is not supported on Elastic Cloud Serverless. */
47986
+ logging?: XpackUsageLogging;
47841
47987
  logstash: XpackUsageBase;
47842
47988
  ml: XpackUsageMachineLearning;
47843
47989
  monitoring: XpackUsageMonitoring;
@@ -47973,6 +48119,8 @@ export interface XpackUsageWatcherWatchTriggerSchedule extends XpackUsageCounter
47973
48119
  cron: XpackUsageCounter;
47974
48120
  _all: XpackUsageCounter;
47975
48121
  }
48122
+ export interface SpecUtilsOverloadOf<TDefinition = unknown> {
48123
+ }
47976
48124
  export interface SpecUtilsAdditionalProperties<TKey = unknown, TValue = unknown> {
47977
48125
  }
47978
48126
  export interface SpecUtilsAdditionalProperty<TKey = unknown, TValue = unknown> {
@@ -47994,8 +48142,6 @@ export interface SpecUtilsCommonQueryParameters {
47994
48142
  * this option for debugging only. */
47995
48143
  pretty?: boolean;
47996
48144
  }
47997
- export interface SpecUtilsOverloadOf<TDefinition = unknown> {
47998
- }
47999
48145
  export interface SpecUtilsCommonCatQueryParameters {
48000
48146
  /** Specifies the format to return the columnar data in, can be set to
48001
48147
  * `text`, `json`, `cbor`, `yaml`, or `smile`. */
package/lib/client.d.ts CHANGED
@@ -130,6 +130,9 @@ export interface ClientOptions {
130
130
  /** @property maxCompressedResponseSize When configured, verifies that the compressed response size is lower than the configured number. If it's higher, it will abort the request. It cannot be higher than `buffer.constants.MAX_LENGTH`
131
131
  * @defaultValue null */
132
132
  maxCompressedResponseSize?: number;
133
+ /** @property maxPathLength Maximum allowed byte length of the request path (`path` + optional `?querystring`). Does not include scheme or hostname. When exceeded, the request is rejected before it is sent. Aligns with Elasticsearch's `http.max_initial_line_length` (default 4kb); leave headroom for the HTTP method and version. Disabled when unset.
134
+ * @defaultValue null */
135
+ maxPathLength?: number | null;
133
136
  /** @property redaction Options for how to redact potentially sensitive data from metadata attached to `Error` objects
134
137
  * @remarks Read https://www.elastic.co/docs/reference/elasticsearch/clients/javascript/advanced-config#redaction for more details
135
138
  * @defaultValue Configuration that will replace known sources of sensitive data */
package/lib/client.js CHANGED
@@ -153,6 +153,7 @@ class Client extends api_1.default {
153
153
  enableMetaHeader: true,
154
154
  maxResponseSize: null,
155
155
  maxCompressedResponseSize: null,
156
+ maxPathLength: null,
156
157
  serverMode: 'stack'
157
158
  }, opts, { headers, redaction });
158
159
  if (options.caFingerprint != null && isHttpConnection((_e = opts.node) !== null && _e !== void 0 ? _e : opts.nodes)) {
@@ -265,6 +266,7 @@ class Client extends api_1.default {
265
266
  productCheck: 'Elasticsearch',
266
267
  maxResponseSize: options.maxResponseSize,
267
268
  maxCompressedResponseSize: options.maxCompressedResponseSize,
269
+ maxPathLength: options.maxPathLength,
268
270
  redaction: options.redaction,
269
271
  // @ts-ignore enableMetaHeader will be available in transport v9.1.1
270
272
  enableMetaHeader: options.enableMetaHeader
package/lib/client.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;AAEH,wEAAkC;AAElC,uCAA8B;AAC9B,sEAAgC;AAChC,8DAAwB;AACxB,kDAU2B;AAc3B,qFAAoH;AACpH,oFAAmD;AACnD,gEAA+B;AAC/B,wDAAuB;AACvB,uCAA2C;AAKlC,gGALA,yBAAe,OAKA;AAJxB,2DAAgH;AAEhH,MAAM,MAAM,GAAG,MAAM,CAAC,uBAAuB,CAAC,CAAA;AAC9C,MAAM,eAAe,GAAG,MAAM,CAAC,iCAAiC,CAAC,CAAA;AAGjE,IAAI,aAAa,GAAW,iCAAgB,CAAA;AAC5C,0BAA0B;AAC1B,IAAI,aAAa,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;IAChC,mBAAmB;IACnB,aAAa,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAA;AAC1E,CAAC;AACD,IAAI,gBAAgB,GAAW,oCAAmB,CAAA;AAClD,0BAA0B;AAC1B,IAAI,gBAAgB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;IACnC,mBAAmB;IACnB,gBAAgB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC,EAAE,gBAAgB,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAA;AACnF,CAAC;AACD,MAAM,WAAW,GAAG,sBAAO,CAAC,QAAQ,CAAC,IAAI,CAAA;AAEzC,MAAM,oBAAoB,GAAG,YAAY,CAAA;AAqIzC,MAAqB,MAAO,SAAQ,aAAG;IAQrC,YAAa,IAAmB;;QAC9B,KAAK,EAAE,CAAA;QART;;;;;WAAsB;QACtB;;;;;WAAqB;QACrB;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QAAQ,CAAC;gBACtC,QAAQ,EAAE,kBAAkB,CAAC,QAAQ,CAAC;aACvC,CAAA;QACH,CAAC;aAAM,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,GAAG,YAAY,cAAG,EAAE,CAAC;YACnD,OAAO;gBACL,QAAQ,EAAE,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;gBAC/C,QAAQ,EAAE,kBAAkB,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC;aAChD,CAAA;QACH,CAAC;aAAM,CAAC;YACN,OAAO,IAAI,CAAA;QACb,CAAC;IACH,CAAC;AACH,CAAC"}
@@ -7,6 +7,6 @@
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.transportVersion = exports.clientVersion = void 0;
10
- exports.clientVersion = '9.4.1';
11
- exports.transportVersion = '9.3.6';
10
+ exports.clientVersion = '9.4.3';
11
+ exports.transportVersion = '9.4.0';
12
12
  //# sourceMappingURL=version.generated.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elastic/elasticsearch",
3
- "version": "9.4.1",
4
- "versionCanary": "9.4.1-canary.0",
3
+ "version": "9.4.3",
4
+ "versionCanary": "9.4.3-canary.0",
5
5
  "description": "The official Elasticsearch client for Node.js",
6
6
  "type": "commonjs",
7
7
  "main": "./index.js",
@@ -34,7 +34,7 @@
34
34
  "test:coverage-report": "npm run build && tap --coverage && nyc report --reporter=text-lcov > coverage.lcov",
35
35
  "test:coverage-ui": "npm run build && tap --coverage --coverage-report=html",
36
36
  "test:integration-build": "npm run build && node test/integration/index.js",
37
- "test:integration": "npm run test:integration-build && env tap run --jobs=1 --reporter=junit --reporter-file=report-junit.xml generated-tests/",
37
+ "test:integration": "npm run test:integration-build && env tap run --jobs=1 --allow-empty-coverage --allow-incomplete-coverage --reporter=junit --reporter-file=report-junit.xml generated-tests/",
38
38
  "lint": "eslint",
39
39
  "lint:fix": "eslint . --fix ",
40
40
  "license-checker": "license-checker --production --onlyAllow='MIT;Apache-2.0;Apache1.1;ISC;BSD-3-Clause;BSD-2-Clause;0BSD'",
@@ -114,7 +114,7 @@
114
114
  "apache-arrow": "18.x - 21.x"
115
115
  },
116
116
  "dependencies": {
117
- "@elastic/transport": "^9.3.5",
117
+ "@elastic/transport": "^9.4.0",
118
118
  "tslib": "^2.4.0"
119
119
  },
120
120
  "peerDependencies": {