IDOL Server 24.1

# TextParse

Set `TextParse` to `True` if you want to provide an XML or IDX document as QueryText. In this case, IDOL Server sets TextParse to `True` in the Query action that it sends to the Agentstore component.

By default, IDOL Server assumes that you provide simple text in the QueryText parameter, and uses this text to query the Agentstore component for matching categories.

When you set `TextParse` to `True`, IDOL Server treats the query text as an XML or IDX document (it automatically detects the correct format). IDOL Server extracts any TextParseIndexType fields in the document and uses them as the query text when it retrieves matching categories. It does not match the rest of the document.

If you also set AgentBoolean to `True`, IDOL Server also checks if categories that match the query text contain an AgentBoolean field that matches the original query document (that is, the entire XML or IDX document). ). It returns only categories that have an AgentBoolean field that matches the original query document.

NOTE: Setting AgentBoolean to `True` implicitly sets `TextParse` to `True`. In this case, if you do not provide an XML or IDX document in the QueryText, IDOL Server cannot match the text and returns an error.

When you set `TextParse` to `True`, the text that you provide must be a valid IDX or XML document, which in XML must include XML headers and an appropriate document delimiter tag (see DocumentDelimiterCSVs).

Actions: | CategorySuggestFromText
Type: | Boolean
Default: | False
Example: | `TextParse=True`
See Also: | AgentBoolean TextParseIndexType configuration parameter

Copyright 2023 Open Text
Version 24.1 | Last updated December 2023

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: IDOL Server 24.1

Topic Title: TextParse