summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java b/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java
index 1ae7f5cdfde..7dd45153353 100644
--- a/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java
+++ b/client/src/main/java/ai/vespa/client/dsl/NearestNeighbor.java
@@ -14,7 +14,7 @@ public class NearestNeighbor extends QueryChain {
this.nonEmpty = true;
}
- NearestNeighbor annotate(Annotation annotation) {
+ public NearestNeighbor annotate(Annotation annotation) {
this.annotation = annotation;
return this;
}