Skip to content

BioThings v1.2.2 release

Choose a tag to compare

@jal347 jal347 released this 22 Oct 21:59
· 78 commits to master since this release
c7fdf70

What's Changed

  • Added the QUERY_POST_MAX_HITS setting (100,000 by default, None to turn it off), and POST /query now returns a 400 error when the number of query terms times size is over it; the error explains that size applies to each query term and gives the largest size that fits, and also suggests a species filter in APIs with a species parameter, by @jal347 in #482
  • Changed the default default_string_query to build q=* as a match_all query instead of a query_string query, while APIs that override default_string_query still receive q=* and build their own query for it, by @everaldorodrigo and @jal347 in #484 and #485
  • Logged failed searches with status 400 in POST /query multisearch results as warnings instead of errors, so user errors such as sorting on a nested field are no longer reported to Sentry, while failed searches with any other status are still logged at ERROR, by @jal347 in #483

Full Changelog: v1.2.1...v1.2.2