Open topic with navigation

# TextParse

If you have specified an AgentBooleanField for the query, you can 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 server extracts any `TextParseIndexType` fields in this document, and then uses them as the query Text (the rest of the document is not matched).

When it runs the query, IDOL server checks if documents that match the query Text contain an AgentBoolean field that matches the original query text (that is the `TextParseIndexType` fields in the original XML or IDX document that was passed in as the Text field). It filters out any documents whose AgentBoolean field does not match the original query text before returning results.

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 server Data index. For this purpose, it might be useful to index an empty dummy document that contains all the fields that you use in `TextParse` documents (even you delete the document afterwards).

Actions: | Query
Type: | Boolean
Default: | False
Example: | `TextParse=true`
See Also: | AgentBooleanField FieldTextField

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm