Quantcast
Viewing all articles
Browse latest Browse all 10096

Use common denominators in KQL queries in SharePoint Result Source query text

I have a query like this 

site: tenant.sharepoint.com/sites/site1 OR site: tenant.sharepoint.com/sites/site2  

Number of sites are large and therefore my query is quite large.Due to the limit of 4096 characters in result source query, I want to group/ use common denominators to reduce my query. 

I'm thinking of using something like below to extract the common query text out as a common denominator and join the rest of the unique query text using OR operator. I've tried several options, but not able to get it done yet. 

site: tenant.sharepoint.com/sites(site1 OR site2)

site: tenant.sharepoint.com/sites{\site1 OR \site2} etc...

Is this possible by any means? I even put some of these query text in to Site Collection property bag and load it from there and use it as variables, but still it didn't fix my issue. 

Thanks and Best Regards,


Supun


Viewing all articles
Browse latest Browse all 10096

Trending Articles