View Component 25.2
View Component Help

# 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 action, OpenText recommends that you use the 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 2025 Open Text
Version 25.2 | Last updated April 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 View Component 25.2

Topic Title: BOOLEANFIELD