February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You want to create a metadata managed property.
Solution: Use the New-SPEnterpriseSearchMetadataManagedProperty cmdlet.
Instead of crawling content to generate a managed property, you can use this search cmdlet to create a managed property entry within a search service application. This makes replicating search configurations within various environments (development, staging, production, and so on) easier. Listing 13.14 shows sample command lines.
Listing 13.14. Creating a New Metadata-Managed Property
$ssApp = Get-SPEnterpriseSearchServiceApplication-Identity 81aedaf7-704c-47f4-8173-5e99a7495ac3$category = Get-SPEnterpriseSearchMetadataCategory-SearchApplication $ssApp -Identity ...
Read now
Unlock full access