Not detecting mapping

I am having an issue were elasticsearch is not dectecting the correct
mapping. I use to have a type and deleted it with curl -XDELETE
http://localhost:9200/index/type when then i started inserting data into
the db again and it is not adding things in the root document to the new
mapping and i have deleted the type a few times. It is only buidling the
mapping from the sub document inside the bigger one.
https://gist.github.com/wojons/56293ca67a777beaaf5a

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.