1 个仓库
The process of building a searchable proximity graph, including configuring link density for recall and memory trade-offs.
Distinct from Index Construction: Specifically focuses on the construction of a vector proximity graph, distinct from general index initialization or knowledge graph indexing.
Explore 1 awesome GitHub repository matching data & databases · Graph. Refine with filters or upvote what's useful.
hnswlib 是一个仅包含头文件的 C++ 库和向量索引引擎,专为高维近似最近邻搜索而设计。它将大型嵌入集合组织成可搜索的图结构,以实现快速的邻近查询和距离计算。 该系统利用分层可导航小世界(HNSW)图来实现快速向量相似度搜索。其独特之处在于允许定义自定义距离度量和相似度函数,以适应特定数据需求。 该引擎涵盖了完整的索引生命周期,包括增量索引构建以及通过添加和元素移除来管理数据点。查询功能包括近似和精确最近邻搜索,并辅以布尔搜索过滤,以根据元素标签排除候选对象。 该库支持通过二进制文件序列化进行索引持久化,并提供并行执行配置,以将查询和索引任务分配到多个 CPU 核心上。
Constructs hierarchical proximity graphs by configuring link density to balance memory usage and retrieval recall.