add param api, for use version apis
* 1 - 1.0.x
* 0 - 0.90.x
fix crush if exist closed indexes
Merge pull request #2 from frad00r4/master

add param api, for use version apis. fix crush, if exist closed indexes