File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
server/src/internalClusterTest/java/org/elasticsearch/index/store Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ public class DirectIOIT extends ESIntegTestCase {
4747
4848 @ BeforeClass
4949 public static void checkSupported () {
50- assumeTrue ("Direct IO is not enabled" , ES818BinaryQuantizedVectorsFormat .USE_DIRECT_IO );
51-
5250 Path path = createTempDir ("directIOProbe" );
5351 try (Directory dir = open (path ); IndexOutput out = dir .createOutput ("out" , IOContext .DEFAULT )) {
5452 out .writeString ("test" );
@@ -73,7 +71,7 @@ protected Collection<Class<? extends Plugin>> nodePlugins() {
7371 }
7472
7573 private void indexVectors () {
76- String type = randomFrom ("bbq_flat" , "bbq_hnsw" );
74+ String type = randomFrom (/* "bbq_flat", */ "bbq_hnsw" );
7775 assertAcked (
7876 prepareCreate ("foo-vectors" ).setSettings (Settings .builder ().put (InternalSettingsPlugin .USE_COMPOUND_FILE .getKey (), false ))
7977 .setMapping ("""
@@ -86,7 +84,8 @@ private void indexVectors() {
8684 "index": true,
8785 "similarity": "l2_norm",
8886 "index_options": {
89- "type": "%type%"
87+ "type": "%type%",
88+ "disable_offheap_cache_rescoring": true
9089 }
9190 }
9291 }
You can’t perform that action at this time.
0 commit comments