IDOL Category Component 24.2

# Specify Field Names

The following sections provides examples of the fields that you can set in the `DREADD` index action.

You can specify multiple field names by separating them with commas. There must be no space before or after any comma. You can use Wildcards.

When you name fields, use the following formats:

- `/FieldName` matches root-level fields

- `*/FieldName` matches all fields except root-level

- `/Path/FieldName` matches fields with the specified path.

TIP: If you just specify `FieldName`, the IDOL Content component automatically adds */ to it.

Related Topics

- Wildcards in Queries

## ACLFields Example

    &ACLFields=*/AUTONOMYMETADATA

Content reads ACLs from any fields called `AUTONOMYMETADATA`.

## DatabaseFields Example

    &DatabaseFields=Document/DREDbName,*/myDB

Content indexes the document into the database with the name contained in any `DREDbName` field below the `Document` level and with the name contained in any fields called `myDB`.

## DateFields Example

    &DateFields=Document/DREDate,*/myDocDate

Content extracts dates from any fields called `DREDate` contained below the `Document` level and from any fields called `myDocDate`.

NOTE: If you index documents that contain fields with partial dates into Content, the document is assigned a metadata field specifying a full date. This date is the first day of the month if the day is not specified, and the first of January if neither the day or the month are specified. The format of the partial date must be a format specified in the `DateFormatCSVs` configuration parameter.

## DocumentDelimiters Example

    &DocumentDelimiters=*/DOCUMENT,*/SPEECH

The IDOL Content component marks the beginning and end of individual documents in the file by opening and closing `DOCUMENT` and `SPEECH` tags.

## ExpiryDateFields Example

    &ExpiryDateFields=Document/DREExpiryDate,*/myExpiryDate

The IDOL Content component reads the expiration date from any `DREExpiryDate` field below the `Document` level and from any fields called `myExpiryDate`.

## FlattenIndexFields Example

    <documents>
       <article id="_21498602">
          <url>http://example.com/21490.html</url>
          <hltext_display>The history of pharmacogenetics </hltext_display>
          <source>Science Online</source>
          <media_type>text</media_type>
          <subject>
             <text>The prologue to pharmacogenetics began to play out around 1850 and spanned some 60 years into the 1900s.</text>
             <text>In 1953, the molecular basis of heredity, the double helix of DNA, was described.</text>
          </subject>
          <valid_time>Jul 13 2001  5:00AM</valid_time>
       </article>
    </documents>

If you specify `FlattenIndexFields=*/subject`, and index the above document, the IDOL Content component indexes any content in a `subject` field or a field within a `subject` field as the content of the `subject` field.

If you then query the `subject` field for a particular term that is actually contained in a level below the `subject` field (such as the term “pharmacogenetics”), the content of both `text` fields returns. If you do not flatten the `subject` field the query does not return results, because the `subject` field itself does not contain the term.

## IndexFields Example

    &IndexFields=*/DRECONTENT,*/DRETITLE

The IDOL Content component explicitly indexes the `DRECONTENT` and `DRETITLE` field in documents.

## LanguageFields Example

    &LanguageFields=Document/DRELanguageType,*/myLanguageType

In this example, Content reads the language type of documents from any `DRELanguageType` field below the `Document` level and any `myLanguageType` fields.

## MustHaveFields Example

    &MustHaveFields=*/DRECONTENT,*/DRETITLE

In this example, Content stores only the `DRECONTENT` and `DRETITLE` fields in the document.

## SectionFields Example

    &SectionFields=Document/DRESection,*/mySection

In this example, any `DRESection` field below the `Document` level and any `mySection` fields indicate the start of a new section.

## SecurityFields Example

    &SecurityFields=Document/DRESecurity,*/mySecurity

In this example, Content reads the security type of documents from any `DRESecurity` field below the `Document` level and any `mySecurity` fields.

## TitleFields Example

    &TitleFields=*/DRETITLE

In this example, Content reads a document title from its `DRETITLE` field.

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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: IDOL IDOL Category Component 24.2

Topic Title: Specify Field Names