File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
server/src/internalClusterTest/java/org/elasticsearch/search/query Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 1515import org .elasticsearch .action .search .SearchResponse ;
1616import org .elasticsearch .cluster .metadata .IndexMetadata ;
1717import org .elasticsearch .common .settings .Settings ;
18- import org .elasticsearch .common .util .FeatureFlag ;
1918import org .elasticsearch .index .IndexVersion ;
2019import org .elasticsearch .index .mapper .vectors .DenseVectorFieldMapper ;
2120import org .elasticsearch .index .mapper .vectors .DenseVectorFieldMapper .VectorIndexType ;
3433import org .elasticsearch .search .vectors .KnnVectorQueryBuilder ;
3534import org .elasticsearch .search .vectors .RescoreVectorBuilder ;
3635import org .elasticsearch .test .ESIntegTestCase ;
37- import org .elasticsearch .test .TestCluster ;
3836import org .elasticsearch .xcontent .XContentBuilder ;
3937import org .elasticsearch .xcontent .XContentFactory ;
4038import org .junit .Before ;
4139
4240import java .io .IOException ;
43- import java .util .ArrayList ;
4441import java .util .Arrays ;
4542import java .util .Collection ;
4643import java .util .Collections ;
@@ -96,9 +93,7 @@ public void setup() throws IOException {
9693 if (IVF_FORMAT .isEnabled () == false ) {
9794 validIndexTypes .remove (BBQ_IVF .name ().toLowerCase (Locale .ROOT ));
9895 }
99- String type = randomFrom (
100- validIndexTypes
101- );
96+ String type = randomFrom (validIndexTypes );
10297 XContentBuilder mapping = XContentFactory .jsonBuilder ()
10398 .startObject ()
10499 .startObject ("properties" )
You can’t perform that action at this time.
0 commit comments