I have a site called abcd.com. in this site i have 2 minimal subsites in it (A and B).
search page exists in parent site that is abcd.com only.
when i click any link inside A or B site then my URL is abcd.com/A or abcd.com/B.
after navigating to A site when i search , search results should display within A or B only.
if my URL in browser abcd.com/A or abcd.com/B site and if am searching then serach results should be display from abcd.com/A or abcd.com/B only not inlcude all.