aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_covid19
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-03 16:40:14 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-03 16:40:14 -0700
commit3a24dd8290996f507b454751f62130744094fc09 (patch)
tree4f530dc34ef2c4c77fffa606f5adae67667735ba /fatcat_covid19
parentcf2bfc9382fe1c934f2e11562c5c95b86fac5114 (diff)
downloadfatcat-covid19-3a24dd8290996f507b454751f62130744094fc09.tar.gz
fatcat-covid19-3a24dd8290996f507b454751f62130744094fc09.zip
switch to 25 results by default
Diffstat (limited to 'fatcat_covid19')
-rw-r--r--fatcat_covid19/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_covid19/search.py b/fatcat_covid19/search.py
index 8b90a4a..0baeb6d 100644
--- a/fatcat_covid19/search.py
+++ b/fatcat_covid19/search.py
@@ -12,7 +12,7 @@ import requests
from flask import abort, flash
from fatcat_covid19.webface import app
-def do_search(index, request, limit=30, offset=0, deep_page_limit=2000):
+def do_search(index, request, limit=25, offset=0, deep_page_limit=2000):
# Sanity checks
if limit > 100:
@@ -64,7 +64,7 @@ def do_search(index, request, limit=30, offset=0, deep_page_limit=2000):
"offset": offset,
"deep_page_limit": deep_page_limit}
-def do_fulltext_search(q, limit=30, offset=0):
+def do_fulltext_search(q, limit=25, offset=0):
#print("Search hit: " + q)
if limit > 100: