milvus-0.5.3
-
Double the transmission speed of search results to the client application through the following updates to gRPC:
- Optimize messages.
- Change the API of generated code.
- Remove compression.
-
Python SDK
- Divide the storage of search result ids and distances into separate arrays, which reduces the API response time.
- Add a new option to retrieve a specific target vector in search results:
id = results.id_array[i][j], distance = results.distance_array[i][j]
. - Add a new option for looping over arrays, which takes much less time if
nq
andtopk
is large.>> for id_list, dis_list in zip(results.id_array, results.distance_array): >> for id, dis in zip(id_list, dis_list): >> print("id={}, distance={}".format(id, dis))
-
Java SDK
- Add keepalive and idleTimeout settings when connecting to Milvus server.
- Now users can retrieve search result ids and distances separately through
getResultIdsList
andgetResultDistancesList
with better performance, or they can retrieve them together as a list ofQueryResult
objects throughgetQueryResultsList
.
-
C++ SDK
- Now C++ SDK uses shared library.
- Add README file.
-
Enhance the search performance of
IVF_SQ8H
.