IDOL Category Component 12.11

# TextParse

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

By default, IDOL Category Component 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 Category Component treats the query text as an XML or IDX document (it automatically detects the correct format). IDOL Category Component 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 Category Component 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 Category Component 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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Category Component 12.11

Topic Title: TextParse