Distributed Action Handler 12.12

# 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 specified by you. A Boolean agent is a Boolean or Proximity expression that legacy technologies use to categorize documents.

NOTE: For the `Query` action, Micro Focus 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.

## Format

    FieldText=BOOLEANFIELD{yourText}:yourFields

`yourText` | Query text. A document returns only if one of `yourFields` contains a Boolean or Proximity expression that matches the specified text.
`yourFields` | 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`. Separate multiple fields with colons (`:`). There must be no space before or after a colon.

## Example

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

This query returns documents that have a `MyFirstBooleanField` or `MySecondBooleanField` field that contains a Boolean or Proximity expression that matches the specified text. For example, the expressions `cat AND mat`, `cat OR mat`, `cat BEFORE mat` and `cat DNEAR1 sat` can match `The cat sat on the mat`, therefore documents that contain any of these expressions return.

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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

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 Distributed Action Handler 12.12

Topic Title: BOOLEANFIELD