aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/repositories/commit_repository.rb')
-rw-r--r--app/repositories/commit_repository.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/repositories/commit_repository.rb b/app/repositories/commit_repository.rb
index a6e0b33..dc46b71 100644
--- a/app/repositories/commit_repository.rb
+++ b/app/repositories/commit_repository.rb
@@ -11,9 +11,12 @@ class CommitRepository < BaseRepository
mapping dynamic: 'strict' do
indexes :id, type: 'keyword'
- indexes :author, type: 'keyword'
- indexes :email, type: 'keyword'
- indexes :date, type: 'date'
+ indexes :author_name, type: 'keyword'
+ indexes :author_email, type: 'keyword'
+ indexes :author_date, type: 'date'
+ indexes :committer_name, type: 'keyword'
+ indexes :committer_email, type: 'keyword'
+ indexes :committer_date, type: 'date'
indexes :message, type: 'text'
indexes :files do
indexes :modified, type: 'keyword'