1 out of 1 rated this helpful - Rate this topic

Manage query suggestions in SharePoint Server 2013

SharePoint 2013

Published: October 23, 2012

Summary: Learn how to add phrases that you want the system to always or never suggest to users as they perform a query. This article also explains how to enable or disable query suggestions.

Applies to:  SharePoint Server 2013 

Query suggestions, also referred to as search suggestions, are suggested phrases that users have already searched for. Query suggestions appear in a list below the Search Box as a user types a query. By default, the search system automatically creates suggestions for a query when users have clicked the results for that query at least six times. This can be one result, or any combination of results for that query. A query suggestion appears only if it contains at least one of the words that are typed. The search system generates query suggestions daily for each result source and for each site collection. As a result, the automatically generated query suggestions can be different per result source and per site collection.

When you manually add query suggestions using the steps in this procedure, the query suggestions are added on the Search service application level and they will apply to all result sources and all site collections.

In this article:

Before you begin

note Note:

Because SharePoint 2013 runs as websites in Internet Information Services (IIS), administrators and users depend on the accessibility features that browsers provide. SharePoint 2013 supports the accessibility features of supported browsers. For more information, see the following resources:

Before you begin this operation, review the following information about prerequisites:

  • Create a Search service application

Add phrases that are always or never used as query suggestions

To add phrases that are always or never suggested to users as they perform a query, you first have to create one or several text files that contain these phrases, and then import them into the search system. Add each phrase as a separate line in the text file that you create.

Warning Warning:

If you import a text file with phrases for query suggestions, you overwrite any existing query suggestions in the search system.

To add phrases that are always used as query suggestions

  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. Open the Query Suggestion Settings page.

    1. On the home page of the SharePoint Central Administration website, in the Application Management section, click Manage service applications.

    2. On the Manage Service Applications page, click the Search service application.

    3. On the Search Administration Page, in the Queries and Results section, click Query Suggestions. The Query Suggestion Settings page opens.

  3. In the Language for suggestion phrases section, select the language of the query suggestions that you always want to suggest.

  4. In the Always suggest phrases section, click Import from text file. Browse to the file that you want to import and click OK.

  5. Click Save Settings.

note Note:

To edit query suggestions from existing phrases that you always want to suggest to users, click Export to file, update the text file and then re-import it. To remove any existing query suggestion files, upload an empty text file.

To add phrases that are never used as query suggestions

  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. Open the Query Suggestion Settings page.

    1. On the home page of the SharePoint Central Administration website, in the Application Management section, click Manage service applications.

    2. On the Manage Service Applications page, click the Search service application.

    3. On the Search Administration Page, in the Queries and Results section, click Query Suggestions. The Query Suggestion Settings page opens.

  3. In the Language for suggestion phrases section, select the language of the query suggestions that you never want to suggest.

  4. In the Never suggest phrases section, click Import from text file. Browse to the file that you want to import and click OK.

  5. Click Save Settings.

note Note:

To edit or remove query suggestions from existing phrases that you always or never want to suggest to users, click Export to text file, update the text file and then re-import it.

Enable or disable query suggestions

Query suggestions are turned on by default. The following steps explain how to turn query suggestions on or off.

To enable or disable query suggestions

  1. Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. Open the Query Suggestion Settings page.

    1. On the home page of the SharePoint Central Administration website, in the Application Management section, click Manage service applications.

    2. On the Manage Service Applications page, click the Search service application.

    3. On the Search Administration Page, in the Queries and Results section, click Query Suggestions. The Query Suggestion Settings page opens.

  3. In the Search Suggestions section, do one of the following:

    1. To enable query suggestions, check the Show search suggestions check box.

    2. To disable query suggestions, clear the Show search suggestions check box.

  4. Click Save Settings.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.