SearchServiceApplication.GetTopQueryStringsForUrl method

Gets a specified number of top query strings used as a result when the user clicks a specified URL.

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

public string[] GetTopQueryStringsForUrl(
	string url,
	int topCount
)

Parameters

url
Type: System.String

The URL that identifies a crawled item.

topCount
Type: System.Int32

The number of top query strings to return.

Return value

Type: []
The query strings that are used as a result when a user clicks a specified URL.

This method gets the top query strings used as a result when a user clicks a specified URL. Each crawled item is identified by a URL. The query strings are stored in descending order by the frequency of occurrence.

Show: