renamed IndexSchema to IndexParams