SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm configuring a Search Core Results Web Part to return a list of Webs. I want my the results to be constrained to the current web down. So far I have the fixed query set to ContentClass:STS_Web but this returns all webs for the whole site collection (maybe web application but they mean the same thing here).

What do I need to include to restrict search results to the current site?

share|improve this question
up vote 0 down vote accepted

How about path:"http://webapp/site" AND ContentClass:STS_Web?

share|improve this answer
"path" was the property I didn't locate. – Mike H Apr 9 '13 at 3:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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