1

I am indexing Sitecore items into Azure and performing the Azure search via Azure functions.

I want to create a new Scoring Profile into Sitecore and use it during the search. I am not getting much help from google on this topic. I tried doing it in many ways however didn't get the proper solution. Therefore, It will be helpful if anyone can share any references like a blog, post, etc. which can guide me to achieve scoring based on full-text search.

Thanks in advance.

8
  • To clarify: do you mean behavioural profiles? (the ones created in the Marketing Control Panel)? Do you want to apply scores during search or do you want to filter results based on previously applied scores?
    – Mark Lowe
    Dec 6 '19 at 8:27
  • I want to apply scores during the search based on the text user enters for the search. My requirement is, I want to fetch documents matched in the title field more relevant than documents that matched in the description field. Hope this clarifies.. Dec 6 '19 at 12:12
  • is it not something you can get by Boosting through the code? I am not sure but the azure scoring profile will work on the item level only. Dec 6 '19 at 12:32
  • @Mahendra Shekhawat - And that's the challenge I am facing here. How to boost multiple items based on the search text. I have 3 fields 1) Title 2) Summary 3) Description and I want to sort the results by the priority of search terms/ phrase matches by Title, Summary and Description. Dec 6 '19 at 14:00
  • I got this work at azure end. But i am unable to add new scoring profile in the Sitecore config. Currently when i do the index rebuild from Sitecore, it wipes out all the scoring profile created on the azure end.So now the challenge is, how can define new scoring profile with title & description fields weight at Sitecore config? Dec 8 '19 at 19:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.