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

supersearchfacet should return an error in most "No output." cases #127

Closed willkg closed 4 months ago

willkg commented 4 months ago

Doing something like this:

$ supersearchfacet --_aggs.product.build_id=version
No output.

That's a valid query, but Crash Stats Super Search isn't handling it correctly and returns a signature facet. Since that's not what the user asked for, supersearchfacet outputs "No output."

It should probably return something more helpful that makes it clearer that something went wrong.