本文介绍了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补丁 SOLR-2242 来获取Facet的非重复计数.
总计数有助于分页.
You need to apply Solr Patch SOLR-2242 to get the Facet distinct count.
The total count can be helpful to paginate.
这篇关于Solr小面分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!