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
@Test(description = "queryByIds",groups = {"Smoke"}) public void queryByIds(){ QueryResp query = milvusClientV2.query(QueryReq.builder() .collectionName(CommonData.defaultFloatVectorCollection) .consistencyLevel(ConsistencyLevel.STRONG) .outputFields(Lists.newArrayList("*")) .ids(Lists.newArrayList(1,2,3,4)) .filter( " fieldInt64 in [10] ") .build()); for (QueryResp.QueryResult queryResult : query.getQueryResults()) { System.out.println("查询结果fieldInt64:"+queryResult.getFields().get("fieldInt64")); } Assert.assertEquals(query.getQueryResults().size(),4); }
The text was updated successfully, but these errors were encountered:
fixed, ids is only used when filter is null. will use filter first if it's specified
Sorry, something went wrong.
nianliuu
No branches or pull requests
The text was updated successfully, but these errors were encountered: