Search Query Reporting

Fusion includes several reports that can help you gain insight into the performance of your search application and the behavior of your users.

In order to use these reports, you must have the 'searchLogs' feature enabled for a collection. This will create a parallel collection named '<collection>_logs'. When requests for report data is sent to the main collection, the data is pulled from the *_logs collection.

Available Reports

lessThanN

This report provides a way to discover queries that returned less than a defined number of results.

In addition to defining the number of results for inclusion in the report, you can also limit by a date range.

topQueries

This report shows the queries that were performed most often. It reports the user’s entire query.

While it does not take a minimum number parameter, it can be limited by a date range.

topN

The TopN report finds the most popular terms. This is distinct from the topQueries report because it reports on terms and not the entire query.

Possible fields are those that appear when investigating a particular item:

  • collection_s: the collection used for the query

  • id: the document ID

  • q_txt: the query text

  • q_s:

  • qtime_l: the length of time the query portion of the response

  • totaltime_l: the total length of time for the response

  • numdocs_l: the number of documents found for the query

  • timestamp_dt: the timestamp of the query

  • req_facet_ss: if facets were requested

  • req_echoParams_ss: the setting for "echoParams" during the query

  • req_q_ss: the request itself

  • req_facet.field_ss: the facet fields requested

  • req_rows_ss: the number of rows requested

  • version: The document version at the time of the query

topClicked

This report shows the items that were clicked most often. It requires that Signals have been enabled for a collection, that click events have been recorded, and that the click signals have been aggregated. See the section on Signals for more information.

In addition to accepting a number to define how many items to return, it can also be limited by date range.

histo

This report provides a histogram that matches the query parameters. A field is defined as the basis for the data, and then a range of values and an interval are provided.

The available fields are:

  • qtime_l: the length of time the query portion of the response

  • totaltime_l: the total length of time for the response

  • numdocs_l: the number of documents found for the query

  • timestamp_dt: the timestamp of the query

  • req_rows_ss: the number of rows requested

dateHisto

This report provides a histogram of queries based on a provided date range.