You can create index configuration instance by importing
a JSON file that contains index configuration instances. The JSON
file can contain array of index configuration instances or a single
index configuration string.
Before you begin
Before you
create index configuration instance from an imported JSON file, you
must create an Insight Pack Eclipse
project
About this task
Use the Index Configuration Editor to
create new index configuration instances by importing a JSON file.
Use the same editor to edit index configuration.
Procedure
- In the Eclipse Navigator pane, double-click
the indexconfig_spec.ucdk file to start the Index
Configuration Editor. Alternatively, right-click on the
file and click Open from the menu.
- Open the Overview tab.
- Click Create from JSON to import
a JSON file that contains index configuration instances.
- In the Create from JSON dialog, browse
and select the JSON file that you want and click Next.
- From the list of index configuration instances, select
the instances that you want include in the Insight Pack.
You can individually select items or use the Select all or Deselect
all options. When you are finished selecting index configuration
instances, click Finish.
The
index configuration instances and fields display in the Overview tab.
- Save the index configuration.
Results
The index configuration file is updated with the new metadata
and field details.