reports-load-queries-log.pl

Description

reports-load-queries-log.pl generates a database from a search package’s query log files for reporting purposes. This database is used to populate the search analytics report, available from the search dashboard.

$ reports-load-queries-log.pl [--collection <SEARCH-PACKAGE-ID>]

Arguments

  • The search package ID may be specified or all search packages will be processed.

Function

reports-load-queries-log.pl will either:

  1. update reports for the search package specified

  2. update reports for all search packages if no search package ID be specified

The click and query logs are read from $SEARCH_HOME/data/<SEARCH-PACKAGE>/live/queries.log, $SEARCH_HOME/data/<SEARCH-PACKAGE>/live/clicks.log and $SEARCH_HOME/data/<SEARCH-PACKAGE>/archive/. The analytics database is located on disk at $SEARCH_HOME/admin/reports/<SEARCH-PACKAGE>/. Messages and errors recorded during the update of analytics are written to update_reports.log, available from the search package’s log viewer.

Once the analytics database has been built, reports may be viewed from the search dashboard.

See also