Edit

Share via


New-FASTSearchMetadataRankProfile

Creates a new rank profile to calculate relevance in queries.

Syntax

Default (Default)

New-FASTSearchMetadataRankProfile
    -Name <String>
    [-Template <RankProfile>]
    [<CommonParameters>]

Description

A rank profile controls the relevancy calculation for a query. It consists of several components which are weighted so that the relevancy calculation fits the content. See Set-FASTSearchMetadataRankProfile for more details.

A rank profile can either be created with default values, or based on another existing rank profile using the Template parameter.

The rank profile is typically specified as part of a query. If no rank profile is specified in the query, the default rank profile is used.

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)

New-FASTSearchMetadataRankProfile -Name newrankdistribution

This example adds a new rank profile based on the default settings. The new rank profile is called "newrankdistribution".

EXAMPLE 2 (FAST Server for SharePoint 2010)

C:\PS>$rankprofile_template = Get-FASTSearchMetadataRankProfile -Name newrankdistribution
New-FASTSearchMetadataRankProfile -Template $rankprofile_template -Name ExtraRankProfile

This example adds a new rank profile based on an existing rank profile called "newrankdistribution".

EXAMPLE 3 (FAST Server for SharePoint 2010)

C:\PS>$new_rank_profile = New-FASTSearchMetadataRankProfile -Name ImprovedDefault
$new_rank_profile.makeDefault()

This example specifies a new rank profile to use as the default rank profile for the FAST Search Server 2010 for SharePoint.

Parameters

-Name

Applicable: FAST Server for SharePoint 2010

The name of the new rank profile.

Parameter properties

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

Parameter sets

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

-Template

Applicable: FAST Server for SharePoint 2010

An object representing the rank profile that will serve as a template in creating the new rank profile.

Parameter properties

Type:RankProfile
Default value:None
Supports wildcards:False
DontShow:False
Aliases:RankProfileTemplate, T

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
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.