How to Script or Automate index_config_cmd Confirmation in CAS-Based Deployment

(Doc ID 2125931.1)

Last updated on APRIL 22, 2016

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 11.0 and later
Information in this document applies to any platform.


The CAS-based deployment template's "index_config_cmd" tool does not include a mechanism to automatically accept prompts, such as a "-y" or "--noprompt" argument.

We have a CAS based application (forge-less) where index configuration is generated by another process, and imported to Endeca via

The index config is generated by three seperate proceses, so each slice of the configuration is imported separately and owned by a separate user.

./ set-config -f ../config/index_config/application_index-config-attributes.json -o attributes
./ set-config -f ../config/index_config/application_index-config-ranges.json -o ranges
./ set-config -f ../config/index_config/application_index-config-searchConfig.json -o system

The index_config_cmd tool requires input to accept that a new owner is created, or if that owner exists, to accept the overwrite of that owner's existing configuration.

Is there a way to work around this requirement for manual input?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms