Home / Companies / Qdrant / Blog / Post Details
Content Deep Dive

Filtrable HNSW

Blog post from Qdrant

Post Details
Company
Date Published
Author
Andrei Vasnetsov
Word Count
1,062
Company Posts That Month
2
Language
English
Hacker News Points
-
Post removed?
No
Summary

Andrei Vasnetsov explores the potential of enhancing the Hierarchical Navigable Small World (HNSW) algorithm to incorporate constraints directly during the search process, rather than applying conditions post-search, which is common with other approximate nearest neighbor (ANN) search libraries like Annoy and FAISS. The modified approach involves applying filter criteria to the nodes within the HNSW navigation graph, allowing for searches that adhere to specific conditions such as categorical filtering, numerical ranges, or geographical constraints. This method leverages principles from Percolation theory to maintain graph connectivity despite node removal and aims to ensure the search remains effective by adjusting parameters like the number of edges per node. Vasnetsov suggests that, for categorical filtering, additional edges within each category can maintain connectivity, while geographical searches can utilize geohashing to connect graph nodes. The article acknowledges that implementing these modifications in real-world systems would require a more efficient version, such as NMSLib, to meet production-level performance demands.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Vector Search 2 26 13 12 -7%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.