feat(商城): 提交测试文件

master
wayn 4 years ago
parent 1fa1a3dc52
commit dab74e43f5

@ -86,6 +86,7 @@ public class ElasticController {
// request.add(firstSearchRequest); // request.add(firstSearchRequest);
// request.add(secondSearchRequest); // request.add(secondSearchRequest);
// List<Object> list = baseElasticService.search(request, Object.class); // List<Object> list = baseElasticService.search(request, Object.class);
// 查询
SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
MatchQueryBuilder matchQuery = QueryBuilders.matchQuery("name", "手机"); MatchQueryBuilder matchQuery = QueryBuilders.matchQuery("name", "手机");

Loading…
Cancel
Save