meilisearch/meilisearch-http
bors[bot] f37a420a04
Merge #1174
1174: Limit query words number r=MarinPostma a=MarinPostma

This pr adds a limit to the number of words taken into account in a search query. Using query string that are too long leads to huge performance hits and ressources consumtion, that occasionally crashes the machine. The limit has been hard set to 10, and tests have been added to make sure that it is taken into account.

close #941

Co-authored-by: mpostma <postma.marin@protonmail.com>
2021-01-28 17:38:34 +00:00
..
public Update interface.html 2020-12-21 10:15:19 +01:00
src fix authentication cors bug 2021-01-12 18:08:16 +01:00
tests add word limit to search queries 2021-01-08 16:23:23 +01:00
build.rs Rename MeiliDB into MeiliSearch 2019-11-26 11:12:30 +01:00
Cargo.toml update dependencies 2021-01-13 15:48:53 +01:00