allow to get the index and the stats in plain text