简体   繁体   中英

Modify Solr search query text with some condition

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM