File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff 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 ();
You can’t perform that action at this time.
0 commit comments