Manage managed properties by using Windows PowerShell (FAST Search Server 2010 for SharePoint)
Applies to: FAST Search Server 2010
This article explains how to work with managed properties in Microsoft FAST Search Server 2010 for SharePoint by using Windows PowerShell.
In this article:
Display the properties of a managed property by using Windows PowerShell
Make a managed property queryable by using the Set-FASTSearchMetadataManagedProperty Windows PowerShell cmdlet
Make a managed property queryable by updating the properties on the managed property object
Enable merging of crawled property values by using Windows PowerShell
Set size properties for a managed property by using Windows PowerShell
Display the properties of a managed property by using Windows PowerShell
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
Get-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>"
Where:
- <ManagedPropertyName> is the name of the managed property you want to update.
Note
Some of these properties are set when the managed property is created and are not possible to update, such as the managed property Name or Type.
See also
Make a managed property queryable by using the Set-FASTSearchMetadataManagedProperty Windows PowerShell cmdlet
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
Set-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>" -Queryable <QueryableFlag>
Where:
<ManagedPropertyName> is the name of the managed property.
<QueryableFlag> is a Boolean indicating whether the managed property should be queryable or not. Set to $true if the managed property should be queryable, if not set to $false.
See also
Make a managed property queryable by updating the properties on the managed property object
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
$mp = Get-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>" $mp.Queryable = <QueryableFlag> $mp.Update()
Where:
<ManagedPropertyName> is the name of the managed property.
<QueryableFlag> is a Boolean indicating whether the managed property should be queryable or not. Set to $true if the managed property should be queryable, if not set to $false.
See also
Enable merging of crawled property values by using Windows PowerShell
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
Set-FASTSearchMetadataManagedProperty -Name "<ManagedPropertyName>" -MergeCrawledProperties <Flag>
Where:
<ManagedPropertyName> is the name of the managed property.
<Flag> is a Boolean indicating whether mapped crawled properties should be merged, or not. Use $true to merge, $false if not.
See also
Set size properties for a managed property by using Windows PowerShell
A managed property has two size-related properties, MaxIndexSize and MaxResultSize. These properties define the maximum number of kilobytes used for indexing the managed property, and the maximum number of kilobytes returned by the managed property as part of the search result. The following example doubles the value for these properties:
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
$mp = Get-FASTSearchMetadataManagedProperty -Name Title Set-FASTSearchMetadataManagedProperty -Name Title -MaxIndexSize ($mp.MaxIndexSize*2) -MaxResultSize ($mp.MaxResultSize*2)