diff --git a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java index 26273fcf55d8a..b2b8b678b8333 100644 --- a/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java +++ b/x-pack/plugin/esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type/DataType.java @@ -370,7 +370,7 @@ public enum DataType implements Writeable { builder().esType("exponential_histogram") .estimatedSize(16 * 160)// guess 160 buckets (OTEL default for positive values only histograms) with 16 bytes per bucket .docValues() - .underConstruction(DataTypesTransportVersions.RESOLVE_FIELDS_RESPONSE_USED_TV) + .underConstruction(DataTypesTransportVersions.TEXT_SIMILARITY_RANK_DOC_EXPLAIN_CHUNKS_VERSION) ), /* @@ -1043,10 +1043,11 @@ public static class DataTypesTransportVersions { ); /** - * First transport version after the PR that introduced the exponential histogram data type. + * First transport version after the PR that introduced the exponential histogram data type which was NOT also backported to 9.2. + * (Exp. histogram was added as SNAPSHOT-only to 9.3.) */ - public static final TransportVersion RESOLVE_FIELDS_RESPONSE_USED_TV = TransportVersion.fromName( - "esql_resolve_fields_response_used" + public static final TransportVersion TEXT_SIMILARITY_RANK_DOC_EXPLAIN_CHUNKS_VERSION = TransportVersion.fromName( + "text_similarity_rank_docs_explain_chunks" ); } }