使用group by和IN条件进行弹性搜索

时间:2017-02-20 04:21:05

标签: elasticsearch

如何将以下MySQL命令转换为Elasticsearch查询?

select chl_lvl2_code,chl_lvl2_nm from channel where chl_lvl1_code IN ('Retail','wholesale') group by chl_lvl2_code

0 个答案:

没有答案