共用方式為


Remove-FASTSearchMetadataCrawledPropertyMapping

拿掉 crawled-property-to-managed-property 對應。

語法

Default (預設值)

Remove-FASTSearchMetadataCrawledPropertyMapping
    -CrawledProperty <CrawledProperty>
    -ManagedProperty <ManagedProperty>
    [-Confirm]
    [-Force]
    [-WhatIf]
    [<CommonParameters>]

Description

此 Cmdlet 會移除編目屬性與 Managed 屬性的對應。 拿掉對應之後,Managed 屬性和編目屬性仍然存在。

Cmdlet 參數都是對象,必須個別擷取。

必須重新編目/重新提供內容,搜尋索引才能反映已移除對應。

如需有關 FAST Search Server 2010 for SharePoint Cmdlet 的許可權和最新資訊,請參閱在線檔 (https://go.microsoft.com/fwlink/?LinkId=163227) 。

範例

範例 1 (FAST Server for SharePoint 2010)

$title = Get-FASTSearchMetadataManagedProperty -name title
$crawledproperties = $title.GetCrawledPropertyMappings()
$crawledproperties # To List the output before the removal
Remove-FASTSearchMetadataCrawledPropertyMapping -managedproperty $title -crawledproperty $crawledproperties[4]
$crawledproperties # To list the output after the removal

本範例會移除編目屬性 「sitemap.title」 與 Managed 屬性 “title” 的對應。

本範例會呼叫 GetCrawledPropertyMappings () Managed 屬性所公開的方法呼叫,但您也可以使用 Get-FASTSearchMetadataCrawledProperty 找到編目屬性。 GetCrawledPropertyMappings () 的傳回值是編目屬性的陣列,其中最後一個屬性是 “sitemap.title” 編目屬性對應。 陣列索引 4 (最後一個編目屬性) 呼叫 Remove-FASTSearchMetadataCrawledPropertyMapping,從中移除對應。

參數

-Confirm

適用:FAST Server for SharePoint 2010

這會啟動使用者提示,以確認作業。 如果有設定,就會啟動提示。 如果 Confirm 為 false (-Confirm:$false) ,則不會使用確認提示。

在未指定 Confirm 的情況下,Cmdlet 會在 $ConfirmPreference 殼層變數等於或大於 Cmdlet 的 ConfirmImpact 設定 (HIGH) 時進行提示。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:cf

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-CrawledProperty

適用:FAST Server for SharePoint 2010

已移除對應的編目屬性。 您可以使用 Get-FASTSearchMetadataCrawledProperty 或在 Managed 屬性物件上使用 GetCrawledPropertyMappings () 方法呼叫來擷取物件。

參數屬性

類型:CrawledProperty
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Force

適用:FAST Server for SharePoint 2010

這會覆寫所有使用者提示設定,使系統不需要確認作業。

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-ManagedProperty

適用:FAST Server for SharePoint 2010

已移除對應的 Managed 屬性物件。 您可以使用 Get-FASTSearchMetadataManagedPropertycmdlet 來擷取物件。

參數屬性

類型:ManagedProperty
預設值:None
支援萬用字元:False
不要顯示:False

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-WhatIf

適用:FAST Server for SharePoint 2010

顯示訊息會描述命令的功效而不執行命令。 如需詳細資訊,請輸入下列命令:get-help about_commonparameters

參數屬性

類型:SwitchParameter
預設值:None
支援萬用字元:False
不要顯示:False
別名:無線

參數集

(All)
Position:Named
必要:False
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters