jpountz commented on issue #14348: URL: https://github.com/apache/lucene/issues/14348#issuecomment-2730966937
For what it's worth, it's possible to override the read advice of vectors with something like that: ```java Path path = ...; Directory dir = new FilterDirectory(FSDirectory.open(path)) { @Override public IndexInput openInput(String name, IOContext context) throws IOException { if (name.endsWith(".vex") || name.endsWith(".vec") || name.endsWith(".veb")) { context = context.withReadAdvice(ReadAdvice.RANDOM_PRELOAD); } return super.openInput(name, context); } }; ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org