Solr 在 stats.field 上排除?

发布于 2024-11-28 06:16:09 字数 214 浏览 2 评论 0原文

可以标记特定过滤器并在分面时排除这些过滤器。在进行多选分面时通常需要这样做。

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技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

意中人 2024-12-05 06:16:09

建议关心此问题的任何人对此问题进行投票发布到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!

灯角 2024-12-05 06:16:09

是的。使用 stats=true&stats.field=price

Yes.Use stats=true&stats.field=price

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文