# Configure IDOL Server for Text Parse Queries

IDOL Server 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.

IDOL stores agents and categories in the IDOL 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 IDOL 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 IDOL Agentstore component for your changes to take effect.

Related Topics

- Fields

_FT_HTML5_bannerTitle.htm