locked
Thesaurus in Sharepoint Online RRS feed

  • Question

  • Hi

    I would like to use the power of synonyms in the search results

    I understand that "Other Labels" is useful only for when selecting the tags . however I would like for it to be useful in the search results. 

    From what I've read the Thesaurus implementation is not applicable to SharePoint Online

    Is that true? is there an alternative solution?

    Thanks

    Gali


    Gali Gonen

    Sunday, June 2, 2019 4:25 PM

Answers

  • Hi Gali,

    It’s true that the link you provide doesn't apply to SharePoint Online since you cannot import a thesaurus to your online tenant.

    As a workaround, you can create Query Rules.

    1. In SharePoint Online, go to Classic SharePoint admin center > search > Manage Query Rules. 

    2. Select a source and then click “New Query Rule”.

    3. Choose "Query Matches Keyword Exactly" under Query Conditions and enter each term that you want to be included as a synonym separated by semi-colons.

    4. Click "Change ranked results by the changing the query" under Actions and add “WORDS(xxx, Synonyms for xxx)” in the input box of “Query text” and save the rule.

    You can also create custom query variables via JavaScript.

    Please refer to the links below for detailed information.

    Search for Synonyms in Office 365 SharePoint Online.

    A better way for search synonyms in SharePoint Online/2013/2016.

    Best regards,

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by Gali Gonen Thursday, June 6, 2019 8:51 AM
    Monday, June 3, 2019 6:21 AM

All replies

  • Hi Gali,

    It’s true that the link you provide doesn't apply to SharePoint Online since you cannot import a thesaurus to your online tenant.

    As a workaround, you can create Query Rules.

    1. In SharePoint Online, go to Classic SharePoint admin center > search > Manage Query Rules. 

    2. Select a source and then click “New Query Rule”.

    3. Choose "Query Matches Keyword Exactly" under Query Conditions and enter each term that you want to be included as a synonym separated by semi-colons.

    4. Click "Change ranked results by the changing the query" under Actions and add “WORDS(xxx, Synonyms for xxx)” in the input box of “Query text” and save the rule.

    You can also create custom query variables via JavaScript.

    Please refer to the links below for detailed information.

    Search for Synonyms in Office 365 SharePoint Online.

    A better way for search synonyms in SharePoint Online/2013/2016.

    Best regards,

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    • Marked as answer by Gali Gonen Thursday, June 6, 2019 8:51 AM
    Monday, June 3, 2019 6:21 AM
  • Hi Gali,

    Is there any progress on this issue?

    If you find any replies helpful to you, please remember to mark them as answers. 

    If you have solved the problem yourself, you can reply the solution and mark it as the answer. 

    It will help others who meet the similar question in this forum. 

    Thank you for your understanding.

    Best regards,

    Chelsea Wu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Thursday, June 6, 2019 2:54 AM