Change settings for the Search Box Web Part

The Search Box Web Part shows a text box where users can enter words or phrases to search for information. By default, the Search Box Web Part is used on the home page for the Search Center (default.aspx), and all default search results pages (Everything, People, Conversations, and Videos).

As a SharePoint Online administrator, you can change settings in the Search Box Web Part. You can:

  • Change where the search results should be displayed — for example, show results in a custom Search Results Web Part or a custom search results page.
  • Turn off query suggestions and people suggestions.
  • Show links to a search preference page and an advanced search page.
  • Change the display template that is used for the Web Part.
What do you want to do?


Change where search results are displayed

  1. On the Search Center site home page, click the Settings menu, and then click Edit Page.
  2. In the Web Part, click the Search Box Web Part Menu arrow, and then click Edit Web Part.
  3. In the Search Box tool pane, under Properties for Search Box, expand Which search results page should queries be sent to.
  • To use the settings that are defined on the Search Settings page, select the Use this site's Search Settings check box.
  • To override the settings that are defined on the Search Settings page, clear the Use this site's Search Settings check box.
  • To show search results in a Web Part on the page, in the section Send queries to other Web Parts on this page, select a Web Part.

 Note    If there are no other Web Parts on a page, search results will be sent to the search results page that is specified on the Search Settings page.

  • To send queries to a different search results page, select Send queries to a custom results page URL, and then type the URL of the custom search results page.
  1. Click OK.

Top of Page Top of Page

Change settings for query suggestions, people suggestions, and personal favorites results

Personal favorites results are suggestions based on search results that the user has clicked before. Query suggestions are turned on by default.

As a SharePoint Online administrator, you can turn off or on query suggestions, people suggestions, and personal favorites results, or edit the different settings for query suggestions.

  1. On the Search Center site home page, click the Settings menu, and then click Edit Page.
  2. In the Web Part, click the Search Box Web Part Menu arrow, and then click Edit Web Part.
  3. In the Search Box tool pane, under Properties for Search Box, expand the Query Suggestions section.
  • To turn off query suggestions, clear the Show suggestions check box.
  • To change how many query suggestions to show, type the maximum number in the Number of query suggestions box.
  • To change how many characters the user must type before query suggestions are shown, edit the number in the Minimum number of characters box.
  • To change how many milliseconds elapse before query suggestions are shown, edit the number in the Suggestions delay (in milliseconds) box.
  • To change how many query suggestions are shown under the text Are you looking for these again? in the search results, change the value for Number of personal favorites: Personal favorite results are based on search results that the user has clicked before. To disable personal favorite results, clear Show personal favorite results.
  • To turn on people name suggestions, select Show people name suggestions.
  1. Click OK.

Top of Page Top of Page

Show links or change the display template

  1. On the Search Center site home page, click the Settings menu, and then click Edit Page.
  2. In the Web Part, click the Search Box Web Part Menu arrow, and then click Edit Web Part.
  3. In the Search Box tool pane, under Properties for Search Box, expand the Settings section:
  • To show a link to a search preference page, select Show preferences link.
  • To show a link to an advanced search page, select Show advanced link, and then in the Advanced search page URL box, type the URL of the advanced search page that you want to link to.
  • To apply another display template, in the Search box control Display Template list, select the display template that you want to apply to the Web Part.
  • Select the Make the search box have focus when the page is loaded check box so that users can immediately type a query in the search box when the page is loaded without first having to click the search box. This option is selected by default.
  1. Click OK.

Top of Page Top of Page

See also:

 
 
Applies to:
SharePoint Online Enterprise (E1), SharePoint Online Enterprise (E3 & E4), SharePoint Online Midsized Business, SharePoint Online operated by 21Vianet - Enterprise (E1 & E2), SharePoint Online operated by 21Vianet - Enterprise (E3 & E4), SharePoint Online operated by 21Vianet - Midsized Business, SharePoint Online operated by 21Vianet - Small Business, SharePoint Online Small Business