Generate author_text field dynamically

This commit is contained in:
Mouse Reeve
2020-12-21 11:57:45 -08:00
parent 7081c0bb00
commit aac264c998
4 changed files with 32 additions and 7 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') +\