Add missing post index items

This commit is contained in:
Kira 2019-07-23 07:22:14 -07:00
parent 647f3f59e3
commit aa7f443555

View File

@ -22,6 +22,7 @@ module PostIndex
indexes :tag_count_copyright, type: 'integer'
indexes :tag_count_meta, type: 'integer'
indexes :tag_count_species, type: 'integer'
indexes :tag_count_invalid, type: 'integer'
indexes :comment_count, type: 'integer'
indexes :file_size, type: 'integer'
@ -178,6 +179,8 @@ module PostIndex
tag_count_character: tag_count_character,
tag_count_copyright: tag_count_copyright,
tag_count_meta: tag_count_meta,
tag_count_species: tag_count_species,
tag_count_invalid: tag_count_invalid,
# tag_count_species: tag_count_species,
comment_count: options[:comment_count] || Comment.where(post_id: id).count,