// 页标
sourceBuilder.from((interfaceDTO.getPageIndex() - 1) * interfaceDTO.getPageSize());
// 页数
sourceBuilder.size(interfaceDTO.getPageSize());
// 获取超过1w条数据,需要加上track_total_hits: true ,不然只能显示出9999条
sourceBuilder.trackTotalHits(true);
java.lang.IllegalArgumentException: mapping source must be pairs of fieldnames and properties definition.
脚本
先在clickhouse建表和库
clickhouse常用操作命令