#2828  #2708 - consolidating the _introspect_global_indexes and _introspect_indexes to only one method to avoid redundancy