SearchServiceApplication.GetQueryLevelMetricsForModel method

SharePoint 2013

Gets a collection of key-value pairs, each of which represents relevance metrics that are calculated on the query results. These metrics are returned for each search query that is part of the specified query set.

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

public Dictionary<int, double> GetQueryLevelMetricsForModel(
	SearchObjectOwner searchObjectOwner,
	Guid rankingModelId,
	int QuerySetId,
	DisplayMetrics MetricType
)

Parameters

searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

rankingModelId
Type: System.Guid

The ranking model for which to get level metrics.

QuerySetId
Type: System.Int32

The query set.

MetricType
Type: DisplayMetrics
Show: