Content Component 25.2
Content Component Help

# TextParse

Set `TextParse` to `True` to treat the specified Text as a percent-encoded document in IDX or XML format (the correct format is automatically detected). The Content component extracts any TextParseIndexType fields in this document, and then uses them as the query Text (it does not use the rest of the query document as query text).

You can use this option to run an AgentBoolean search, for example to find categories that the query document matches. In this case, you can also set the AgentBooleanField and FieldTextField parameters to specify fields in the agents or categories that contain a Boolean or FieldText expression that the query document must also match.

After the initial match against the query text, Content matches the query document content against the Boolean or proximity expression in the AgentBooleanField. For documents that match this expression, it also checks the fields in the query document against the FieldText expression in the FieldTextField.

NOTE: All fields in the `TextParse` document that contain text that you want the AgentBoolean expression to match must appear in at least one document in the Content data index. For this purpose you might need to index an empty dummy document that contains all the fields that you use in `TextParse` documents (even if you delete the document afterward). For more information, refer to the Knowledge Discovery Administration Guide.

Actions: | Query GetQueryTagValues TermGetInfo
Type: | Boolean
Default: | False
Example: | `TextParse=True`
See Also: | AgentBooleanField FieldTextField TextParseIndexType configuration parameter

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

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: Knowledge Discovery Content Component 25.2

Topic Title: TextParse