title: Swapping coordinates of geopoints in elasticsearch index
body: <p>Well, I have an index with documents that have geopoints as arrays of doubles. But it turns out that the longitude and latitude are in the wrong order, i.e., instead of <code>[lon, lat]</code> the arrays are like <code>[lat, lon]</code>. Is there any way to switch those values on all documents of the index without having to recreate them all again? Or change the format of the geopoints  from an array to a string, so the data for them becomes <code>"lat, lon"</code>? So far, the solution I found was to recreate the whole dataset again, which in this case is very time consuming to be practical.</p>