milvus-sdk-java
milvus-sdk-java copied to clipboard
Java SDK for Milvus.
特征数据插入问题
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日志会被记录。 
项目主要依赖如下 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:...
In the same test scene,insert retrun specific error message。

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 ?