List<QueryConstraint> queryConstraints = new ArrayList<QueryConstraint>();
queryConstraints.add(new KeywordQueryConstraint("name", "ace"));
Pagination pagination = new Pagination(start, count);
SearchQuery searchQuery = new SearchQuery(queries, queryConstraints, pagination);
ResultList resultList = client.search(new SearchRequest(modelId, searchQuery));
Assert.assertNotNull(resultList);
Assert.assertNotNull(resultList.getMetadata());