Added support for custom index and parametric fields on creation of index