Share via


Manage hit highlighted summary for a managed property by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

You can enable hit highlighted summary for selected managed properties. This will dynamically generate the summary description in the search results list and highlight the search words that are entered by the end-user. By default, hit highlighted summary is enabled for the managed properties body and title.

Warning

Enabling hit highlighted summary for other managed properties than body and title will have an adverse performance effect on the query result creation, in particular if the managed property in average contains lots of text.

A key performance parameter that affects hit highlighted summary creation is the managed property parameter MaxResultSize. This parameter specifies the maximum number of kilobytes used to store the result of the managed property in the index. For managed properties that are not configured for hit highlighted summary, this parameter affects how much content is returned in the query results, with direct effect on query performance. In particular,r this applies for disk accesses and network I/O. For managed properties that are configured for hit highlighted summary, the MaxResultSize parameter affects the processing load of creating the hit highlighted summary for each hit in the query match list.

In this article:

  • Enable hit highlighted summary for a managed property

  • Set hit highlighted summary fallback for a managed property

Enable hit highlighted summary for a managed property

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

  5. At the Windows PowerShell command prompt, type the following command(s):

    Set-FASTSearchMetadataManagedProperty -Name <ManagedProperty> -SummaryType <SummaryType>
    

    Where:

    • <ManagedProperty> is the name of the managed property that you want to enable hit highlighted summary for.

    • <SummaryType> is the value for the summary type that you want to use for the managed property, for example 2. Valid values:

      • 0 - Disabled. The managed property will not be returned as part of the result.

      • 1 - Static. The entire content of the managed property is returned (up until the value for the MaxResultSize property.)

      • 2 - Dynamic. A dynamic summary is generated based on the managed property content and the query and returned as part of the result.

See also

Set-FASTSearchMetadataManagedProperty

Set hit highlighted summary fallback for a managed property

If you have set the summary type of a managed property to 2 (dynamic), you can specify the static content of a managed property as a fallback. The fallback managed property will be used as the result summary if the system does not generate a dynamic summary. The fallback managed property can be the static summary of the same managed property, or the summary of another managed property.

By default, the managed property Title has a fallback reference to itself, and if it does not create a dynamic summary from the query, it will use its static summary instead. The following example sets the fallback reference for Title to the managed property DocSubject.

  1. Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

  5. At the Windows PowerShell command prompt, type the following command(s):

    $title = Get-FASTSearchMetadataManagedProperty -Name Title
    $docsubject = Get-FASTSearchMetadataManagedProperty DocSubject
    $title.SetResultFallBack($docsubject)
    

See also

Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace

Get-FASTSearchMetadataManagedProperty