精准查询
QueryBuilder queryBuilder = QueryBuilders.boolQuery()
.must(QueryBuilders.termQuery("PO Number" + ".keyword", param.get("PO Number")))
.must(QueryBuilders.termQuery("Season" + ".keyword", param.get("Season")))
.must(QueryBuilders.termQuery("year" + ".keyword", param.get("year")));
list = entityDao.groupByBuilder((String) param.get("year") + ConstantsData.ORDER_INDEX_NAME,
(String) param.get("season") + ConstantsData.DETAIL_TYPE_NAME, alias, groupTitle, queryBuilder);
本博客中所有内容为本人自学及总结内容,
仅代表个人观点,如有错误,麻烦大家及时指出并提示我更正。谢谢