Skip to content

HNSW clarification questions #124

Answered by zh217
Madd0g asked this question in Q&A
Discussion options

You must be logged in to vote
  1. In general you should use Cosine, unless your vectors are already normalized, in which case Cosine and L2 should give almost identical results (but L2 will be faster). You can try to compute distance between vectors that you want to be considered together in order to set the radius. There is no generally applicable rule about it.
  2. The connections and neighbours refer to the internal graphs of the HNSW indices.
  3. It is definitely a bug. The program should not panic no matter what you throw at it. I will look into it when I find time.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Madd0g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants