mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
mhnsw: configurable parameters
1. introduce alpha. the value of 1.1 is optimal, so hard-code it. 2. hard-code ef_construction=10, best by test 3. rename hnsw_max_connection_per_layer to mhnsw_max_edges_per_node (max_connection is rather ambiguous in MariaDB) and add a help text 4. rename hnsw_ef_search to mhnsw_min_limit and add a help text
This commit is contained in:
@@ -924,9 +924,8 @@ typedef struct system_variables
|
||||
Charset_collation_map_st character_set_collations;
|
||||
|
||||
/* Temporary for HNSW tests */
|
||||
uint hnsw_max_connection_per_layer;
|
||||
uint hnsw_ef_constructor;
|
||||
uint hnsw_ef_search;
|
||||
uint mhnsw_max_edges_per_node;
|
||||
uint mhnsw_min_limit;
|
||||
} SV;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user