自适应搜索提升规则
smb 是否可以帮助我理解自适应搜索增强规则机制?或者给一些笔记供阅读。主要问题是添加 boost 规则后,它添加到 searchQuery 没有问题,但在最终查询中没有任何 boost ?我应该怎么做才能将其添加到查询中?
{!edismax tie=0.0}(( (masterBrandNameSearchText_text_nl_be:armani)^1 (masterBrandNameSearchText_text_nl_be:armani*)^0.2 (masterBrandNameSearchText_text_nl_be:*armani)^0.2 (masterBrandNameSearchText_text_nl_be:armani~0.7)^0.1 ((masterBrandNameSearchText_text_nl_be_st:armani)^1)^0.5)^30
我不知道添加此提升的正确方法是什么?
我认为这些提升规则应该添加到最终查询中吗?
If smb could help me to understand Adaptive Search Boost Rules mechanism? Or give some notes to read. The main problem that after adding boost rule it's added to searchQuery with no problems, but in final query there are no any boost? What should I do to add it to query?
{!edismax tie=0.0}(( (masterBrandNameSearchText_text_nl_be:armani)^1 (masterBrandNameSearchText_text_nl_be:armani*)^0.2 (masterBrandNameSearchText_text_nl_be:*armani)^0.2 (masterBrandNameSearchText_text_nl_be:armani~0.7 )^0.1 ((masterBrandNameSearchText_text_nl_be_st:armani)^1)^0.5)^30
I have no idea what way is right to add this boost
Am I right that those boost rule should be added to final query?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题在于,在我们的项目中,隐式使用了 legacyfacetsearchstrategy 。
因此,提出了自适应搜索的功能,但也没有起作用。
为了解决问题,我们在构建查询的最后一步中添加了其他查询。当我们被使用时
The problem was, that on our project LegacyFacetSearchStrategy was used implicitly.
So the functions of Adaptive Search were presented, but were not worked as well.
To solve the problem we added additional query on the last step of building the query. As we were used eDisMax qParser template was as: