small fixes incl. solr

This commit is contained in:
Andreas Stephanides
2017-04-18 19:03:09 +02:00
parent 28226df76c
commit 491e360141
8 changed files with 8 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Gremium < ActiveRecord::Base
# has_many :members, through: :memberships
searchable do
text :desc
text :name, :boost=>4.0
text :name
end
belongs_to :thema # Gehört zu einem Thema

View File

@@ -186,6 +186,6 @@ class Neuigkeit < ActiveRecord::Base
searchable do
text :text
text :datum
text :title, :boost=>3.0
text :title
end
end

View File

@@ -42,7 +42,7 @@ end
searchable do
text :desc
text :name, :boost=>4.0
text :name
end
end

View File

@@ -47,7 +47,7 @@ class Thema < ActiveRecord::Base
# make topic searchable
searchable do
text :text
text :title, :boost=>4.0
text :title
end
resourcify

View File

@@ -40,7 +40,7 @@ end
searchable do
text :text
text :title, :boost=>4.0
text :title
end
end