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.
精彩评论