AutoCommit Don Jun 11 09:03:21 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-06-11 09:03:21 +02:00
parent f62ed335ec
commit 9aaacbbb63
6 changed files with 83 additions and 4 deletions

View File

@@ -93,10 +93,10 @@ class Document < ActiveRecord::Base
Document.ether.group(Document::TYPS[t])
end
searchable do
text :text
text :name, :boost=>4.0
text :text, stored: true
text :name, :boost=>4.0, :stored=> true
if typ = 10 || typ=11
text :meeting do
text :meeting, stored: true do
parent.text unless parent.nil?
end
end