nowfound

Life & fun · March 25, 2026

DuckDB community extension for prefiltered HNSW using ACORN-1

Hey folks! As someone doing hybrid search daily and wishing I could have a pgvector-like experience but with actual prefiltered approximate nearest neighbours, I decided to just take a punt on implementing ACORN on a fork of the DuckDB VSS extension. I had to make some changes to (vendored) usearch that I'm thinking of submitting upstream. But this does the business. Approximate nearest neighbours with WHERE prefiltering. Edit: Just to clarify, this has been accepted into the community extensions repo. So you can use it like: ``` INSTALL hnsw_acorn FROM community; LOAD hnsw_acorn; ```

DuckDB community extension for prefiltered HNSW using ACORN-1 launched on March 25, 2026 with 90 votes, #526 of 23,380 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 2% of March 2026

In plain words

HNSW_ACORN is a DuckDB community extension that enables approximate nearest neighbor searches with WHERE clause prefiltering. Built as an enhancement to DuckDB's Vector Search Support extension, it implements the ACORN algorithm to combine hybrid search capabilities similar to pgvector but with efficient prefiltered approximate nearest neighbor queries. The extension is installable from DuckDB's community extensions repository and integrates modifications to the underlying usearch library.

written from the facts on this page · September 2026

From the sources

ACORN-1 pre-filtered HNSW search for DuckDB. Contribute to cigrainger/duckdb-hnsw-acorn development by creating an account on GitHub.

Does a similar job

all alternatives →
  • A fast HNSW implementation in Rust2024 · github.com · ▲111

    HNSW implementation in Rust. Reference: https://arxiv.org/ftp/arxiv/papers/1603/1603.09320.pdf - swapneel/hnsw-rust

  • Open-source, browser-local data exploration using DuckDB-WASM and PRQL2024 · github.com · ▲227

    Hey HN! We’ve built Pretzel, an open-source data exploration and visualization tool that runs fully in the browser and can handle large files (200 MB CSV on my 8gb MacBook air is snappy). It’s also reactive - so if, for example, you change a filter, all the data transform blocks after it re-evaluate automatically. You can try it here: https://pretzelai.github.io/ (static hosted webpage) or see a demo video here: https://www.youtube.com/watch?v=73wNEun_L7w You can play with the demo CSV that’s pre-loaded (GitHub data of text-editor adjacent projects) or upload…

  • HNSW index for vector embeddings in approx 500 LOC2025 · github.com · ▲73

    Heirarchical Navigable Small Worlds. Contribute to dicroce/hnsw development by creating an account on GitHub.

  • Postgres extension for BM25 relevance-ranked full-text searchMar 2026 · github.com · ▲203

    Last summer we faced a conundrum at my company, Tiger Data, a Postgres cloud vendor whose main business is in timeseries data. We were trying to grow our business towards emerging AI-centric workloads and wanted to provide a state-of-the-art hybrid search stack in Postgres. We'd already built pgvectorscale in house with the goal of scaling semantic search beyond pgvector's main memory limitations. We just needed a scalable ranked keyword search solution too. The problem: core Postgres doesn't provide this; the leading Postgres BM25 extension, ParadeDB, is guarded behind AGPL; developing our…

  • Tinyhnsw – The Littlest Vector Database2025 · github.com · ▲17

    In an effort to understand it, I put together a simple, pure python implementation of HNSW, an approximate nearest neighbor library. Learned a lot, and I think for anyone interested in vector search it's an exercise that's absolutely worth doing. The code is optimized (imo) for readability, and working (albeit, quite slowly) on putting together a tutorial that walks through the motivation and implementation of HNSW. There's also working code examples for using the library for text and image search with sentence transformers and CLIP!

  • Presearch - A Better Search Engine2021 · t.me · ▲93

    Support decentralized search by becoming a node operator.

More life & fun this month

the category →

Source: Show HN post ↗

Launched alongside, March 2026

the whole month →
  • AI-native CRM that builds itself and does work for you

    AI · Mar 2026 · lightfield.app

  • Tobira.ai▲728

    A network where AI agents find deals for their humans

    AI · Mar 2026 · tobira.ai

  • Switch from ChatGPT to Claude with import memory feature

    AI · Mar 2026 · claude.com

  • Littlebird remembers everything across your meetings, messages, docs, and apps, then takes action so you can recall any detail and never lose context.

    AI · Mar 2026 · littlebird.ai

  • Your AI Coworker that proactively executes tasks

    AI · Mar 2026 · viktor.com

  • Jupid▲659

    File your taxes with Claude Code

    Commerce · Mar 2026 · jupid.com