We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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());
The text was updated successfully, but these errors were encountered:
it should be meta["name"]="sam"
Sorry, something went wrong.
see https://milvus.io/docs/use-json-fields.md
No branches or pull requests
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());
The text was updated successfully, but these errors were encountered: