Set-FASTSearchMetadataCrawledProperty
Updates the properties of a crawled property.
Syntax
Set-FASTSearchMetadataCrawledProperty
-CrawledProperty <CrawledProperty>
[-Propset <Guid>]
[-VariantType <Int32>]
[-IsMappedToContents <Boolean>]
[<CommonParameters>]
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
An object representing the crawled property to update.
Type: | CrawledProperty |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-IsMappedToContents
This Boolean parameter specifies whether or not the content of the crawled property should be automatically mapped into the default full text index.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Name
The name of the crawled property to update.
Type: | String |
Aliases: | CrawledPropertyName, N |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Propset
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.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-VariantType
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.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |