Share via


Query.TrimDuplicates property

Gets or sets a Boolean value that specifies whether the search query should run if the query text contains only noise words.

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

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

value = instance.TrimDuplicates

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

Property value

Type: System.Boolean
true if search queries containing only noise words are not executed; otherwise, false.

Remarks

The default value is true.

See also

Reference

Query class

Query members

Microsoft.SharePoint.Client.Search.Query namespace