meilisearch/meilisearch-http/tests
bors[bot] 09a72cee03
Merge #2281
2281: Hard limit the number of results returned by a search r=Kerollmops a=Kerollmops

This PR fixes #2133 by hard-limiting the number of results that a search request can return at any time. I would like the guidance of `@MarinPostma` to test that, should I use a mocking test here? Or should I do anything else?

I talked about touching the _nb_hits_ value with `@qdequele` and we concluded that it was not correct to do so.

Could you please confirm that it is the right place to change that?

Co-authored-by: Kerollmops <clement@meilisearch.com>
2022-04-04 17:19:05 +00:00
..
assets Rename attributes for faceting into filterable attributes 2021-06-14 13:20:43 +02:00
auth chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00
common Fix my mistake when resolving conflicts 2022-03-31 02:48:41 +09:00
dashboard Add tests for mini-dashboard status and assets 2021-10-27 17:57:25 +05:30
documents chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00
index chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00
search Add tests for the hard limit 2022-03-30 16:36:02 -07:00
settings feat(all): Task store 2021-12-02 20:14:42 +01:00
snapshot clippy 2022-02-28 19:03:38 +01:00
stats fix(all): fix two dates that were wrongly formatted 2022-02-22 11:29:11 +01:00
tasks chore: get rid of chrono in favor of time 2022-02-16 18:14:29 +01:00
content_type.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00
dumps.rs bug(lib): fix get dumps bad error code 2021-12-15 16:58:05 +01:00
integration.rs feat(auth): API keys 2021-12-06 09:52:41 +01:00