Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cs_comments_service
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
cs_comments_service
Commits
30ca0b05
Commit
30ca0b05
authored
May 14, 2014
by
jsa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add create/update dates to comments index, for use in statistical facets
parent
ac14976d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
models/comment.rb
+2
-2
No files found.
models/comment.rb
View file @
30ca0b05
...
...
@@ -33,8 +33,8 @@ class Comment < Content
mapping
do
indexes
:body
,
type: :string
,
analyzer: :english
,
stored:
true
,
term_vector: :with_positions_offsets
indexes
:course_id
,
type: :string
,
index: :not_analyzed
,
included_in_all:
false
#indexes :comment_thread_id, type: :string, stored: true, index: :not_analyzed
, included_in_all: false
#current prod tire doesn't support indexing BSON ids, will reimplement when we upgrad
e
indexes
:created_at
,
type: :date
,
included_in_all:
false
indexes
:updated_at
,
type: :date
,
included_in_all:
fals
e
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment