Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preloads .vec and .vex files #2186

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 4, 2024

  1. Preloads .vec and .vex files

    LuceneFlatVectorReader uses IOContext.Random to open the read. IOContext.Random
    indicates the kernel to not read ahead the pages on to physical memory.
    This causes an increase in merge time due to increase of read ops at
    runtime.
    
    The preload settings signals the kernal to preload the files when the
    reader is opened
    
    Signed-off-by: Tejas Shah <[email protected]>
    shatejas committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    c1c5776 View commit details
    Browse the repository at this point in the history