Commit 83b509caf43b6be506abd4f1f4cddb78be964709
1 parent
998a1f76
Exists in
workin_whoosh_temp
Change score field to fix whoosh indexing
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
colab/super_archives/search_indexes.py
... | ... | @@ -28,7 +28,7 @@ class ThreadIndex(BaseIndex, indexes.Indexable): |
28 | 28 | latest_message_pk = indexes.IntegerField( |
29 | 29 | model_attr='latest_message__pk', indexed=False |
30 | 30 | ) |
31 | - score = indexes.IntegerField(model_attr='score') | |
31 | + rating = indexes.IntegerField(model_attr='score') | |
32 | 32 | |
33 | 33 | def get_model(self): |
34 | 34 | return Thread | ... | ... |