code: public String newIndex(final String name,
                           final String mappingPath) throws IndexException {
      try {
        final String newName = name + newIndexSuffix();
  
        final IndicesAdminClient idx = getAdminIdx();
  
        final CreateIndexRequestBuilder cirb = idx.prepareCreate(newName);
  
        final File f = new File(mappingPath);
  
        final byte[] sbBytes = Streams.copyToByteArray(f);
  
        cirb.setSource(sbBytes);
  
        final CreateIndexRequest cir = cirb.request();
  
        final ActionFuture<CreateIndexResponse> af = idx.create(cir);
  
        /*resp = */af.actionGet();
  
        //index(new UpdateInfo());
  
        info("Index created");
  
        return newName;
      } catch (final ElasticsearchException ese) {
        // Failed somehow
        error(ese);
        return null;
      } catch (final IndexException ie) {
        throw ie;
      } catch (final Throwable t) {
        error(t);
        throw new IndexException(t);
      }
    }
docs: create a new index and return its name. No alias will point to
  the new index.
  
  @param name basis for new name
  @param mappingPath path to mapping file.
  @return name of created index.
  @throws IndexException for errors