A Dgidx component sends the finished data prepared by Forge to the Dgidx program, which generates the proprietary indices for each Dgraph.

Every Application Controller element contains the following attributes:

The Dgidx element contains the following sub-elements:

Sub-element

Description

args

Command-line flags to pass to Dgidx, expressed as a set of arg sub-elements. If an argument takes a value, the argument and value must be on separate lines in the provisioning file. For example:

<args>
    <arg>--threads</arg>
    <arg>3</arg>
</args>

app-config-prefix

Path and file prefix that define the input for Dgidx. For example, in /endeca/project/files/myProject, files beginning with myProject in the directory /endeca/project/files are the ones to be considered.

output-prefix

Required. Path and prefix name for the Dgidx output. For example, output_prefix = c:\temp\wine generates files that start with “wine” in the c:\temp directory.

log-file

The path to and name of the Dgidx log files. If the log-file is not specified, the default is component working directory plus component name plus “.log”. Dgidx can generate three distinct log files: the basic component log file, and two files that log the subtasks described in run-aspell, below.

input-prefix

Required. Path and prefix name for the Forge output that Dgidx indexes.

working-dir

Working directory for the process that is launched. If it is specified, it must be an absolute path. If any of the other properties of this component contain relative paths, they are interpreted as relative to the working directory. If working-dir is not specified, it defaults to $ENDECA_CONF/work/<appName>/<componentName> on UNIX, or %ENDECA_CONF%\work\<appName>/<componentName> on Windows.

run-aspell

Specifies Aspell as the spelling correction mode for the implementation. This causes the Dgidx component to run dgwordlist and to copy the Aspell files to its output directory, where the Dgraph component can access them. The default is true. See log-file above for details on the logging of these subtasks. For Aspell details, see the MDEX Engine Developer's Guide.

temp-dir

A temporary directory used by this component.



Copyright © Legal Notices