Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Current state: Under Discussion

ISSUE: #2771


Keywords: Vector Index

Released: TBD


We got requirement for supporting ScaNN index in Milvus. This proposal is about how to integrate a new index into knowhere and expose it to client. 

Document about how knowhere works in milvus v1.x: m1_chain.pdf

Docement about how knowhere works in milvus v2.0: TODO


Google recently released a new algorithm to find Approximate Nearest Neighbors called ScaNNThey show through benchmarks that it can perform significantly better than the existing solutions like Annoy, FAISS, hnsw. The goal is to add support for ScaNN algorithm to the list of Milvus supported indexes.

Public Interfaces

Follwing public interfaces would be updated in knowhere =>

namespace IndexEnum {
	extern const char* INDEX_SCANN;

namespace IndexEnum {
	const char* INDEX_SCANN = "SCANN";

Design Details

As part of third party library, we will have to add a new library for ScaNN. This directory here: contains APIs for build/search etc. Also, ScaNN uses Bazel as it's dependency management while we would need to use CMake.

One the library has been added, 

Compatibility, Deprecation, and Migration Plan

Test Plan

Rejected Alternatives


  • No labels