Udostępnij za pośrednictwem


FullTextSearchKnowledgeArticleRequest.RemoveDuplicates Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Gets or sets a value that indicates whether to remove multiple versions of the same knowledge article in search results. Required.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public bool RemoveDuplicates { get; set; }
Public Property RemoveDuplicates As Boolean

Property Value

Type: System.Boolean

Type: Boolean
true to remove multiple versions of the same knowledge article; false to return all article versions matching the search text in the search result.

Remarks

Some of the filtering is done post-search from the full-text index, which depends on the values specified for the RemoveDuplicates and StateCode parameters. The rules based on StateCode and RemoveDuplicate parameters are:

StateCode

RemoveDuplicates

Search result

0, 1, 2, 3, 4, 5, or 6

True

First 250 articles that match the search text are returned. Multiple versions of the same article in the specified state are removed. Only the latest version in that state is returned.

0, 1, 2, 3, 4, 5, or 6

False

Search results are filtered by the specified state. If matched, there can be multiple versions of the same article in search results.

Negative value

True

The results are not filtered by any state, and the latest articles are returned.

Negative value

False

All matched results are returned. No additional filtering is done.

See Also

FullTextSearchKnowledgeArticleRequest Class
Microsoft.Crm.Sdk.Messages Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright