0
如何使用黑子搜索轨道枚举?轨道太阳黑子可搜索枚举
枚举类型:[:餐厅,旅游,:酒店]
searchable do
text :name, :boost => 5
text :description
integer :type
time :created_at
end
我的控制器:
@search = Product.search do
fulltext params[:search]
end
依然没有结果,任何想法?
啊谢谢男人,它现在的作品:) –