Solr小面分页 [英] Solr facet pagination

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

问题描述

我如何在Solr中进行分面计数分页?我知道我有facet.offset来跳过记录,但是我怎么知道有该分面的总记录有多少?

How in Solr I can do pagination over a facet count?, I know that I have the facet.offset to skip records, but how I know how many total records has the facet?

推荐答案

您需要应用Solr补丁

You need to apply Solr Patch SOLR-2242 to get the Facet distinct count.
The total count can be helpful to paginate.

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

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