Set-SearchCatalog
Changes settings for a search catalog.
Syntax
Set-SearchCatalog
[-ConnectTimeout <UInt32>]
[-DataTimeout <UInt32>]
[-DiacriticSensitivity]
[-Catalog <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Set-SearchCatalog
cmdlet changes settings for a search catalog.
Examples
Example 1: Enable diacritic sensitivity
Set-SearchCatalog -DiacriticSensitivity
This command enables diacritic sensitivity for the default Windows Search catalog.
Example 2: Disable diacritic sensitivity
Set-SearchCatalog -DiacriticSensitivity:$false
This command disables diacritic sensitivity for the default Windows Search catalog.
Parameters
-Catalog
Specifies the name of the catalog this cmdlet operates on. If omitted, this is the default Windows Search catalog, named SystemIndex.
Type | |
Position |
Named |
Default value |
SystemIndex |
Accept pipeline input |
False |
Accept wildcard characters |
False |
-ConnectTimeout
Specifies the time, in seconds, that the indexer should wait for a connection response from a server or data store.
Note
This parameter has currently no effect in Windows Search.
Type | |
Position |
Named |
Default value |
None |
Accept pipeline input |
False |
Accept wildcard characters |
False |
-DataTimeout
Specifies the time, in seconds, that the indexer should wait for a data transaction.
Note
This parameter has currently no effect in Windows Search.
Type | |
Position |
Named |
Default value |
None |
Accept pipeline input |
False |
Accept wildcard characters |
False |
-DiacriticSensitivity
Enables diacritic sensitivity. When enabled, the catalog treats words like resume
and resumé
as different. When disabled, the catalog treats them as if they were the same word.
To disable diacritic sensitivity, specify the parameter as follows: -DiacriticSensitivity:$false
.
Type | |
Position |
Named |
Default value |
None |
Accept pipeline input |
False |
Accept wildcard characters |
False |
Inputs
None
You can't pipe objects to this cmdlet.
Outputs
None
This cmdlet returns no output.
Notes
Changing diacritic sensitivity automatically causes the catalog to be reindexed.