Open topic with navigation

# 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 also matches the query text, Distributed Action Handler 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 `DREFUZZY` `N` in AgentBoolean expressions.

Actions: | Query
Type: | String
Default: |
Example: | `AgentBooleanField=MyBooleanField`
See Also: | FieldTextField TextParse

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm