forked from bofh/fetsite
AutoCommit Don Jun 11 09:03:21 CEST 2015
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user