12: Group sequential papers in search results

#12: Group sequential papers in search results - use consistent layout
This commit is contained in:
Joerg Reichert 2016-12-23 00:17:18 +01:00
parent 7f1aead3a8
commit 52f93fcb42
4 changed files with 27 additions and 12 deletions

View file

@ -26,6 +26,7 @@ class Paper < ActiveRecord::Base
indexes :name, type: :string, analyzer: "german"
indexes :content, type: :string, analyzer: "german"
indexes :resolution, type: :string, analyzer: "german"
indexes :reference, type: :string, index: :not_analyzed
indexes :paper_type, type: :string, index: :not_analyzed
indexes :published_at, type: :date, index: :not_analyzed
indexes :originator, type: :string, index: :not_analyzed