duckdb-hnsw-acorn
github.com · Package · Maintained
DuckDB extension for pre-filtered HNSW vector search
- Data & databases
- Package
- C++
- Day-7 check
- Day-30 check
- duckdb
- vector search
- hnsw
- sql
- vector search duckdb
- filtered vector search
- hnsw index
- embedding search sql
- approximate nearest neighbou
- Stars
- 67
- Forks
- 2
- Open issues
- 0
- Last commit
- Found
- 8 months ago
GitHub figures as of . They are context, not a ranking.
duckdb-hnsw-acorn is a DuckDB extension that adds approximate nearest-neighbour search with WHERE-clause prefiltering, using the ACORN-1 method on an HNSW index. The author says it was accepted into DuckDB's community extensions repository. It suits hybrid search workloads that combine filters with vector lookups.
Positioned as an alternative to pgvector.
Repository description on GitHub: “ACORN-1 pre-filtered HNSW search for DuckDB”
What it does
- Approximate nearest-neighbour search with WHERE clause prefiltering using ACORN-1
- RaBitQ binary quantization that stores vectors at about 1 bit per dimension
- Rescore phase meant to keep result quality after quantization
- HNSW index for DuckDB vector similarity search
Good for
- Find the nearest vectors that also match a SQL filter
- Store large vector sets in a smaller index using quantization
- Run hybrid search over DuckDB tables that contain vector columns
Suits: Engineers running hybrid search that combines filters and vector lookups.
Worth knowing: The author says changes to vendored usearch are not yet submitted upstream.
What you can try
In DuckDB, run INSTALL hnsw_acorn FROM community; then LOAD hnsw_acorn;
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw duckdb-hnsw-acorn on , when cigrainger posted it to Show HN. GitHub listed no published releases for cigrainger/duckdb-hnsw-acorn when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 90 points, 5 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 90 points, 5 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: cigrainger/duckdb-hnsw-acorn
- Found: cigrainger posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was duckdb-hnsw-acorn released?
- No dated release record is available. Kip found it on Show HN on 25 Mar 2026.
- Is duckdb-hnsw-acorn open source?
- Its source is public on GitHub at cigrainger/duckdb-hnsw-acorn under the MIT licence.
- What does duckdb-hnsw-acorn run on?
- Library.
- Is duckdb-hnsw-acorn free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is duckdb-hnsw-acorn still maintained?
- It had a commit or release in the last year, though not in the last 90 days, as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub repository | cigrainger/duckdb-hnsw-acorn REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47512891. Summary drafted with AI from the source records above and checked against KipFound’s rules before publishing. Dates and release facts come only from those records.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.