Skip to content

Commit cd8cb65

Browse files
committed
Add comment
1 parent 2b84f68 commit cd8cb65

File tree

1 file changed

+3
-0
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session

1 file changed

+3
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ private void preAnalyzeLookupIndex(
621621
// Disable aggregate_metric_double and dense_vector until we get version checks in planning
622622
false,
623623
false,
624+
// We're just being consistent with the enrich policy resolution here; technically, we don't need to pass the main index
625+
// resolution's minimum version, as the coordinator's just going to make another field caps request for the lookup resolution
626+
// that comes with the minimum version in the response.
624627
result.minimumTransportVersion(),
625628
listener.map(indexResolution -> receiveLookupIndexResolution(result, localPattern, executionInfo, indexResolution))
626629
);

0 commit comments

Comments
 (0)