Category Component 25.2
Category Component Help

# Configure Text Parse Queries

Knowledge Discovery can categorize documents or alert users to new content that matches their agents before it indexes the documents. This process includes matching against AgentBoolean rules.

You can configure your pre-indexing tasks to send the percent-encoded IDX or XML document as query text, with the `TextParse` action parameter set to `True`.

When you use an IDX or an XML document as query text, you must configure as `TextParseIndexType` all the fields that you use to match agents and categories.

Knowledge Discovery stores agents and categories in the Agentstore component. Agentstore has its own configuration file, which by default is stored in the following location:

    installDir\agentstore

To configure TextParse fields

1. Open the IDX or XML document that you want to match against the AgentBoolean categories in a text editor.

2. Decide which fields in the document contains the content that you want to match against the AgentBoolean categories (for example, the `DRECONTENT` and the `DRETITLE` field).

3. Open the Agentstore component configuration file in a text editor.

4. In the `[FieldProcessing]` section, add a new process to the list of processes. This process identifies the fields in the IDX or XML document that you want to match against the AgentBoolean categories. For example:

       [FieldProcessing]
       0=SetIndexFields
       ...
       15=SetAgentBooleanFields

5. Create a new section for the process that you added. In this section, create a property for the process (you define the property later, by setting one or more applicable configuration parameters). Set `PropertyFieldCSVs` to a list of fields to associate with the process. If you are not sure which fields to use, type */* to use all fields. For example:

       [SetAgentBooleanFields]
       Property=AgentBooleanFields
       PropertyFieldCSVs=*/DRECONTENT,*DRETITLE

6. Create a new section for the property that you added, in which you set `TextParseIndexType` to `True`. This property indicates that Agentstore must use the associated fields as query text in TextParse queries. For example:

       [AgentBooleanFields]
       TextParseIndexType=True

7. Save and close the configuration file.

8. Restart the Agentstore component for your changes to take effect.

Related Topics

- Fields

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 Category Component 25.2

Topic Title: Configure Text Parse Queries