milvus-sdk-java icon indicating copy to clipboard operation
milvus-sdk-java copied to clipboard

Java SDK for Milvus.

Results 99 milvus-sdk-java issues
Sort by recently updated
recently updated
newest added

milvus version 2.0.2 java sdk version 2.0.4 代码: //插入milvus List fields = new ArrayList(); fields.add(new InsertParam.Field("features", DataType.FloatVector, featureLists)); fields.add(new InsertParam.Field("date", DataType.Int64, dateLongList)); fields.add(new InsertParam.Field("id", DataType.Int64, dateLongList)); InsertParam insertParam = InsertParam.newBuilder()...

标量字段query查询时, 查询结果为空时报会打印error日志 ERROR 16824 --- i.m.client.AbstractMilvusGrpcClient : QueryRequest returns nothing: empty collection or improper expression 请问, 能不能查结果为空的情况给个单独日志, 与empty collection or improper expression分开, 或者调整日志级别不要给error。线上打error日志会被记录。 ![image](https://user-images.githubusercontent.com/35246719/184311997-d380146e-b3fd-4b0c-8966-9d8f8283cbcb.png)

项目主要依赖如下 spring-boot:2.3.7-RELEASE milvus-sdk-java :2.1.0-beta4 grpc-core:1.34.1 grcpc-client-spring-boot-autoconfigure: 2.12.0.RELEASE milvus配置类 ``` @Configuration public class MilvusConfig { @Value("${milvus.host}") private String host; @Value("${milvus.port}") private Integer port; @Bean public MilvusServiceClient milvusServiceClient() { ConnectParam connectParam =...

when query a not existent data, the response is "queryResultsR: R{exception=Exception: emptly collection, status=26, data=null}", it's too scary, because I've really encountered this kind of situation. suggeste to correct the...

final MilvusServiceClient milvusClient = new MilvusServiceClient( ConnectParam.newBuilder() .withHost("***.***.***.***") .withPort(19531) .build()); boolean exist = milvusClient.hasCollection( HasCollectionParam.newBuilder().withCollectionName(tableName).build() ).getData(); when i execute this code,the response have a exception : status -3 io.grpc.StatusRuntimeException: UNIMPLEMENTED:...

![image](https://user-images.githubusercontent.com/103410837/180694780-1856a588-61b2-481d-bc68-f0c431782824.png)

https://github.com/milvus-io/milvus-sdk-java/blob/fbfba7975746dff19649b03ef5d64461cb562050/src/main/java/io/milvus/param/index/CreateIndexParam.java#L216

Does milvus-sdk search support Cosine similarity ?