Skip to content

Commit dfe9bc9

Browse files
committed
re-enable direct io
1 parent 36828e2 commit dfe9bc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/org/elasticsearch/index/codec/vectors/es818/DirectIOLucene99FlatVectorsReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
@SuppressForbidden(reason = "Copied from lucene")
5858
public class DirectIOLucene99FlatVectorsReader extends FlatVectorsReader implements OffHeapStats {
5959

60-
private static final boolean USE_DIRECT_IO = Boolean.parseBoolean(System.getProperty("vector.rescoring.directio", "false"));
60+
private static final boolean USE_DIRECT_IO = Boolean.parseBoolean(System.getProperty("vector.rescoring.directio", "true"));
6161

6262
private static final long SHALLOW_SIZE = RamUsageEstimator.shallowSizeOfInstance(DirectIOLucene99FlatVectorsReader.class);
6363

0 commit comments

Comments
 (0)