Skip to content

Commit

Permalink
make op debuggable with broken jdpa behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
jshook committed Mar 22, 2024
1 parent 6677269 commit 623087a
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -17,6 +17,8 @@
package io.nosqlbench.adapter.milvus.ops;

import io.milvus.client.MilvusServiceClient;
import io.milvus.param.R;
import io.milvus.param.RpcStatus;
import io.milvus.param.index.CreateIndexParam;

public class MilvusCreateIndexOp extends MilvusBaseOp<CreateIndexParam> {
Expand All @@ -26,6 +28,7 @@ public MilvusCreateIndexOp(MilvusServiceClient client, CreateIndexParam request)

@Override
public Object applyOp(long value) {
return client.createIndex(request);
R<RpcStatus> result = client.createIndex(request);
return result;
}
}

0 comments on commit 623087a

Please sign in to comment.