Skip to content

Commit e25ebac

Browse files
committed
Fix versioning of the KNN function.
1 parent d9ec999 commit e25ebac

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/vector

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/expression/function/vector/Knn.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Knn extends FullTextFunction
103103
description = "Finds the k nearest vectors to a query vector, as measured by a similarity metric. "
104104
+ "knn function finds nearest vectors through approximate search on indexed dense_vectors or semantic_text fields.",
105105
examples = { @Example(file = "knn-function", tag = "knn-function") },
106-
appliesTo = { @FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW) }
106+
appliesTo = {@FunctionAppliesTo(lifeCycle = FunctionAppliesToLifecycle.PREVIEW, version = "9.2.0")}
107107
)
108108
public Knn(
109109
Source source,

0 commit comments

Comments
 (0)