No suggested search results returned in search box on SharePoint online modern team site page. SharePoint start page and libraries provides suggested results

Milan Chauhan 6 Reputation points
2023-06-13T21:25:46.0733333+00:00

I am using SharePoint Online modern team site and using out of box Modern search. When on site page if any text is added in out of box search box, no suggested results are shown in popup. Though previously accessed documents based on history, popup shows documents. Same for SharePoint search on hub pages. But when searching on document library or SharePoint site page, it returns suggested results in popup window under search box.

Well, looking at query request in debugger tool, search box in document library and SharePoint start page sends query request to fetch results(autocomplete). However search box on site pages do not send such request to get results.

Question is - Is it desired experience that site page do not get refined suggested results or it is an issue in site or known issue from Microsoft?

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

1 answer

Sort by: Most helpful
  1. Yanli Jiang - MSFT 31,606 Reputation points Microsoft External Staff
    2023-06-14T09:47:13.1333333+00:00

    Hi @Milan Chauhan ,

    Query spelling suggestions are words that appear below the search box as a user types a query. SharePoint automatically creates query suggestions from frequently entered queries that resulted in a click on a search result. For example, if you've repeatedly entered the query word "coffee" and then clicked a search result each time, "coffee" automatically becomes a query suggestion.

    To create query suggestions in SharePoint search:

    Go to More features in the SharePoint admin center, and sign in with an account that has admin permissions for your organization.

    Under Search, select Open.

    On the search administration page, select Query Suggestion Settings.

    Open a text editor of your choice, and enter a list of terms that you want the system to always suggest to users. Only add one term per line to the text file, and don't mix languages in the text file.

    Save the text file to a location that's accessible from SharePoint.

    To import a list of query suggestions to SharePoint search, go to Always suggest phrases > Import from text file. When you import query suggestions, any existing ones will be overwritten.

    Browse to the file that you want to import.

    Go to Language for suggestion phrases, and select the processing language of your query suggestions. It should match the language of the terms in the text file.

    Select Save Settings.

    06147

    For more details, please refer to:

    https://learn.microsoft.com/en-us/sharepoint/manage-query-suggestions


    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 Answers by the question author, which helps users to know the answer solved the author's problem.