TrimDuplicates Element in Microsoft.Search.Query Schema

Last modified: April 21, 2010

Applies to: SharePoint Server 2010

In this article
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>

Important note Important

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




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


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

The default value is 1.


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).

Schema name: Microsoft.Search.Query

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

Optional: Yes