Skip to content

Commit 40edca3

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent 80b48cf commit 40edca3

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/DenseVectorFieldTypeIT.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ public void testRetrieveDenseVectorFieldData() {
135135
| KEEP id, vector
136136
""";
137137

138-
indexedVectors.forEach((i, v) -> {
139-
System.out.println("ID: " + i + ", Vector: " + v);
140-
});
138+
indexedVectors.forEach((i, v) -> { System.out.println("ID: " + i + ", Vector: " + v); });
141139

142140
try (var resp = run(query)) {
143141
List<List<Object>> valuesList = EsqlTestUtils.getValuesList(resp);
@@ -239,10 +237,7 @@ private void createIndexWithDenseVector(String indexName) throws IOException {
239237
.field("element_type", elementType.toString().toLowerCase(Locale.ROOT))
240238
.field("index", index);
241239
if (index) {
242-
mapping.field(
243-
"similarity",
244-
similarity.name().toLowerCase(Locale.ROOT)
245-
);
240+
mapping.field("similarity", similarity.name().toLowerCase(Locale.ROOT));
246241
}
247242
if (indexType != null) {
248243
mapping.startObject("index_options").field("type", indexType).endObject();

0 commit comments

Comments
 (0)