Narrowing the diagnostic: searchs results are incorrect wen call from communication sites [/edit]
I'm working with SharePoint Online and I'm facing an issue regarding search results.
I have two site collections. Let's say
Using the Search Query Tool (126.96.36.199), I put this search :
Running this query against
/sites/A works. Same query against
/sites/B does not.
However, (and it's puzzling me), the other direction works. Search for
path:"https://mytenant.sharepoint.com/sites/B works against the two collections.
What can explain this behavior?
If it matters, here's the higher picture : we have a site hub (which is /A in my case) and a bunch of sites collections (/B) joined to the hub. All of theses sites are modern team sites. The hub site is a communication site. Each site have a unique "metadata" item in a specific list. Then I want to search for these items using the modern search web parts from the hub site.