







Setosearchsetting: Stsadm operation (Office SharePoint Server) | |
![]() |
![]() ![]() |
Stsadm command-line tool (Office SharePoint Server) > Stsadm operations (Office SharePoint Server) > Search: Stsadm operations (Office SharePoint Server) > |
This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.
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 Helping users make successful queries (Office SharePoint Server).
![]() |
---|
The setosearchsetting operation was first introduced in the April Cumulative Update. |
![]() |
---|
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