add index setting.