public <K, V> InvertedIndex<K, V, Input> get(IndexId<K, V> key) {
    //noinspection unchecked
    return (InvertedIndex<K, V, Input>)myIndices.get(key);
  }
public <K, V> InvertedIndex<K, V, Input> get(IndexId<K, V> key)