Setosearchsetting : opération Stsadm (Office SharePoint Server)
Mise à jour : 2009-05-14
Operation name: Setosearchsetting
Sets the current values of the Enterprise search settings in Microsoft Office SharePoint Server 2007.
For additional information about how to manage settings to improve search results, see Aider les utilisateurs à effectuer des requêtes réussies (Office SharePoint Server).
Remarque : |
---|
The setosearchsetting operation was first introduced in the April Cumulative Update. |
Important : |
---|
Any change in a value of the target setting will not take effect until the following occurs:
|
Syntax
stsadm -o setosearchsetting
-ssp <SSP name>
-setting <setting name>
-value {True | False}
Parameters
Parameter name |
Value |
Required? |
Description |
ssp |
A valid Shared Services Provider (SSP) name, such as "SharedServices1" |
Yes |
Specifies the name of the SSP that is associated with the search setting. |
setting |
"Schema:HitHighlight_Contains_Clause" |
Yes |
Specifies whether query terms that are used in a CONTAINS clause of the SQL syntax query are hit-highlighted in the search results. If the setting is True, the terms are highlighted. If the setting is False, the terms are not highlighted. |
value |
A valid Boolean value, such as True or False |
Yes |
|
Examples
To disable the hit-highlighted value of the search settings, type the following syntax:
stsadm -o setosearchsetting -ssp SharedServices1 -setting "Setting:Schema:HitHighlight_Contains_Clause" -value False
Voir aussi
Concepts
Getosearchsetting : opération Stsadm (Office SharePoint Server)