@saehrimnir/druidjs / ParametersHNSW
Interface: ParametersHNSW
Defined in: knn/index.js:33
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
ef | number | Size of candidate list during search. Default is 50 | knn/index.js:44 |
ef_construction | number | Size of candidate list during construction. Default is 200 | knn/index.js:38 |
heuristic | boolean | Use heuristics or naive selection. Default is true | knn/index.js:35 |
m | number | Number of connections a newly inserted element creates on each layer it joins, layer 0 included. Default is 16 | knn/index.js:36 |
m0 | number | null | Upper bound on connections at the ground layer (layer 0). Unlike m this is not a budget for the inserted element, it is the cap enforced once reverse connections from later insertions have accumulated. Default is 2 * m | knn/index.js:39 |
metric | Metric | Metric to use: (a, b) => distance. Default is euclidean | knn/index.js:34 |
mL | number | null | Normalization factor for level generation. Default is 1 / Math.log(m) | knn/index.js:42 |
seed | number | Seed for random number generator. Default is 1212 | knn/index.js:43 |