To enable use of spelling features in the MDEX Engine, you must first
use the
--spellpath flag to specify the path to the
directory containing the spelling support files.
If you are using the Oracle Commerce Application Controller to provision and
run the dgraph, then this flag is set automatically. By default, the dgraph
component looks for the Aspell spelling support files in its input directory
(that is, the Dgidx output directory). If you want to specify an alternative
location, you can do so using the
spellPath element in the WSDL, or by specifying
arguments to the dgraph in Oracle Commerce Workbench.
If you need to, you can specify the
--spellpath parameter yourself. The value of the
--spellpath parameter typically matches the
value specified for
--out on the
dgwordlist program.
Note the following about the
--spellpath flag:
The directory passed to the
--spellpathflag must be an absolute path. Paths relative to the current working directory are not allowed. This directory must have write permissions enabled for the user starting the MDEX Engine process.The
--spellpathoption on the MDEX Engine is required for spelling features to be enabled, but this flag does not activate any spelling features on its own. Additional flags are required to enable actual spelling correction in the MDEX Engine.

