Configuration updates by default only work on data ingested by Mona after the update. Since we want to update data that was already ingested by Mona before the config update, we need to do a backfill, which is similar to a reindexing according to the new Schema.
This can easily be done on the Admin page, under the “Backfill” tab.
Here you need to choose your context class, in this case, “LOAN_APPLICATION_TUTORIAL”, and then click on “Start backfill”. The backfill reindexes your data starting from the latest ingested data. This allows newer (and usually more relevant) data to be updated more quickly.
Once the backfill is finished, you will get an email from Mona notifying you it has finished.
The last thing to do is to check that the backfill is done and our data was re-written with the new fields as well, so we can search for “credit_label_delta” when choosing a metric and we will see that it has different values for each loan. The second field we created “city” is a string field so we need to search for it in the segmentation fields on the right. As you can see, the backfill was finished and the new fields were also written.
Updated 27 days ago