microsoft / SPTAG

A distributed approximate nearest neighborhood search (ANN) library which provides a high quality vector index build, search and distributed online serving toolkits for large scale vector search scenario.
MIT License
4.83k stars 580 forks source link

How to implement serialization in current SPTAG? #107

Open Yukikaze-CZR opened 5 years ago

Yukikaze-CZR commented 5 years ago

Hi, our team is working on an open source vector search engine called milvus, which provides state-of-the-art similarity search and analysis for billion-scale feature vectors. In its latest version, we want to add interface of SPTAG, but there is a problem. In the old version of SPTAG, we use the function 'SaveIndexToMemory' to implement our own serialization. However, in the current version of SPTAG, we cannot do it like before, so how can we implement serialization now?

tinkerlin commented 5 years ago

How to solve this problem?

MaggieQi commented 5 years ago

@Yukikaze-CZR and @tinkerlin, you can look at the “Dump” and “Load” implementations in Wrappers/src/CLRCoreInterface.cpp.

tinkerlin commented 5 years ago

thx