0

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/

2 Answers 2

3

For me this works:

CrawledProperty.IsMappedToContents = true
CrawledProperty.Update()
1

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

1
  • 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/… Commented Feb 23, 2011 at 21:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.