分页 Elasticseach 聚合器结果 [英] Paginate Elasticseach aggregator result

查看:28
本文介绍了分页 Elasticseach 聚合器结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 Elasticseach 聚合器查询的 'size' 和 'from' 属性进行分页.

I want to paginate with 'size' and 'from' attributes Elasticseach aggregator query.

这可能吗?

目前我只知道 size 属性 = 0 表示无限结果

Currently I only know the size attribute = 0 for unlimited result

推荐答案

聚合中的分页功能尚未实现.您可以在 facet 中使用 size 和 exclude 特征的组合.

The feature for pagination in aggregation is not implemented yet. You could use the combination on size and exclude feature in facet.

这篇关于分页 Elasticseach 聚合器结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆