Export (0) Print
Expand All

Get-FASTSearchMetadataCategory

FAST Search Server 2010
 

Applies to: SharePoint Server 2010

Topic Last Modified: 2010-03-04

Retrieves a crawled property category.

Get-FASTSearchMetadataCategory [[-Name] <String>]

This cmdlet retrieves a category object from the installation. If no name is specified, it retrieves all categories in the system.

A category contains several crawled properties that are grouped together for setting properties that are common to them all.

 

Parameter Required Type Description

Name

Optional

System.String

The name of the category to retrieve. If no category is specified, all categories are returned.

---------------EXAMPLE 1-----------------

Get-FASTSearchMetadataCategory

This example returns all available categories. This is the default behavior if you do not specify any parameters.

---------------EXAMPLE 2-----------------

Get-FASTSearchMetadataCategory -Name SharePoint

This example returns one specific category, the “SharePoint” category.

---------------EXAMPLE 3-----------------

Get-FASTSearchMetadataCategory -Name m*

This example returns all categories with a name that begins with “m”. Matching is case-insensitive.

---------------EXAMPLE 4-----------------

$category = Get-FASTSearchMetadataCategory -Name &quot;Enterprise Crawler&quot;
$category.GetAllCrawledProperties()|ForEach-Object {$_.Name}

This example returns all crawled properties that are mapped to the category named “Enterprise Crawler”. The example first retrieves the category, and then calls the category's GetAllCrawledProperties() function to list its crawled properties. It then iterates over the list of crawled properties and selects the name of each crawled property.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft