0

We have Business Data service in SharePoint 2016 Search Application. Recently I've been trying to remove crawled properties.

I followed this blog. But I get an error in PS console as

"Cannot convert 'System.Object[]' to the type 'Microsoft.Office.Server.Search.Cmdlet.CrawledPropertyPipeBind' required by parameter 'CrawledProperty'."

Can anyone help me out?

Thanks in Advance

1

What do you mean about "trying to remove crawled properties"? Do you want to remove the mapping of a crawled property or delete the unused crawled properties?

If you want to delete the unused crawled properties, you can go to Central Administration > Manage service applications > Search Service Application > Search Schema > Categories, then edit the category which including the crawled property you want to delete. In the edit page, check the option "Delete all unmapped crawled properties" and click OK.

After removing all mappings from the property you also have to remove it from the search index. Click "Edit/Map Property" in the context menu of a crawled property.

Make sure:

  1. You have removed all mappings for this property.
  2. Do not include values for this property in the search index

Note: Some OOB SharePoint crawled properties cannot be deleted.

you can also refer to below article for more information about "HOW TO DELETE A CRAWLED PROPERTY". The article is for SP 2010, but it still has good information for you:

https://social.technet.microsoft.com/wiki/contents/articles/17437.sharepoint-2010-how-to-delete-crawled-property.aspx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.