Search analytics show test or complex queries

Problem description

During testing, debugging or monitoring, test or complex queries may be sent to your search index, logged, and appear in reports. Examples may look like the following:

!nullquery
!showallresults
polling query test
+v:coriolanus f:key a:"william shakespeare"
fun*

While these queries may be syntactically correct and valid, they may be adding unnecessary noise to your reports and prevent you from identifying real users' search behaviour.

Solutions

  • Consider adding known test or polling queries to the reporting blacklist or reporting stop words configuration. If a polling or monitoring service has been configured, it’s IP address should also be added to the reporting blacklist.

  • Consider separating system-generated queries and constraints from user-generated queries at query time by using system queries. System-generated queries and constraints are not displayed in search analytics reports.

  • Use a separate results page for system-style searches (e.g. where Funnelback’s index might be used to populate browse functionality that is integrated into a website), and possibly also disable logging on the results page by setting the following in the results page configuration:

    -log=off

© 2015- Squiz Pty Ltd