Compartilhar via


SearchServiceApplication.GetQueryLevelMetricsForModel method

Obtém uma coleção de pares chave-valor, cada um deles representa métricas de relevância são calculadas sobre os resultados da consulta. Essas métricas são retornadas de cada consulta de pesquisa que faz parte do conjunto de consulta especificada.

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

Syntax

'Declaração
Public Function GetQueryLevelMetricsForModel ( _
    searchObjectOwner As SearchObjectOwner, _
    rankingModelId As Guid, _
    QuerySetId As Integer, _
    MetricType As DisplayMetrics _
) As Dictionary(Of Integer, Double)
'Uso
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim rankingModelId As Guid
Dim QuerySetId As Integer
Dim MetricType As DisplayMetrics
Dim returnValue As Dictionary(Of Integer, Double)

returnValue = instance.GetQueryLevelMetricsForModel(searchObjectOwner, _
    rankingModelId, QuerySetId, MetricType)
public Dictionary<int, double> GetQueryLevelMetricsForModel(
    SearchObjectOwner searchObjectOwner,
    Guid rankingModelId,
    int QuerySetId,
    DisplayMetrics MetricType
)

Parâmetros

  • rankingModelId
    Type: System.Guid

    O modelo de classificação para o qual deseja obter métricas de nível.

  • MetricType
    Type: DisplayMetrics

Valor retornado

Type: System.Collections.Generic.Dictionary<Int32, Double>

Ver também

Referência

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace