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.String

    User query for which the relevance judgment is added.

  • url
    Type: System.String

    URL for which the relevance judgment is added.

  • labelId
    Type: System.Int16

    The judgment for this query-URL pair as represented by an Int16. This value MUST be between 1 and 5 inclusive.

See also

Reference

RankingLabeling class

RankingLabeling members

Microsoft.SharePoint.Client.Search.Query namespace