Question

I'm creating user profile properties and making them searchable. But now, I need to set a last property of the Crawled Property. So how can I check the "Include values for this property in the search index" on a Crawled Property WITH C#??? It's located under the "Mappings to managed properties" section.

Was it helpful?

Solution

I've found a solution. After you link the mapped property to the crawled property, you need to update the crawled property:

crawledProperty.IsMappedToContents = true;
crawledProperty.Update();

And then it should work...

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top