如何在不指定距离范围的情况下根据日期字段和距离字段提高 Solr 中的文档分数?

发布于 2024-12-09 18:39:52 字数 122 浏览 4 评论 0原文

我正在构建一个在图块上搜索的查询。我想根据距离和日期字段提高文档分数。可以在不将距离和日期字段限制在一定范围内的情况下实现这一点吗?

如果查询字段是 title 并且 sfield 是 latlon,查询会是什么?

I am constructing a query that searches on the tile. I would like to boost the doc score based on the distance and a date field. Can this be achieved without restricting the distance and date field to a range?

What would the query be if the query field is title and sfield is latlon?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

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

评论(1

那些过往 2024-12-16 18:39:52

提升到“通配符”距离和日期字段,即: [* TO *] ?

boost to 'wildcarded' distance and date fields, i.e: [* TO *] ?

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