Solr: How to dynamically elevate limited number of documents? Has QueryElevationComponent to be modified?

半腔热情 提交于 2019-12-04 12:41:55

I would have one of these two approaches:

Both these methods can produce unpredictable results (since the relevance model in Solr is very complex). However with the function query you are able to fine tune a bit more.

Found a solution using two separate requests.

First boost documents by that score field. Use pagination to limit the result. Take the unique document ids from the result page and boost these ones explicitly within a new request.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!