Obsolete:Analytics/Data Lake/Traffic/CirrusQueryClicks

From Wikitech

This data contains the association between search queries and search result clicks.

discovery.query_clicks_hourly

query         string        The search query
ip            string        The client IP
identity      string        The client identity (unique token generated by CirrusSearch, see CirrusSearchRequestsSet)
timestamp     bigint        Timestamp
wikiid        string        The wiki
project       string        The project name
hits          array<        Hits shown to the client
                  struct<
                       title:string,
                       index:string,
                       pageid:int,
                       score:float,
                       profilename:string
                   >
              >,
clicks        array<        Hits clicked by the client
                  struct<
                       pageid:int,
                       timestamp:bigint,
                       referer:string
                  >
              >


discovery.query_clicks_daily

Sessionized version of query clicks

query         string        The search query
q_by_ip_day   int           Number of search requests made by this ip for this day
timestamp     bigint        Timestamp
wikiid        string        The wiki
project       string        The project name
hits          array<        Hits shown to the client
                  struct<
                       title:string,
                       index:string,
                       pageid:int,
                       score:float,
                       profilename:string
                   >
              >,
clicks        array<        Hits clicked by the client
                  struct<
                       pageid:int,
                       timestamp:bigint,
                       referer:string
                  >
              >
session_id    string        Session identity (concatenation of query_clicks_hourly.identity and the session number for this day)