The
transform-forge-output
task generates dimension value ID
mappings, a configuration file containing information about all the property
and dimension attributes that are used during indexing and also transforms the
information related to data and dimensions to CAS input format. The transformed
data is copied to an output folder specified when you execute the command.
You can use the transformed data for the following activities:
The syntax
for the
transform-forge-output
task is:
forge2cas-cmd transform-forge-output -s SourceLocation -n ApplicationName [-o OutputLocation] forge2cas-cmd transform-forge-output --source SourceLocation --appName ApplicationName [-output OutputLocation]
Where:
-s
(or--source
) specifies the source location containing the Forge output files. This location is given as input to the utility. Required.Note
If some of the files inside the forge output location specified by the
-s
option are in gzip zipped format, the utility unzips the files before processing.-n
(or--appName
) specifies the name of the Guided Search Forge application. The utility identifies and parses the required configuration files from the source location using this application name. Required.-o
(or--output
) specifies output location for transformed CAS input files. Optional.Note
If the output directory specified by
-o
exists, the transformed files are copied to that location. If the directory specified by the-o
option does not exist, the utility creates the complete parent directory structure before copying the files to the output directory. If the output directory is not specified, a new folder, cas-input, is created inside the source location and the transformed files are copied to that folder.