jamescarr/mongoosastic — pull request #26 by ro-ka (2012-07-16 08:54:42+00:00)
Title: Feature/handle geo_point and multi_field

Rewrote the mapping generator to first create a clean object with all the necessary information to build the mapping. Afterwards the mapping is build from that clean tree. Makes it clearer how things are handled (I hope so ;) ), especially the special cases like date, geo_point and so on.

Then I added the geo_point with lat_lon fields handling. Multi_field and normal geo_point was already working. Tests added, too.

Btw: Had some problems with the indexing of geo_point at first, but that got fixed in one of your last additions. Thanks! It's working perfect now!