Converts a field in the currently ingested document to a different type, such as converting a string to an integer.