public Map getUsedIndexes(String fullPath) {
    Map map = (Map) indexInfo.get();
    if (map == null) {
      return Collections.EMPTY_MAP;
    }
    Map newMap = new HashMap();
    for (Object obj : map.entrySet()) {
      Map.Entry<String, IndexInfo> entry = (Map.Entry<String, IndexInfo>) obj;
      if (entry != null && entry.getValue().getRegionIds().contains(fullPath)) {
        newMap.put(entry.getKey(), entry.getValue().getResults().get(fullPath));
      }
    }
    return newMap;
  }
Adds a results map (mostly a bucket index lookup results) to the "this" IndexInfo.
geode-core/src/main/java/org/apache/geode/cache/query/internal/IndexTrackingQueryObserver.java