Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.