update:升级milvus版本

This commit is contained in:
divenswu 2022-03-22 13:50:09 +08:00
parent 5c1d08ee21
commit f57f7710e8
2 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public class MilvusSearchEngine implements SearchEngine {
SearchResultsWrapper wrapper = new SearchResultsWrapper(response.getData().getResults());
for (int i = 0; i < features.length; ++i) {
List<SearchDocument> documents = new ArrayList<>();
List<SearchResultsWrapper.IDScore> scores = wrapper.GetIDScore(i);
List<SearchResultsWrapper.IDScore> scores = wrapper.getIDScore(i);
for(SearchResultsWrapper.IDScore scoreId : scores){
long primaryKey = scoreId.getLongID();
float score = scoreId.getScore();