Skip to content

docs: reflect HNSW vector index in schema + prerequisites#8

Merged
Ho1yShif merged 1 commit into
mainfrom
docs/hnsw-index
Jun 27, 2026
Merged

docs: reflect HNSW vector index in schema + prerequisites#8
Ho1yShif merged 1 commit into
mainfrom
docs/hnsw-index

Conversation

@Ho1yShif

Copy link
Copy Markdown
Collaborator

Follow-up to the HNSW index fix (#7), which lifted live claim verification from ~46% to 94% (17/18).

Updates the docs to match the new index:

  • docs/HYBRID_SEARCH.md — the documents schema snippet now creates documents_embedding_hnsw_idx USING hnsw (...) instead of ivfflat, with a short note on why (ivfflat's default probes=1 scanned ~1% of rows and missed the true nearest neighbor, causing 0%-confidence claims).
  • README.md — prerequisites note pgvector >= 0.5.0 (required for HNSW).

No code or data changes.

🤖 Generated with Claude Code

Update the documents schema snippet in HYBRID_SEARCH.md to use the HNSW
index (with a note on why ivfflat's default probes=1 tanked recall) and
note the pgvector >= 0.5.0 requirement in the README prerequisites.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Ho1yShif Ho1yShif merged commit bc7d48e into main Jun 27, 2026
@Ho1yShif Ho1yShif deleted the docs/hnsw-index branch June 27, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant