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 retrieving data improves ?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.