diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-08-12 13:24:17 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-08-12 13:24:17 -0700 |
commit | 7603dd0ade23e22197acd1fd1d35962c314cf797 (patch) | |
tree | f1adc0434f81f0cccb1ac582262ed222da15866a /fatcat_scholar/search.py | |
parent | cfdea6c069d2a97139ddcbb08efa4aea43230f0f (diff) | |
download | fatcat-scholar-7603dd0ade23e22197acd1fd1d35962c314cf797.tar.gz fatcat-scholar-7603dd0ade23e22197acd1fd1d35962c314cf797.zip |
fmt/lint tweaks
Diffstat (limited to 'fatcat_scholar/search.py')
-rw-r--r-- | fatcat_scholar/search.py | 7 |
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", |