Promoting Search Results

Betsa 1 Reputation point
2022-12-04T18:59:04.283+00:00

Hi,

I like to change the ranking results for the search function in the main hub site and all other sites. We host many files and I like to rank my search results by having the top results assigned to when the "Filename:{SearchBoxQuery}"

I have tried writing a new query and I removed the fire conditions (to basically gets applied to any search keyword), and then tried both "Add promoted results" and "change ranked results" but I can't get it to work.

Please let me know if there is anything that I can do make this work

Thanks.

Betsa

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Xuyan Ding - MSFT 7,601 Reputation points
    2022-12-06T09:11:52.73+00:00

    Hi @Betsa ,

    Could you provide some screenshots about your configured Query Rule settings? Otherwise I can't know your situation.
    Below is my test:
    267722-image.png 267676-image.png 267548-image.png 267723-microsoftteams-image-29.png

    Confirm the information with you:

    • What level are you setting up at? Is it done at the site or site collection or at the entire tenant level(in SharePoint admin center)?
      267713-microsoftteams-image-30.png 267693-microsoftteams-image-31.png
    • If you set query rules in SharePoint Admin Center,if you've only tested the main hub site and it doesn't work, are the other associated sites working for it? I'm asking this because query rules with promoted results are deprecated for organization scoped queries.
      You can see a related case like this: SharePoint Search - Promoted results - Query rules
    • Make sure you have selected the appropriate search source.
      eg.We usually use Local SharePoint Results as source, you can try to switch to Documents source.
      267665-image.png

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.