如何根据Solr中的顺序过滤结果? [英] How to filter results based on order in Solr?
本文介绍了如何根据Solr中的顺序过滤结果?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在像这样选择的n个文档中进行切面
I need to facet inside n documents which are selected like
... ORDER BY something DESC LIMIT 100
Solr可能吗?怎么样?
Is that possible with Solr? How?
推荐答案
AFAIK不,不支持/未实现.构面并不是真正的统计",而是对最终用户的指导.想像一下自己浏览多面界面时看到的面,只要您更改排序顺序或分页,面就会改变.如果这样进行,多面浏览将毫无用处.
AFAIK no, that's not supported / implemented. Facets aren't really meant to be "stats" but a guidance to the end-user. Picture yourself browsing a faceted interface and seeing facets change whenever you change sort order or paging. Faceted browsing would be useless if it worked like that.
我认为对于 StatsComponent ,这将是一个不错的功能.
I think this would be a nice feature for the StatsComponent though.
这篇关于如何根据Solr中的顺序过滤结果?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文