diff --git a/server/src/main/java/org/elasticsearch/search/vectors/RescoreKnnVectorQuery.java b/server/src/main/java/org/elasticsearch/search/vectors/RescoreKnnVectorQuery.java index b1b2d55648585..014c3265c1833 100644 --- a/server/src/main/java/org/elasticsearch/search/vectors/RescoreKnnVectorQuery.java +++ b/server/src/main/java/org/elasticsearch/search/vectors/RescoreKnnVectorQuery.java @@ -122,11 +122,19 @@ public int hashCode() { @Override public String toString(String field) { - return "KnnRescoreVectorQuery{" + "fieldName='" + fieldName + '\'' + - ", floatTarget=" + floatTarget[0] + "..." + - ", vectorSimilarityFunction=" + vectorSimilarityFunction + - ", k=" + k + - ", vectorQuery=" + innerQuery + - '}'; + return "KnnRescoreVectorQuery{" + + "fieldName='" + + fieldName + + '\'' + + ", floatTarget=" + + floatTarget[0] + + "..." + + ", vectorSimilarityFunction=" + + vectorSimilarityFunction + + ", k=" + + k + + ", vectorQuery=" + + innerQuery + + '}'; } }