From dab74e43f52325aa7cdaf056a6f437b242166571 Mon Sep 17 00:00:00 2001 From: wayn <1669738430@qq.com> Date: Thu, 15 Oct 2020 21:04:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=95=86=E5=9F=8E):=20=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/wayn/admin/api/controller/shop/ElasticController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/waynboot-admin-api/src/main/java/com/wayn/admin/api/controller/shop/ElasticController.java b/waynboot-admin-api/src/main/java/com/wayn/admin/api/controller/shop/ElasticController.java index a5c683b..3749cac 100644 --- a/waynboot-admin-api/src/main/java/com/wayn/admin/api/controller/shop/ElasticController.java +++ b/waynboot-admin-api/src/main/java/com/wayn/admin/api/controller/shop/ElasticController.java @@ -86,6 +86,7 @@ public class ElasticController { // request.add(firstSearchRequest); // request.add(secondSearchRequest); // List list = baseElasticService.search(request, Object.class); + // 查询 SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder(); BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); MatchQueryBuilder matchQuery = QueryBuilders.matchQuery("name", "手机");