1

I want to search all of my Sites for a special Content Type with a Keyword Query. Any suggestions?

1 Answer 1

2

You will need to create a custom Managed Property in your Search Service Application that maps to the crawled property ows_ContentType.

Refer here and here for some help with that. (You can ignore the more advanced instructions on how to then create a refinement filter based on that, unless you want a refinement filter...) Be sure to run a full crawl after setting up the mapping.

Then you can use a property restriction keyword query for that managed property. For instance, if you named your managed property "ContentTypeName", you could use the property restriction keyword query:

ContentTypeName:"my special content type"
0

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.