Commit 3d7c51dc authored by shiyu's avatar shiyu

es随机查询,过滤数据

parent 08a645e4
......@@ -66,7 +66,7 @@ public class ElasticsearchUtil {
logger.info("====== getResponse : {}", searchResponse);
for (Hit<ItemOfEs> itemOfEsHit : hitList) {
ItemOfEs itemOfEs = itemOfEsHit.source();
logger.info("[data] id : {}, item : {}", itemOfEs.getCoin_id(), itemOfEs);
logger.info("[data] id : {}, item : {}", itemOfEs.getId(), itemOfEs);
}
} catch (Exception e) {
e.printStackTrace();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment