Find 23.2

# Configure Find with Different IDOL Document Root Fields

In most standard IDOL configurations, index XML files have a root field `DOCUMENTS`, which contains all the individual documents and fields. Depending on your IDOL configuration, you might have other root fields. In this case you must also configure Find to recognize the different document root fields so that it can extract the parametric fields from different documents.

To configure Find to recognize different IDOL root fields

1. Go to the Find home directory.

2. Open `config.json` in a text editor.

3. Find the `idolFieldPathNormalizerXMLPrefixes` property (or add it if it does not exist), and set it to an array of XML root fields that you want to use. For example:

       "idolFieldPathNormalizerXMLPrefixes" : [ "DOCUMENTS", "ADMISSIONLIST" ]

4. Save the file, and then restart Find to apply your configuration changes.

NOTE: If you define custom field roots, you cannot use full field paths in your `fieldsInfo` configuration (in the `names` array). You must specify the leaf field node only. For example, if your documents include the field `ADMISSIONLIST/DOCUMENT/COUNTRY_ORIGIN`, specify it as `COUNTRY_ORIGIN` only:

    "fieldsInfo": {
       "country": {
          "names": [ "COUNTRY_ORIGIN" ]
       }

Copyright 2015-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Find 23.2

Topic Title: Configure Find with Different IDOL Document Root Fields