The correct answer is that the 'documentlink' parameter is missing the trailing /*.
It should read as follows:
"Key Text 1" NOT documentlink:"https://XX-my.sharepoint.com/personal/my_account/*"
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm searching SharePoint for specific data using Purview Content Search and my results are being inflated when it keeps adding examples stored in my SharePoint drive, how do I exclude my drive from the scope?
I don't have the option to exclude SharePoint locations when constructing the search, only to add individual SharePoint instead of all (we have hundreds).
I've tried the '-' and NOT operators on the 'File:' and 'documentlink;' flags but they aren't working, can anyone point me in the right direction, thanks.
Examples:
"Key Text 1" NOT documentlink:"https://XX-my.sharepoint.com/personal/my_account"
"Key Text 1" -site:"My Account"
"Key Text 1" -site:"MyLoginId"
I also tried using the - path option but it then excluded all personal SharePoint locations:
"Key Text 1" -path:“https://XX-my.sharepoint.com/personal/my_ID”
The correct answer is that the 'documentlink' parameter is missing the trailing /*.
It should read as follows:
"Key Text 1" NOT documentlink:"https://XX-my.sharepoint.com/personal/my_account/*"