Search by exact phrase in SharePoint online

Copper Contributor

arine1901_0-1704851108125.png

The result will give us the content with the title or body that has the keyword as we input in the search box.

  1. When we input more that one word (ex: test sharepoint online),
    (A) the result will give us the content or file with the title or content that has words of "test" or "sharepoint" or "online". 
  2. When we input keyword with quotation marks (ex: "test sharepoint online"),
    (B) the results will give us the content or file with the title or content that has phrase of "test sharepoint online"

But, I want to set, if I input test sharepoint online without quotation marks (case no. 1), the result will give us the content that has exact phrase (result no. B)? Is this possible? and how to configure this?

Thank you

2 Replies
Here is one answer to this from Microsoft: 'When a user searches, Microsoft Search processes the query and parses search intent from larger phrases, using Artificial Intelligence (AI) to learn common superfluous phrases users add to their queries that don't impact their search intent. For example, when a user searches for "how to change my password" we extract the less important words from the query and trigger based on the relevant ones like "change password".' https://learn.microsoft.com/en-us/microsoftsearch/overview-microsoft-search
Here's some more Microsoft documentation about KQL and FQL that may be of value https://learn.microsoft.com/en-us/sharepoint/dev/general-development/building-search-queries-in-shar...