Export (0) Print
Expand All

Setosearchsetting: Stsadm operation (Office SharePoint Server)

SharePoint 2007

Updated: May 14, 2009

Applies To: Office SharePoint Server 2007

Updated: 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 Helping users make successful queries (Office SharePoint Server).

NoteNote:

The setosearchsetting operation was first introduced in the April Cumulative Update.

ImportantImportant:

Any change in a value of the target setting will not take effect until the following occurs:

  • An iisreset /force command is run on each server that is used as a front-end Web server for the Microsoft Office SharePoint Server 2007 installation.

  • The search service is restarted on each query server for the Microsoft Office SharePoint Server 2007 installation.

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

  • True: Specifies query terms used in the CONTAINS clause of the SQL syntax query to be hit-highlighted in search results.

  • False: Specifies query terms used in the CONTAINS clause of the SQL syntax query should not be hit-highlighted in search results.

    The default value is True.

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

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft