finish es_stat project, and the main file is scanIndex.sh