mozilla-services / crashstats-tools

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

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

Closed willkg closed 1 week ago

willkg commented 3 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 2 months ago

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