Commit 556a777
fix: increase ANN search K from 50 to 200 for 72K+ person pool (#7)
With 72K+ stranger persons (~364K face nodes in the HNSW index),
K=50 per prototype query was too small: high-similarity candidates
(e.g. 77%) were being missed because 50+ other stranger face nodes
ranked above them for prominent persons like 胡波 (3505 faces).
Increase annSearchK 50→200 and annHNSWEfSearch 100→200 (must be
>= K per HNSW guidelines) so each of the ~210 per-patrol queries
covers a wider neighborhood, ensuring borderline pairs above the
merge-suggestion threshold (55%) are not silently dropped.
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2a772b4 commit 556a777
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments