Skip to content

Commit

Permalink
mmap support diskload index
Browse files Browse the repository at this point in the history
Signed-off-by: xianliang <[email protected]>
  • Loading branch information
foxspy committed Nov 30, 2023
1 parent 58c215d commit e8a5e7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/knowhere/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ class BaseConfig : public Config {
KNOWHERE_CONFIG_DECLARE_FIELD(enable_mmap)
.set_default(false)
.description("enable mmap for load index")
.for_deserialize()
.for_deserialize_from_file();
KNOWHERE_CONFIG_DECLARE_FIELD(for_tuning).set_default(false).description("for tuning").for_search();
}
Expand Down

0 comments on commit e8a5e7d

Please sign in to comment.