如何在elasticsearch spring boot中查询sum groupby?

jogvjijk  于 2021-06-14  发布在  ElasticSearch
关注(0)|答案(0)|浏览(221)

我的spring boot查询看起来像

"Select movie as key,sum(grossCollection) as value from TheaterMovie  " +
            "group by   movie order by sum(grossCollection) desc"

如何在SpringBoot的elasticsearch中编写以下查询?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题