There are several places in this file where you've said "site index" but you mean "mappings index".