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 can get results with simple text queries but i need to limit the results for a specific content-type. What should i do?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

you can create a scope in the Search Service Administration based on your content type or add it as a clause to the query i.e.

foo AND ContentType:"My Content Type Name"
share|improve this answer
    
Thank you for quick answer. –  onatm Mar 15 '12 at 12:57
    
I have a question related to this: What should i do if i need to add a column of that content type to query? –  onatm Mar 15 '12 at 13:04
    
that's really a whole other question but check this out: sharepointmetadataandclassification.typepad.com/blog/2010/01/… –  GavinB Mar 15 '12 at 22:26

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.