Does milvus support search data by json field condition?
Opened this issue · 2 comments
king1302217 commented
Data in milvus has two fields, eg: id: string, meta: json. meta eg: {"name":"sam", "age":18}
Does milvus support search data by json field condition?
eg:
SearchParam.Builder builder = SearchParam.newBuilder()
.withCollectionName(collectionName)
.withMetricType(metricType)
.withTopK(searchLimit)
.withVectors(vectors)
.withVectorFieldName(vectorField)
.withExpr("meta.name == 'sam'");
R search = milvusServiceClient.search(builder.build());
xiaofan-luan commented
it should be meta["name"]="sam"
xiaofan-luan commented