# 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). IDOL 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, IDOL 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 IDOL 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

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm