Update by natay on Mon Jul 15 10:17:34 EDT 2019 from H7-D25RF0PLGQ18
@@ -59,7 +59,7 @@ def add_index(post, writer):
author_handle=post.author.username,
author=post.author.profile.name,
author_score=post.author.profile.score,
- thread_counts=post.thread_votecount,
+ thread_votecount=post.thread_votecount,
vote_count=post.vote_count,
author_uid=post.author.profile.uid,
author_url=post.author.profile.get_absolute_url())
@@ -70,7 +70,7 @@ def get_schema():
schema = Schema(title=NGRAMWORDS(stored=True, tokenizer=tokenizer, sortable=True),
url=ID(stored=True),
thread_votecount=NUMERIC(stored=True, sortable=True),
- vote_score=NUMERIC(stored=True, sortable=True),
+ vote_count=NUMERIC(stored=True, sortable=True),
content=NGRAMWORDS(stored=True, tokenizer=tokenizer),
tags=KEYWORD(stored=True),
is_toplevel=BOOLEAN(stored=True),
