Partager via


KeywordQuery.SortSimilar Property

Applies to: Microsoft FAST Search Server 2010 for SharePoint
Gets or sets a Boolean value that specifies whether query results based on similarity shall be sorted by similarity. For details, see Find Similar (FAST Search Server 2010 for SharePoint).

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

Syntax

'Declaration
Public Property SortSimilar As Boolean
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As Boolean

value = instance.SortSimilar

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

Property Value

Type: System.Boolean
true if the results are sorted by similarity; false if the results are sorted by relevance score (rank).

Remarks

Default value is true.

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace