aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/search.py
diff options
context:
space:
mode:
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.