This switches the following files to IOContext#RANDOM:
Stored fields data file.
Term vectors data file.
HNSW graph.
Temporary file storing vectors at merge time that we use to construct the merged HNSW graph.
Vector data files, including quantized data files.
I hesitated using IOContext.RANDOM on terms, since they have a random access pattern when running term queries, but a more sequential access pattern when running multi-term queries. I erred on the conservative side and did not switch them to IOContext.RANDOM for now.
For simplicity, I'm only touching the current codec, not previous codecs.
This switches the following files to
IOContext#RANDOM
:I hesitated using
IOContext.RANDOM
on terms, since they have a random access pattern when running term queries, but a more sequential access pattern when running multi-term queries. I erred on the conservative side and did not switch them toIOContext.RANDOM
for now.For simplicity, I'm only touching the current codec, not previous codecs.