Allow to set index type to add better STI support
Merge pull request #41 from yesmeck/master

增加一个的 type 设置