aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2024-06-26 21:52:46 +0000
committerAlexander_Kabui2024-08-28 15:02:45 +0300
commitb6660b2edb8967b6c78bcf810efc06d59aa486ee (patch)
tree3f31d40799bda3cc05a4ce3ab3d31be12424a9b0
parent5753be342c10a7d2a23ffd7ab8cd8238732edd95 (diff)
downloadgenenetwork2-b6660b2edb8967b6c78bcf810efc06d59aa486ee.tar.gz
Increase MAX_SEARCH_RESULTS to 50000
-rw-r--r--gn2/wqflask/search_results.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn2/wqflask/search_results.py b/gn2/wqflask/search_results.py
index 357b3f09..b269b031 100644
--- a/gn2/wqflask/search_results.py
+++ b/gn2/wqflask/search_results.py
@@ -26,7 +26,7 @@ from gn2.utility.hmac import hmac_creation
from gn2.utility.tools import get_setting, GN2_BASE_URL, GN3_LOCAL_URL
from gn2.utility.type_checking import is_str
-MAX_SEARCH_RESULTS = 20000 # Max number of search results, passed to Xapian search (this needs to match the value in GN3!)
+MAX_SEARCH_RESULTS = 50000 # Max number of search results, passed to Xapian search (this needs to match the value in GN3!)
class SearchResultPage:
#maxReturn = 3000