Find 25.1
Find Administration Guide

# Configure Different Document Root Fields

In most standard configurations, index XML files have a root field `DOCUMENTS`, which contains all the individual documents and fields. Depending on your Content component 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 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-2024 Open Text
Version 25.1 | Last updated January 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Find 25.1

Topic Title: Configure Different Document Root Fields