How to set the type of fields using elasticsearch-hadoop cascading

Hi all:
I want to use ESTap to dump my hadoop data to es,but I came across a
problem,when I export data to a new index, I
set es.index.auto.create=yes,so index can be created, and mapping type can
be created as well, but the type of fields always is string,I want to set
one field to long,how should I do?
below is method I haved tried but failed:
suppose the field name is count and both index and mapping type are uv,I
have following setting.
props.setProperty("es.mappings.uv.properties.count.type", "long");

Anyone knows?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5f761b6f-be0e-46ac-b113-d89bb40e8b1b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.