Elasticsearch fields and elasticsearch-hadoop

Is there an easy way to rename the fields on an index?

I have a field named "searchTerm" that I use for some event tracking. But
the elasticsearch-hadoop library assumes all elasticsearch fields are
lowercase and is converting all field names to lower case. When hadoop
tries to retrieve the data from the index the field doesn't match and I
just get a null value back. So the question is can I rename this field
from "searchTerm" to "search_term" or "searchterm" in some easy way? Or do
I need to setup a new index pull all the records in the current index
rename the fields to lowercase and insert into the new index.



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/3a8c91ba-4e7a-4a47-9593-f371502c310a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.