New-FASTSearchMetadataRankProfile

Creates a new rank profile to calculate relevance in queries.

Syntax

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

The name of the new rank profile.

Type:String
Aliases:RankProfileName, N
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Template

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

Type:RankProfile
Aliases:RankProfileTemplate, T
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010