Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk-core/src/main/java/io/milvus/v2/utils/VectorUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public SearchRequest ConvertToGrpcSearchRequest(SearchReq request) {

// prepare target, the input could be vectors or string list for doc-in-doc-out
List<BaseVector> vectors = request.getData();
if (vectors.isEmpty()) {
if (vectors == null || vectors.isEmpty()) {
Comment thread
yhmo marked this conversation as resolved.
throw new MilvusClientException(ErrorCode.INVALID_PARAMS, "Target data list of search request is empty.");
}

Expand Down
Loading