[MDEV-33415] graph index search: heuristical edge choice Created: 2024-02-07  Updated: 2024-02-07

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Sergei Golubchik Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
is blocked by MDEV-33408 HNSW for k-ANN vector searches Open
is blocked by MDEV-33414 benchmark vector indexes Open
Relates
relates to MDEV-32887 k-ANN indexes for vectors In Progress

 Description   

basic graph search algorithm takes all neighbors of a top node and adds them all back to the todo queue, sorted by the distance to the query. this implies many expensive distance calculations.

there are heuristics that precalculate directions to neighbors and first use neighbors that are in the same direction as the query. HCNNG does that.


Generated at Thu Feb 08 10:38:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.