I think we need a 'forindex' argument for `get_mapping_types()` so that the search view isn't looking at *all* mapping types which is clearly wrong.