Edit

Share via


New-FASTSearchMetadataCategory

Creates a new category for crawled properties.

Syntax

Default (Default)

New-FASTSearchMetadataCategory
    -Name <String>
    -Propset <Guid>
    [<CommonParameters>]

Description

This cmdlet creates a new category for crawled properties. A category is identified by its name and its property set global unique identifier (GUID).

All crawled properties that are members of a category share the same property set GUID as the category.

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

Examples

EXAMPLE 1 (FAST Server for SharePoint 2010)

C:\PS>$guid = [guid]::NewGuid()
New-FASTSearchMetadataCategory -Name ExampleCategory -Propset $guid

This example creates a category named "ExampleCategory" with a new GUID generated by the system. New crawled properties can then be mapped to this category by specifying the GUID when calling New-FASTSearchMetadataCrawledProperty or Set-FASTSearchMetadataCrawledProperty.

See Set-FASTSearchMetadataCategory for descriptions of category properties.

Parameters

-Name

Applicable: FAST Server for SharePoint 2010

The name of the new category.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Propset

Applicable: FAST Server for SharePoint 2010

The property set Global Unique Identifier (GUID) assigned to this category. A GUID is a 128-bit integer that has a very low probability of being duplicated. The GUID can be specified either in the form of a System.Guid object, or as a 128-bit integer with the format "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx". A crawled property can only be mapped to one category at a time.

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.