Example of Connecting KBest to Milvus
The KBest algorithm can connect to the Milvus database (version 2.4.5) to accelerate the query efficiency while ensuring a high recall rate.
Among all index algorithms supported by Milvus, the graph-based index algorithm is Hierarchical Navigable Small World (HNSW), which can perform quick query and achieve a high recall rate, but consumes a large amount of memory resources. To extend the graph-based index algorithm and accelerate the query while ensuring a high recall rate, the KBest algorithm optimizes the performance and precision of the nearest neighbor search by using methods such as quantization and vector instruction, providing the search capability equivalent to the open source Faiss HNSW algorithm. The procedure is as follows:
- Install Milvus.
- Apply the patch file into Milvus for full compilation.
- Use ann-benchmarks for the test.
Parent topic: KBest APIs