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 @@ -137,9 +137,7 @@ public void testRetrieveDenseVectorFieldData() {
137137 | KEEP id, vector
138138 """ ;
139139
140- indexedVectors .forEach ((i , v ) -> {
141- System .out .println ("ID: " + i + ", Vector: " + v );
142- });
140+ indexedVectors .forEach ((i , v ) -> { System .out .println ("ID: " + i + ", Vector: " + v ); });
143141
144142 try (var resp = run (query )) {
145143 List <List <Object >> valuesList = EsqlTestUtils .getValuesList (resp );
@@ -248,10 +246,7 @@ private void createIndexWithDenseVector(String indexName) throws IOException {
248246 .field ("element_type" , elementType .toString ().toLowerCase (Locale .ROOT ))
249247 .field ("index" , index );
250248 if (index ) {
251- mapping .field (
252- "similarity" ,
253- similarity .name ().toLowerCase (Locale .ROOT )
254- );
249+ mapping .field ("similarity" , similarity .name ().toLowerCase (Locale .ROOT ));
255250 }
256251 if (indexType != null ) {
257252 mapping .startObject ("index_options" ).field ("type" , indexType ).endObject ();
You can’t perform that action at this time.
0 commit comments