Updating document mapping without re-indexing

Edit your question, format your code there and be patient.