From 6f1a66b32cca2ac6e3178fde35ff45edace6522d Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 30 Sep 2022 02:13:48 +0530 Subject: Raise hard-limit on search results to 10k. * wqflask/wqflask/gsearch.py (MAX_SEARCH_RESULTS): Set to 10k. --- wqflask/wqflask/gsearch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wqflask/wqflask/gsearch.py b/wqflask/wqflask/gsearch.py index e3049da7..54d62100 100644 --- a/wqflask/wqflask/gsearch.py +++ b/wqflask/wqflask/gsearch.py @@ -11,7 +11,7 @@ from wqflask.database import xapian_database # KLUDGE: Due to the lack of pagination, we hard-limit the maximum # number of search results. -MAX_SEARCH_RESULTS = 1000 +MAX_SEARCH_RESULTS = 10000 class GSearch: def __init__(self, kwargs): -- cgit v1.2.3