The Index Configuration Command-line Utility modifies index configuration stored in the Endeca Configuration Repository for an application. This utility is typically used to modify data after it has been exported from a product catalog system and modify the search configuration settings for the data. In many cases, the utility is also used to manually create index configuration that is not part of a product catalog system.
The Index Configuration Command-line Utility is a script named
index-config-cmd
that you run from a command prompt.
After you deploy a new application, the
index-config-cmd
script is available in the
<app name>\control
directory.
Note
Use of the Index Configuration Command-line utility (index_config_cmd.[bat|sh]) is deprecated. Use runcommand.sh IFCR exportContent and runcommand.sh IFCR importContent to configure properties and dimensions. For more information, see the Oracle Commerce Guided Search Configuration Guide.
The Index Configuration Command-line Utility has two help options that
display the usage syntax. The
--help
option displays a summary of the tasks.
The
--help-detail
option displays detailed usage
information for a specified task. For example:
C:\Endeca\apps\Discover\control>index_config_cmd.bat --help usage: index-config-cmd <task-name> [options] where <task-name> is one of the following: get-config set-config delete-owner get-merged-config For detailed usage information for individual task options, use <task-name> --help
The command syntax for executing the tasks is:
index_config_cmd <task-name> [options]
The
<task-name>
argument is the task to be
performed by the utility, such as the
get-config
task. The task options vary, depending on
the task. However, the following option can be used with any task:
-o
(or--owner
) specifies an import owner for a task. If you specify the-o
option, the task applies only to the owner specified. The option can have an argument ofall
,system
, or user-specified owner name. Theall
owner includes both thesystem
owner and all user-specified owners. If you omit this option, the task applies to thesystem
owner.