Share via


Set-FASTSearchMetadataCrawledProperty

Updates the properties of a crawled property.

Syntax

CrawledProperty

Set-FASTSearchMetadataCrawledProperty
    -CrawledProperty <CrawledProperty>
    [-Propset <Guid>]
    [-VariantType <Int32>]
    [-IsMappedToContents <Boolean>]
    [<CommonParameters>]

Name

Set-FASTSearchMetadataCrawledProperty
    -Name <String>
    [-Propset <Guid>]
    [-VariantType <Int32>]
    [-IsMappedToContents <Boolean>]
    [<CommonParameters>]

Description

This cmdlet specifies if a crawled property should be automatically indexed as part of the default full text index, "content".

When the IsMappedToContents parameter is set to "true", the crawled property is added to the default searchable index.

To find the crawled property to update, specify a crawled property object, or the combination of name, property set, and variant type.

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>$description = Get-FASTSearchMetadataCrawledProperty -Name Description
$description # Before
Set-FASTSearchMetadataCrawledProperty -CrawledProperty $description -IsMappedToContents 1
$description # After

This example automatically maps a crawled property to the full text index "content", making the content of the crawled property searchable.

Parameters

-CrawledProperty

Applicable: FAST Server for SharePoint 2010

An object representing the crawled property to update.

Parameter properties

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

Parameter sets

CrawledProperty
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-IsMappedToContents

Applicable: FAST Server for SharePoint 2010

This Boolean parameter specifies whether or not the content of the crawled property should be automatically mapped into the default full text index.

Parameter properties

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

Parameter sets

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

-Name

Applicable: FAST Server for SharePoint 2010

The name of the crawled property to update.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:CrawledPropertyName, N

Parameter sets

Name
Position:Named
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-Propset

Applicable: FAST Server for SharePoint 2010

The property set GUID of the crawled property which is being updated.

The GUID controls which category the crawled property is part of. A GUID (Global Unique Identifier) is a 128-bit integer that has a very low probability of being duplicated. The accepted GUID format is "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" or a System.Guid object.

Parameter properties

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

Parameter sets

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

-VariantType

Applicable: FAST Server for SharePoint 2010

An integer value specifying the variant type of the updated crawled property.

See https://go.microsoft.com/fwlink/?LinkId=163232 (https://go.microsoft.com/fwlink/?LinkId=163232) for a list of common variant types.

Parameter properties

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

Parameter sets

(All)
Position:Named
Mandatory:False
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.