code: @When("^I create a Cassandra index named '(.+?)' with schema '(.+?)' of type '(json|string)' in table '(.+?)' using magic_column '(.+?)' using keyspace '(.+?)' with:$")
      public void createCustomMapping(String index_name, String schema, String type, String table, String magic_column, String keyspace, DataTable modifications) throws Exception {
          String retrievedData = commonspec.retrieveData(schema, type);
          String modifiedData = commonspec.modifyData(retrievedData, type, modifications).toString();
          String query = "CREATE CUSTOM INDEX " + index_name + " ON " + keyspace + "." + table + "(" + magic_column + ") "
                  + "USING 'com.stratio.cassandra.lucene.Index' WITH OPTIONS = " + modifiedData;
          commonspec.getLogger().debug("Will execute a cassandra query: {}", query);
          commonspec.getCassandraClient().executeQuery(query);
      }
docs: Create a Cassandra index.
  
  @param index_name    index name
  @param schema        the file of configuration (.conf) with the options of mappin
  @param type          type of the changes in schema (string or json)
  @param table         table for create the index
  @param magic_column  magic column where index will be saved
  @param keyspace      keyspace used
  @param modifications data introduced for query fields defined on schema