Share via


RankingLabeling.GetJudgementsForQuery method

Retrieves all known relevance judgments for the specified query. The returned dictionary MUST map the URL of the document to the relevance judgment label. The label MUST be an integer value between 1 and 5 inclusive.

Namespace:  Microsoft.SharePoint.Client.Search.Query
Assembly:  Microsoft.SharePoint.Client.Search (in Microsoft.SharePoint.Client.Search.dll)

Syntax

'Declaration
Public Function GetJudgementsForQuery ( _
    query As String _
) As ClientResult(Of IDictionary(Of String, Integer))
'Usage
Dim instance As RankingLabeling
Dim query As String
Dim returnValue As ClientResult(Of IDictionary(Of String, Integer))

returnValue = instance.GetJudgementsForQuery(query)
public ClientResult<IDictionary<string, int>> GetJudgementsForQuery(
    string query
)

Parameters

  • query
    Type: System.String

    Query string for which relevance judgments are to be retrieved.

Return value

Type: Microsoft.SharePoint.Client.ClientResult<IDictionary<String, Int32>>

See also

Reference

RankingLabeling class

RankingLabeling members

Microsoft.SharePoint.Client.Search.Query namespace