1
0
Fork 0

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
commit 1fb728edbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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') +\