다음을 통해 공유


TrimDuplicates Element in Microsoft.Search.Query Schema

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements
Element Information

For FAST Search Server 2010 for SharePoint, this element can also be used to collapse hits in the result set by using a group identifier (ID).

For more information about the Query Web service, see Using the Query Web Service.

<TrimDuplicates onproperty=string keepcount=integer includeid=boolean>
{True|False}
</TrimDuplicates>

Attributes

Important

The following attributes apply only to FAST Search Server 2010 for SharePoint.

Attribute

Description

onproperty

Optional attribute indicating the name of a non-default managed property to use as the basis for duplicate removal.

keepcount

Optional attribute specifying how many items to keep for each set of duplicates.

The default value is 1.

includeid

Specifies the value associated with a collapse group, typically used when a user clicks the Duplicates(n) link of an item with duplicates.

For further details on attribute syntax, see Duplicate Removal (FAST Search Server 2010 for SharePoint).

Child Elements

None.

Parent Elements

Query Element in Microsoft.Search.Query Schema

Element Information

Schema name: Microsoft.Search.Query

Applies to: QueryService.Query method (Microsoft.Search.Response.Document), QueryService.QueryEx method (Dataset)

Optional: Yes

See Also

Reference

QueryService

Concepts

Using the Query Web Service

Walkthrough: Querying SharePoint Search From a Client Application