Commit 8aa6d762 by Rocky Duan

add date fields to search index

parent d2daf27a
...@@ -19,6 +19,8 @@ class CommentThread < Content ...@@ -19,6 +19,8 @@ class CommentThread < Content
text :title, boost: 5.0, stored: true, more_like_this: true text :title, boost: 5.0, stored: true, more_like_this: true
text :body, stored: true, more_like_this: true text :body, stored: true, more_like_this: true
time :created_at
time :updated_at
integer :comment_count integer :comment_count
integer :votes_point do integer :votes_point do
votes_point votes_point
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment