aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorArun Isaac2022-09-30 02:13:48 +0530
committerArun Isaac2022-09-30 02:13:48 +0530
commit6f1a66b32cca2ac6e3178fde35ff45edace6522d (patch)
tree62dffca93cb0b20cdfd3be3667022fa11581430f /wqflask
parent361edf9e2b78144e528343314aa86f5d93e8a494 (diff)
downloadgenenetwork2-6f1a66b32cca2ac6e3178fde35ff45edace6522d.tar.gz
Raise hard-limit on search results to 10k.
* wqflask/wqflask/gsearch.py (MAX_SEARCH_RESULTS): Set to 10k.
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/gsearch.py2
1 files changed, 1 insertions, 1 deletions
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):