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

The CrawledProperty objects in Microsoft.Office.Sharepoint.Services.Administration doesn't seem to have any way of doing this...anyone know of a workaround? I found a few postings on the net about this and the only post I've seen on MSDN is this: http://social.technet.microsoft.com/Forums/en-US/sharepointsearch/thread/ff47669b-acf3-472f-9e5c-d577f5cf52c4/

share|improve this question
add comment

2 Answers

For me this works:

CrawledProperty.IsMappedToContents = true
CrawledProperty.Update()
share|improve this answer
add comment

From MSDN:
How to: Map a Crawled Property to a Managed Property http://msdn.microsoft.com/en-us/library/aa981343%28v=office.12%29.aspx

Creating and Exposing Managed Properties in the Advanced Search Page of SharePoint Server Enterprise Search http://msdn.microsoft.com/en-us/library/bb428648%28v=office.12%29.aspx

(NOTE) These are for SharePoint 2007, but I used the article to do basically the same thing in 2010

share|improve this answer
    
Actually- Just noticed that you were looking for how to add "Include values for this property in the search index". I believe the property you were looking for was: PutInPropertyBlob => msdn.microsoft.com/en-us/library/… –  Jason Rastovski Feb 23 '11 at 21:31
add comment

Your Answer

 
discard

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