support all available index options

except weights (I am lazy) and version (it is unecessary)

This is a breaking change