From 74a22f8351f5808b16036f39d3008fea50e7641f Mon Sep 17 00:00:00 2001 From: carlosdelest Date: Tue, 10 Dec 2024 12:37:02 +0100 Subject: [PATCH] Spotless --- .../search/vectors/RescoreKnnVectorQuery.java | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) 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 + + '}'; } }