Merge pull request #415 from mouse-reeve/author_text

Generate author_text field dynamically
This commit is contained in:
Mouse Reeve
2020-12-21 13:09:40 -08:00
committed by GitHub
4 changed files with 28 additions and 5 deletions

View File

@ -13,7 +13,7 @@ class Connector(AbstractConnector):
that gets implemented it will totally rule '''
vector = SearchVector('title', weight='A') +\
SearchVector('subtitle', weight='B') +\
SearchVector('author_text', weight='C') +\
SearchVector('authors__name', weight='C') +\
SearchVector('isbn_13', weight='A') +\
SearchVector('isbn_10', weight='A') +\
SearchVector('openlibrary_key', weight='C') +\