Location.TrimDuplicates property

Gets or sets a Boolean value that specifies whether duplicate items should be removed from the search results.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Property TrimDuplicates As Boolean
    Get
    Set
'Usage
Dim instance As Location
Dim value As Boolean

value = instance.TrimDuplicates

instance.TrimDuplicates = value
public bool TrimDuplicates { get; set; }

Property value

Type: System.Boolean
true if duplicate items are removed from the search results; otherwise, false.

Remarks

For FAST Search Server 2010 for SharePoint, this property can also be used to collapse hits in the result set. For details, see TrimDuplicatesKeepCount() and TrimDuplicatesOnProperty().

See also

Reference

Location class

Location members

Microsoft.Office.Server.Search.Query namespace