code: @When("^I create an elasticsearch index named '(.+?)'( removing existing index if exist)?$")
      public void createElasticsearchIndex(String index, String removeIndex) {
          if (removeIndex != null && commonspec.getElasticSearchClient().indexExists(index)) {
              commonspec.getElasticSearchClient().dropSingleIndex(index);
          }
          commonspec.getElasticSearchClient().createSingleIndex(index);
      }
docs: Create an elasticsearch index.
  
  @param index