RankingLabeling.AddJudgment method
Adds a single relevance judgment for the specified query and URL pair.
Namespace: Microsoft.SharePoint.Client.Search.Query
Assembly: Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)
Syntax
'Declaration
Public Sub AddJudgment ( _
userQuery As String, _
url As String, _
labelId As Short _
)
'Usage
Dim instance As RankingLabeling
Dim userQuery As String
Dim url As String
Dim labelId As Short
instance.AddJudgment(userQuery, url, labelId)
public void AddJudgment(
string userQuery,
string url,
short labelId
)
Parameters
userQuery
Type: System.StringUser query for which the relevance judgment is added.
url
Type: System.StringURL for which the relevance judgment is added.
labelId
Type: System.Int16The judgment for this query-URL pair as represented by an Int16. This value MUST be between 1 and 5 inclusive.