Open topic with navigation

# 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). HPE 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, HPE Content Component 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 HPE Content Component 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 IDOL Server Administration Guide.

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

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm