karmi/tire — pull request #210 by woahdae (2012-01-19 04:29:23+00:00)
Title: Support any level of mappings

Previously, only two levels of mappings were supported, ex:

mapping do
indexes :title, :type => 'string'
indexes :author do
indexes :first_name, :type => 'string'
indexes :last_name, :type => 'string', :boost => 100
end
end

This commit adds support for any level of mappings, ex:

mapping do
indexes :title, :type => 'string'
indexes :author do
indexes :first_name, :type => 'string'
indexes :last_name, :type => 'string', :boost => 100

indexes :posts do
indexes :title, :type => 'string', :boost => 10
end
end
end