# AgentBooleanField

A document field that contains AgentBoolean matching expressions.

AgentBoolean fields contain Boolean or proximity matching expressions. In an AgentBoolean query, the query matches the query text against document content, and then checks the AgentBoolean field for matching documents. If the AgentBoolean expression in the document also matches the query text, IDOL Content Component returns the document as a result.

For example:

    action=Query&Text=The cat sat on the mat&AgentBooleanField=MyBooleanField

This query returns a document if:

- the document text matches at least one of the terms the cat sat on the mat.
- the `MyBooleanField` contains a Boolean or proximity expression that matches the cat sat on the mat, for example, `cat AND mat`, `cat OR mat`, `cat BEFORE mat`, and `cat DNEAR1 sat`.

If the text matches, but the `MyBooleanField` contains an expression that does not match (for example, `cat AND mat AND dog` or `mat BEFORE dog`), the document does not return.

NOTE: You can also use fuzzy operators such as `DREFUZZY` and `DREFUZZYN`, and the `SOUNDEX` operator, in AgentBoolean expressions.

Actions: | Query GetQueryTagValues
Type: | String
Default: |
Example: | `AgentBooleanField=MyBooleanField`
See Also: | FieldTextField action parameter TextParse action parameter Fuzzy Search query type

_FT_HTML5_bannerTitle.htm