IDOL Content Component 23.2

# Fields whose Values are Boolean Agents

## BOOLEANFIELD

The `BOOLEANFIELD` field specifier (case sensitive) allows you to find documents in which a specified Boolean agent field contains an expression that matches text you specify. A Boolean agent is a Boolean or proximity expression that legacy technologies use to categorize documents.

NOTE: If you are using a Query action, OpenText recommends that you use the AgentBooleanField action parameter rather than the `BOOLEANFIELD` field specifier. However, if you want to match more than one Boolean agent field, you must use the `BOOLEANFIELD` field specifier.

    FieldText=BOOLEANFIELD{yourText}:yourFields

where:

`yourText` | is text. A document returns only if one of `yourFields` contains a Boolean or proximity expression that matches the specified text.
`yourFields` | is one or more Boolean agent fields. A document returns only if it contains one of these fields, and if this field contains a Boolean or proximity expression that matches `yourText`. If you want to specify multiple fields, separate them with colons (there must be no space before or after a colon).

For example:

    BOOLEANFIELD{The cat sat on the mat}:MyFirstBooleanField:MySecondBooleanField

Any document that has a `MyFirstBooleanField` or `MySecondBooleanField` field that contains a Boolean or proximity expression that matches the specified text returns. For example, the Boolean and proximity expressions `cat AND mat`, `cat OR mat`, `cat BEFORE mat`, and `cat DNEAR1 sat` could match The cat sat on the mat. Therefore, documents that contain any of these Boolean and proximity expressions are returned.

Documents whose `MyFirstBooleanField` or `MySecondBooleanField` fields contain, for example, `cat AND mat AND dog` or `mat BEFORE cat` are not returned.

Copyright 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 IDOL Content Component 23.2

Topic Title: Fields whose Values are Boolean Agents