I am using the
path token to limit the search result to a site, but that is searching the subsites as well. How can I exclude the subsites and search only the content in the root site and a specific subsite?
path:https://domain.com/site/site1 OR https://domain.com/sites/site1/subweb1
but not anything that comes underneath it, like:
https://domain.com/sites/site1/sub2 ... etc
can this be done?