add initIndex config
Merge pull request #121 from xieyu33333/develop

add initIndex config