add settings when index is created
Merge pull request #35 from jitowix/master

add settings when index is created