Perform AgentBoolean Queries

After you create or index AgentBoolean categories and agents, you can start querying them.

To match documents that already exist in the IDOL Content component against the categories and agents, use the following actions:

To match IDX or XML documents that do not exist in the IDOL Content component, you can use the following actions with the TextParse parameter:

  • CategorySuggestFromText. Returns categories that match the text you provide.

  • Query. Returns documents that match the text you provide.

    NOTE: You must send the Query action to the IDOL Agentstore component to return agents or categories.

This query finds the categories that conceptually match the query text in the Activated Agentstore database. It then checks which of these categories contain a Boolean expression in their myAbfield that the fields in the percent-encoded document match.

NOTE: Agentstore also returns agents and categories that match the query text and do not contain the AgentBoolean or FieldText field.

Agentstore returns only categories that match the document conceptually and contain a Boolean expression that matches the document fields. For example:

  • Agentstore returns a category that conceptually matches the document if its myABfield contains, for example, one of these Boolean expressions:

    cat AND dog
    cat:DRETITLE AND dog
  • Agentstore does not return a category that conceptually matches the document if its myABfield contains, for example, one of these Boolean expressions:

    cat AND mat
    cat AND dog:Animal10

    (because Animal10 is not configured as a TextParseIndexType field).