docs: Indexes getIndexes(String name) {
          Indexes ixs = indexes.get(name);
          if (ixs == null) {
              MapServiceContext mapServiceContext = mapService.getMapServiceContext();
              MapContainer mapContainer = mapServiceContext.getMapContainer(name);
              if (mapContainer.isGlobalIndexEnabled()) {
                  throw new IllegalStateException("Can't use a partitioned-index in the context of a global-index.");
              }
  
              Indexes indexesForMap = mapContainer.createIndexes(false);
              ixs = indexes.putIfAbsent(name, indexesForMap);
              if (ixs == null) {
                  ixs = indexesForMap;
              }
          }
          return ixs;
      }