reports-load-queries-log.pl
Table of Contents
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>]
Function
reports-load-queries-log.pl
will either:
-
update reports for the search package specified
-
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.