From 02d371b1f54a8ae0148b505daa6cd147187a435d Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Fri, 18 Oct 2024 16:40:41 +1300 Subject: [PATCH] spotless Signed-off-by: Thomas Farr --- .../client/opensearch/_types/query_dsl/NeuralQuery.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQuery.java b/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQuery.java index b015f24ba..08f1453a5 100644 --- a/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQuery.java +++ b/java-client/src/main/java/org/opensearch/client/opensearch/_types/query_dsl/NeuralQuery.java @@ -186,7 +186,14 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { } public Builder toBuilder() { - return toBuilder(new Builder()).field(field).queryText(queryText).queryImage(queryImage).k(k).minScore(minScore).maxDistance(maxDistance).modelId(modelId).filter(filter); + return toBuilder(new Builder()).field(field) + .queryText(queryText) + .queryImage(queryImage) + .k(k) + .minScore(minScore) + .maxDistance(maxDistance) + .modelId(modelId) + .filter(filter); } /**