add clear when deleting an index for the field data service