Sometimes I face scenarios inside my SharePoint server 2013 that I cannot understand. Recently I realize the following inside my SharePoint web applications search scope.

Now I have three site collections as follow:-

And I rely on the default search managed service created inside my central administration.

Now I noticed this scenario.

  • Let say I am inside the home page for my http://servername/ site collection, and inside the built-in search box, I typed the word “procedures” then I will get results from the three site collections. But if I went to let say to http://servername/wiki site collection and I type the same word “procedures” then I will only get results from the current site collection http://servername/wiki. So not sure what is causing these scenarios, although this is something I found useful but I am trying to understand how SharePoint implements this internally. So does SharePoint search treat http://servername site collection a parent site collection and the other 2 site collections as its child, so if I am searching from http://servername I will get results from its child http://servername/wiki & http//servername/dept ? thanks
  • 3
    It basically adds a path:yourSiteUrl to the query, hence the experienced behavior Sep 28, 2016 at 13:58
  • @RobertLindgren can you please provide more details what do you exactly mean ?
    – John John
    Sep 28, 2016 at 13:59
  • @RobertLindgren can you adivce more on your comment please?
    – John John
    Sep 29, 2016 at 11:35
  • 1
    I really do not have the time to explain it further I'm afraid Sep 29, 2016 at 13:06
  • 1
    Not really sure what your question is. You've mentioned what you have observed and yes that is what happens. Can you add details about what you are trying to solve?
    – Rothrock
    Oct 3, 2016 at 18:35

1 Answer 1


SharePoint search is using KQL (Keyword Query Language) where query like: author:"john doe" will return items authored by 'John Doe'. By default SharePoint is using site relative results by adding behind the scenes path:siteUrl to return items from the particular site.

You can read more about KQL on the MS site: https://msdn.microsoft.com/en-us/library/office/ee558911.aspx

  • so are you saying that path such as "servername" will cover site collection which have its url as "servername/dept" ???
    – John John
    Oct 4, 2016 at 15:45
  • Not sure about that, it may be that path limits to the particular site collection you might need to do something like: path:servername OR path:servername/dept. Oct 5, 2016 at 7:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.