write_index_thread(2014.6.5)