docs: public JestClient createClient(Map<String, String> config, String defaultIndexName) {
          JestClient client;
          String indexName = config.get("client.index"); //$NON-NLS-1$
          if (indexName == null) {
              indexName = defaultIndexName;
          }
          client = createLocalClient(config, indexName, defaultIndexName);
          return client;
      }