Adding config for index and search-field.