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.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/fatcat_scholar/search.py b/fatcat_scholar/search.py
index cc972bd..b2c5460 100644
--- a/fatcat_scholar/search.py
+++ b/fatcat_scholar/search.py
@@ -218,11 +218,8 @@ def do_fulltext_search(
)
# simplified version of basic_fulltext query, for highlighting
- highlight_query= Q(
- "query_string",
- query=query.q,
- default_operator="AND",
- lenient=True,
+ highlight_query = Q(
+ "query_string", query=query.q, default_operator="AND", lenient=True,
)
search = search.highlight(
"abstracts.body",