GUI for generating mapping file

I understand from the documentation , a mapping file helps ES understand how to treat fields in a document. Is there an easy to use GUI to create this file? The reason I ask is because its hard to tell which property can be applied to a field without doing trial and error.


Easiest way: PUT a sample doc in a new index.
Then GET the generated mapping.

And adapt it as you need.

SENSE might be a good GUI as well.