class Client {

  public Index getIndexByName(String string) {
    Index[] indices = getIndices();
    for (Index index : indices) {
      if (index.getName().equals(string)) {
        return index;
      }
    }
    return null;
  }

  public  Client(Configuration conf);

}