开发者

Solr remove ranking or modify ranking feature

I want to optimise my Solr engine. I don't want ranked results. I just want all docs which match my query is there any way I can remove it . So that retri开发者_Python百科eving data improves ?


There is no need to remove relevancy ranking to achieve what you want.

By setting the rows parameter to the same number as the numfound you will retrieve all documents matching your query. http://url-to-some-server/solr/select?q=somequery&rows=200

if you want the documents sorted in another way than by relevance, just add a &sort=somefield desc where somefield is a sortable field.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜