Set-FASTSearchMetadataCategory

Updates the settings of a crawled property category.

Syntax

Set-FASTSearchMetadataCategory
   -Category <Category>
   [-MapToContents <Boolean>]
   [-DiscoverNewProperties <Boolean>]
   [-NewName <String>]
   [<CommonParameters>]
Set-FASTSearchMetadataCategory
   -Name <String>
   [-MapToContents <Boolean>]
   [-DiscoverNewProperties <Boolean>]
   [-NewName <String>]
   [<CommonParameters>]

Description

This cmdlet changes the settings of a crawled property category. A category is a group of crawled properties, and the properties of the category control the default behavior of the member crawled properties.

If MapToContents is set to "true" on a crawled property category, new crawled properties added to a category are mapped to the "content" full text index. The names of the crawled properties mapped to the "content" full text index are added to the crawledpropertynames managed property. You can override this action by setting the crawled property's IsMappedToContents parameter to "false".

You can call the cmdlet with either the name of the category (Name parameter), or with a category object (Category parameter).

You can also use the cmdlet to rename a category.

You can only map a crawled property to one category at a time.

For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (http://go.microsoft.com/fwlink/?LinkId=163227).

Examples

---------------EXAMPLE 1----------------- (FAST Server for SharePoint 2010)

C:\PS>Set-FASTSearchMetadataCategory -Name Titles -DiscoverNewProperties 1 -MapToContents 1

With this example, all new crawled properties for the category "Titles" are automatically discovered and added to the category. A crawled property is considered a member of the category if it has the same property set as the category.

This example also sets MapToContents so that new crawled properties are mapped to the "content" full text index. If you do not want a newly discovered crawled property made available through the full text index, override this action by setting the specific crawled property's IsMappedToContents parameter to false.

---------------EXAMPLE 2----------------- (FAST Server for SharePoint 2010)

C:\PS>Set-FASTSearchMetadataCategory -Name ExtendedTitle -Newname Titles

This example changes the name of the category "ExtendedTitle" to "Titles".

Required Parameters

-Category

Specifies the category to be changed.

Type:Category
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010
-Name

The name of the category to update.

Type:String
Aliases:CategoryName, N
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

Optional Parameters

-DiscoverNewProperties

If this parameter is set to true, previously unknown crawled properties mapped to this category (having the same property set identifier) are created and added to the category.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010
-MapToContents

If this parameter is set to true, all newly created or discovered properties (if automatic discovery is enabled) are added to the "content" full text index.

The name of each crawled property is added to the "crawledpropertynames" managed property.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010
-NewName

The new name for the category.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010