Reputation: 820
I have integrated Solr search with my ektron site. And for search functionality I used Search framework API. I am getting the search results as well. Now I want my search result to display in some particluar order. ie. the result item with target url that contains the search text should come first, followed by some other contents and so on. I came to know that by modifiying the query text that passing to the Solr can return the desired result. eg : title:testkeyword
But I can't do the same with target url and and cant boost up items. Do any know how to modify the query text to get the desired result.
Upvotes: 0
Views: 155
Reputation: 192
Use dismax and edismax to get better results ,
http://wiki.solarium-project.org/index.php/V3:EDisMax_component
http://wiki.solarium-project.org/index.php/V2:DisMax_component
Upvotes: 0