Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1(github.com)
github.com
Show HN: DuckDB community extension for prefiltered HNSW using ACORN-1
https://github.com/cigrainger/duckdb-hnsw-acorn
10 comments
As an aside, there's now Lance data format support in DuckDB through their extension. It has Lance's vector search support available among other things:
https://github.com/lance-format/lance-duckdb/tree/main?tab=r...
I just noticed this, and your post, and haven't yet checked neither (sorry). I'm however doing some vector search benchmarking soon, with DuckDB's options alongside others. So your work caught my attention here.
https://github.com/lance-format/lance-duckdb/tree/main?tab=r...
I just noticed this, and your post, and haven't yet checked neither (sorry). I'm however doing some vector search benchmarking soon, with DuckDB's options alongside others. So your work caught my attention here.
Nice !
My most pressing request for VSS would be efficient binary vectors : is this on the table ?
I haven't given binary vectors a lot of thought, but I'm exploring RaBitQ[1].
[1] https://arxiv.org/abs/2405.12497
[1] https://arxiv.org/abs/2405.12497
Does your method work better than standard ANN when filters are very strict—and how does it affect speed vs accuracy?
Please upstream it.
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;
```