Changing text sanitization during indexing