This prevents expensive elasticsearch queries that have been the target of scraping efforts. However, this time we only deny a search if no criteria at all is present. e.g. a search without a query is allowed if it has a license filter on it. But a search with only a sort is not allowed.
Revisit https://github.com/librariesio/libraries.io/pull/3209
This prevents expensive elasticsearch queries that have been the target of scraping efforts. However, this time we only deny a search if no criteria at all is present. e.g. a search without a query is allowed if it has a license filter on it. But a search with only a sort is not allowed.