Partager via


KeywordQuery.SimilarTo Property

Applies to: Microsoft FAST Search Server 2010 for SharePoint
Gets or sets the similarity reference when performing a find similar query. 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 SimilarTo As String
    Get
    Set
'Usage
Dim instance As KeywordQuery
Dim value As String

value = instance.SimilarTo

instance.SimilarTo = value
public string SimilarTo { get; set; }

Property Value

Type: System.String
The value of the docvector managed property of the item to be used as the similarity reference. For syntax details, see Item similarity vector reference

See Also

Reference

KeywordQuery Class

KeywordQuery Members

Microsoft.Office.Server.Search.Query Namespace