Consider I have a folder in a SharePoint Library within a Sub site DM. The folder's name is: TEST CLIENT D'ORO
This is my search query:
{searchboxquery} Path:"https://rooturl.sharepoint.com/sites/DM/" ContentTypeId:0x0120D520* ContentTypeId:0x0101* ContentTypeId:0x0120*
Search Input: TEST CLIENT D'ORO
, returns no results.
Search Input: TEST CLIENT D''ORO
, returns results but not the folder.
Search input: TEST CLIENT
, returns the expected results, including the folder.
The Folder only has a Title property. In the second scenario, the returned documents consist of a field ClientName
with value TEST CLIENT D'ORO
, which could explain why the search returned results. But how does it explain that it did not return the folder result with the same query? How can I search with the exact title (including escape characters if required) and return the expected results?
The Expected result: every folder and document whose title (or any other field) contains TEST CLIENT D'ORO
within subsite DM in SharePoint online with url: rooturl.