Allow to manipulate the doc on reindex