Manage search dictionaries

You can use search dictionaries to include or exclude company names to be extracted from the contents of your indexed documents, or you can include or exclude words for query spelling correction.

Manage company name extraction

Note

Beginning on November 15th, 2019, we'll be removing Company Name Extraction from SharePoint in Microsoft 365. This will only impact you if you have configured company name extraction to be surfaced in the classic Enterprise Search Center as a refiner. Learn more about the specifics and other options by reading Changes to company name extraction in SharePoint.

For company name extraction to work, that is, for a company name to be pulled from your content and for it to be mapped to the managed property companies, you have to make sure that:

  • The managed property setting Company name extraction is enabled on the managed property that you want to extract company names from. This setting is available for the managed properties Title, Body and Notes. See also Manage the search schema in SharePoint.

  • The name of the company that you want to extract is in the prepopulated company name dictionary or in the Company Inclusions list.

After you have done this, you can then use the managed property companies to create refiners based on the extracted company name in the Refinement Web Part, on the search results page.

Include company names

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

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Search, select Open, and to open the term store, select Manage Search Dictionaries.

  2. On the Site Settings: Term Store Management Tool page, to expand the Search Dictionaries menu, select the arrow.

  3. Select Company Inclusions, then select the arrow, and then select Create Term.

  4. Enter the name of the company that you want to include in the box that appears.

  5. To add the term to the Company Inclusions list, select anywhere on the page.

Exclude company names

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

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Search, select Open.

  2. To open the term store, select Manage Search Dictionaries.

  3. On the Taxonomy Term Store page, to expand the Search Dictionaries menu, select the arrow.

  4. Select Company Exclusions, then select the arrow, and then select Create Term.

  5. Enter the name of the company that you want to exclude in the box that appears.

  6. To add the term to the Company Exclusions list, select anywhere on the page.

Manage query spelling correction

If you or another user enters a word in a search query that appears to be misspelled, the search results page helps you out by displaying query spelling corrections. These are important words in your indexed documents. This is also known as "Did you mean?".

For example, if you enter a query that contains the word "ampitheater", the query spelling correction would show "amphitheater" if this term is available in many places in your indexed documents. You can add terms such as the one just shown to the Query Spelling Inclusions list, or to the Query Spelling Exclusions list to influence how you want query spelling corrections to be applied or not. It takes up to 10 minutes for any changes to the Query Spelling Inclusions or the Query Spelling Exclusions list to take effect.

Include a term in query spelling corrections

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

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Search, select Open.

  2. To open the term store, select Manage Search Dictionaries.

  3. On the Site Settings: Term Store Management Tool page, to expand the Search Dictionaries menu, select the arrow.

  4. Select Query Spelling Inclusions, then select the arrow, and then select Create Term.

  5. Enter the query spelling that you want to include in the box that appears.

  6. To add the term to the Query Spelling Inclusions, select anywhere on the page.

Exclude a term from query spelling corrections

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

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Search, select Open.

  2. To open the term store, select Manage Search Dictionaries.

  3. On the Site Settings: Term Store Management Tool page, to expand the Search Dictionaries menu, select the arrow.

  4. Select Query Spelling Exclusions, then select the arrow, and then select Create Term.

  5. Enter the query spelling that you want to exclude in the box that appears.

  6. To add the term to the Query Spelling Exclusions list, select anywhere on the page.

Edit query spelling corrections or company names

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

Note

If you have Office 365 Germany, sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.
If you have Office 365 operated by 21Vianet (China), sign in to the Microsoft 365 admin center, then browse to the SharePoint admin center and open the More features page.

  1. Under Search, select Open.

  2. To open the term store, select Manage Search Dictionaries.

  3. On the Site Settings: Term Store Management Tool page, to expand the Search Dictionaries menu, select the arrow.

  4. Depending on which dictionary the term is in, select Company Exclusions, Company Inclusions, Query Spelling Exclusions, or Query Spelling Inclusions.

  5. Double-click the term that you want to edit.

  6. Enter the new name for the term.

  7. To save the edited term, select anywhere on the page.