summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-03-29 20:51:45 -0700
committerBryan Newbold <bnewbold@archive.org>2021-03-29 20:51:45 -0700
commit30b93dc18464bd8c1675d8279d2cf7493ba24a12 (patch)
tree151b1150b1856e7142ece2b1c3602f7aeab29a76 /fatcat_scholar/search.py
parentfc6ebef14cf3398ac1664b9f585d6ed5e7caf609 (diff)
downloadfatcat-scholar-30b93dc18464bd8c1675d8279d2cf7493ba24a12.tar.gz
fatcat-scholar-30b93dc18464bd8c1675d8279d2cf7493ba24a12.zip
make fmt
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r--fatcat_scholar/search.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index 026c030..2ae0ba9 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -416,6 +416,7 @@ def do_fulltext_search(
results=results,
)
+
def es_scholar_index_exists() -> bool:
"""
Checks if the configured back-end elasticsearch index exists.