public void RefreshIndex(ulong collectionId, long keyId) { var ixFileName = Path.Combine(Dir, string.Format("{0}.{1}.ix", collectionId, keyId)); var vecFileName = Path.Combine(Dir, string.Format("{0}.vec", collectionId)); var index = DeserializeIndex(ixFileName, vecFileName); _index.Replace(collectionId, keyId, index); }
public void RefreshIndex(ulong collectionId, long keyId, VectorNode index) { _index.Replace(collectionId, keyId, index); }