Create a Custom Metadata Category
Scenario/Problem: You want to create a metadata category for custom crawled properties.
Solution: Use the New-SPEnterpriseSearchMetadataCategory
cmdlet.
Creating a metadata category enables you to organize your custom crawled properties. This makes managing custom search configurations easier. Creating a new category first enables you to use it when generating your crawled properties. You need to provide an Enterprise Search Service application reference, as shown in Listing 13.8.
$ssApp = Get-SPEnterpriseSearchServiceApplication-Identity 81aedaf7-704c-47f4-8173-5e99a7495ac3New-SPEnterpriseSearchMetaDataCategory -Name "Custom Properties"-SearchApplication $ssApp ...
Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.