Indexes.define :<%= table_name %> do mappings do end serializer do |record| end search do |*args| end end