TextParse
Set TextParse
to True
if you want to provide an XML or IDX document as QueryText. In this case, the Category component sets TextParse
to True
in the Query
action that it sends to the Agentstore component.
By default, Category assumes that you provide simple text in the QueryText parameter, and uses this text to query Agentstore for matching categories.
When you set TextParse
to True
, Category treats the query text as an XML or IDX document (it automatically detects the correct format). Agentstore 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
, Agentstore 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, Agentstore 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 |