willkg / crashstats-tools

Command line tools and library for interacting with Crash Stats (https://crash-stats.mozilla.org/)
Mozilla Public License 2.0
7 stars 0 forks source link

support `_return_query=1` in supersearch and supersearchfacet #140

Open willkg opened 2 months ago

willkg commented 2 months ago

Supersearch supports a _return_query=1 querystring param which will generate the elasticsearch query and then return that without running it. It's helpful for debugging query issues.

supersearch and supersearchfacet should both support that mode.

willkg commented 3 weeks ago

That fix only covers supersearch. I have to think about what to do with supersearchfacet which is more complicated.