# TextParse

Set `TextParse` to `True` to retrieve the full XML document structure from the document that you specify in DocID or DocRef.

By default, IDOL Category Component retrieves only the index text (document content) from the specified document, and uses that to query the Agentstore component for matching categories.

When you set `TextParse` to `True`, IDOL Category Component retrieves the full XML document structure and sends it to the Category Agentstore with the `TextParse` parameter set to `True` in the `Query` action. 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`, IDOL Category Component also checks whether the 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 text.

Actions: | CategorySuggestFromDocument
Type: | Boolean
Default: | False
Example: | `TextParse=True`
See Also: | AgentBoolean

_FT_HTML5_bannerTitle.htm