SearchServiceApplication.RecordPageImpression method
Records page impressions from search queries. Page impressions are generated on the server side as part of the query pipeline when search results are retrieved.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub RecordPageImpression ( _
pageImpression As QueryLogPageImpression, _
info As PageImpressionInfo _
)
'Usage
Dim instance As SearchServiceApplication
Dim pageImpression As QueryLogPageImpression
Dim info As PageImpressionInfo
instance.RecordPageImpression(pageImpression, _
info)
public void RecordPageImpression(
QueryLogPageImpression pageImpression,
PageImpressionInfo info
)
Parameters
pageImpression
Type: Microsoft.Office.Server.Search.Query.QueryLogPageImpressionThe data that is gathered by the page impression.
info
Type: Microsoft.Office.Server.Search.Query.PageImpressionInfoThe details about the page impression.
Remarks
A page impression contains information that is gathered through the query pipeline. This information includes the query string, the time at which the request was performed, suggested queries (if applicable), the user’s ID, a string of refiners used to refine the query, etc.
See also
Reference
SearchServiceApplication class