Set index settings.