migrate old index mapping to new array type mapping

pls document
why is this class in the org.elasticsearch package
what does it do