Set-FASTSearchMetadataCrawledProperty
更新編目屬性的屬性。
Syntax
Set-FASTSearchMetadataCrawledProperty
-CrawledProperty <CrawledProperty>
[-Propset <Guid>]
[-VariantType <Int32>]
[-IsMappedToContents <Boolean>]
[<CommonParameters>]
Set-FASTSearchMetadataCrawledProperty
-Name <String>
[-Propset <Guid>]
[-VariantType <Int32>]
[-IsMappedToContents <Boolean>]
[<CommonParameters>]
Description
此 Cmdlet 會指定是否應在預設全文檢索索引 「content」 中自動編制編目屬性的索引。
當 IsMappedToContents 參數設定為 「true」 時,編目屬性會新增至預設的可搜尋索引。
若要尋找要更新的編目屬性,請指定編目屬性物件,或名稱、屬性集和變體類型的組合。
如需 FAST Search Server 2010 for SharePoint Cmdlet 的許可權和最新資訊,請參閱線上檔 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
範例
--------------- 範例 1----------------- (適用於 SharePoint 2010 的 FAST Server)
C:\PS>$description = Get-FASTSearchMetadataCrawledProperty -Name Description
$description # Before
Set-FASTSearchMetadataCrawledProperty -CrawledProperty $description -IsMappedToContents 1
$description # After
此範例會自動將編目屬性對應至全文檢索索引 「content」,讓編目屬性的內容可供搜尋。
參數
-CrawledProperty
物件,表示要更新的編目屬性。
Type: | CrawledProperty |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-IsMappedToContents
此布林值參數會指定是否應將編目屬性的內容自動對應至預設的全文檢索索引。
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Name
要更新的編目屬性名稱。
Type: | String |
Aliases: | CrawledPropertyName, N |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-Propset
正在更新之編目屬性的屬性集 GUID。
GUID 會控制編目屬性所屬的類別。 GUID (全域唯一識別碼) 是 128 位元的整數,其重複的可能性非常低。 接受的 GUID 格式為 「xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx」 或 System.Guid 物件。
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-VariantType
整數值,指定已更新之編目屬性的變異類型。
如需常見變體類型的清單,請參閱 https://go.microsoft.com/fwlink/?LinkId=163232 (https://go.microsoft.com/fwlink/?LinkId=163232) 。
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |