Repository navigation
docs(readme): showcase IVF ANN and why HNSW was dropped (#204) - #77
Merged
Merged
Conversation
Rewrite README as a short project showcase: what the brain is, how the deduction read path works, and why vector search lives outside liblbug. The old text claimed a native HNSW index; liblbug's own HNSW crashes on grown graphs (#192) and coder/hnsw lost reachability on our corpus, so the production index is IVF (var/state/vector.ann + WAL). Also fix stale HNSW mentions in the roadmap, the duckdb skill and code comments that describe our own index.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что
README переписан как короткая витрина проекта + исправлено фактически неверное «native HNSW».
git.pro-dukt.de,git.produktor.io) — витрина живёт на GitHub.docs/roadmap.md,skills/duckdb/SKILL.md:FTS + HNSW→FTS + IVF ANN.internal/brain/{doc,search,annbridge}.go,ingest_soak_test.go: наш индекс назван IVF; исторические упоминания liblbug HNSW оставлены (они объясняют причину).Почему
liblbug 0.19 HNSW падает на росте графа (~1300 нод, #192).
coder/hnswотброшен на замерах: 34% достижимых узлов, recall@5 0.16. В проде — IVF (var/state/vector.ann+ WAL), recall@5 vs скан = 1.0, p50 ≈ 470 ms (#204/#206).Проверка
CC=gcc ... go vet ./...— OKgo test ./internal/brain/ann ./internal/brain/rank ./pkg/brainclient/...— OKgitleaks detect --log-opts=19912d9..HEAD— no leakscurasoft|edelweiss|produktor|/home/|token|password