Solr 在 stats.field 上排除?
可以标记特定过滤器并在分面时排除这些过滤器。在进行多选分面时通常需要这样做。
stats.field 是否有类似的可能?
stats.field={!ex=foo}price // does not work
我有一个价格滑块,我需要最高价格,就像未设置价格过滤器一样。
One can tag specific filters and exclude those filters when faceting. This is generally needed when doing multi-select faceting.
Is something similar possible for the stats.field?
stats.field={!ex=foo}price // does not work
I have a price slider and I need the max price as if the price filter is not set.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
建议关心此问题的任何人对此问题进行投票发布到Apache Solr Jira 站点。 (需要免费的 Apache 帐户。)如果您是 Solr 开发人员并希望编写此功能增强的代码,我们向您致敬!
Anyone concerned with this question/issue is suggested to go vote up this issue posted to the Apache Solr Jira site. (Free Apache account required.) If you are a Solr developer and wish to work on coding this feature enhancement, we salute you!
是的。使用 stats=true&stats.field=price
Yes.Use stats=true&stats.field=price