New-FASTSearchMetadataRankProfile

创建新的排名配置文件以计算查询中的相关性。

语法

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

说明

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.

可以使用默认值创建排名配置文件,也可以使用 Template 参数基于另一个现有排名配置文件。

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.

有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档,(https://go.microsoft.com/fwlink/?LinkId=163227)。

示例

---------------示例 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

此示例基于名为"newrankdistribution"的现有排名配置文件添加新的排名配置文件。

---------------EXAMPLE 3-----------------(FAST Server for SharePoint 2010)

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

此示例指定要用作 FAST Search Server 2010 for SharePoint 的默认排名配置文件的新排名配置文件。

参数

-Template

一个对象,表示将用作创建新排名配置文件的模板的排名配置文件。

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

-名称

新排名配置文件的名称。

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