I created an index with a mapping, in Java, using the
IndicesAdminClient.create call with a CreateIndexRequest.
I added a large amount of data to my index.
Now I want to alter the mapping: I wish to add some new fields, and I
also want to change the index property of one of the existing fields.
How do I accomplish this in Java? Is there a specific call to update a
mapping, or should I just re-issue the create command with the new
mapping? Will this destroy any of my old data?
I realize that I will need to update all my documents, and I am
prepared to do this, but I do not want to have to remove them all