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)

Syntax

'Declaration
Public Function GetTopQueryStringsForUrl ( _
    url As String, _
    topCount As Integer _
) As String()
'Usage
Dim instance As SearchServiceApplication
Dim url As String
Dim topCount As Integer
Dim returnValue As String()

returnValue = instance.GetTopQueryStringsForUrl(url, _
    topCount)
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.

Remarks

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.

See also

Reference

SearchServiceApplication class

SearchServiceApplication members

Microsoft.Office.Server.Search.Administration namespace