In our regular Wednesday meeting we were discussing the way we present metrics, currently via the superset Search Metrics, Web dashboard. One of our concerns is this separates autocomplete and fulltext as if they were two independant things, but in reality with the recent review of abandonded fulltext queries it has become clear that fulltext cannot really be separated from autocomplete. They are part of a single search experience.
One way to view this full search experience that we discussed was putting together a Sankey Diagram that shows autocomplete + fulltext sessions merged into a single representation. We have a historical sankey, but it is 8 years old. We think an updated and more nuanced version of this graph would be a nice way to better understand how users interact with search. This updated Sankey should be generated per-wiki.
The sankey would be developed in two parts:
- We have to decide the shape of the graph, what edges we want to represent. We think it should probably be more nuanced than the historical sankey. This will likely require some iteration, both before writing the pyspark script to figure out what we want, and after writing the script when figuring out how outlier-ish sessions fit into the graph.
- We have to write some spark that will take a session worth of events, and figure out which edges were traversed by that session. This should be wrapped into a pyspark script that can be run daily to generate the per-wiki count of edge traversals.
