Skip to content

Commit

Permalink
Update diskann range search param max_k to MAX_INT (#212)
Browse files Browse the repository at this point in the history
Signed-off-by: Yudong Cai <[email protected]>
  • Loading branch information
cydrain authored Nov 23, 2023
1 parent 0561e2b commit 9534d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/diskann/diskann_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class DiskANNConfig : public BaseConfig {
.for_range_search();
KNOWHERE_CONFIG_DECLARE_FIELD(max_k)
.description("the max l_search size used in range search.")
.set_default(10000)
.set_default(std::numeric_limits<CFG_INT::value_type>::max())
.set_range(1, std::numeric_limits<CFG_INT::value_type>::max())
.for_range_search();
KNOWHERE_CONFIG_DECLARE_FIELD(search_list_and_k_ratio)
Expand Down

0 comments on commit 9534d56

Please sign in to comment.