# ShowReasons

Set `ShowReasons` to `True` to return additional information in the response for each result document, displaying the words, phrases, and expressions in the document that match the query Text.

The `<autn:reasons>` result tag contains an `<autn:name>` tag for each field that contains a match, and an `<autn:reason>` tag for each matching expression. The `<autn:reason>` tag also contains a `positions` attribute, which lists the field code for a matching field, followed by the byte offset for each match in that field. For example:

    <autn:reasons>
       <autn:name code="12">DOCUMENT/DRECONTENT</autn:name>
       <autn:name code="14">DOCUMENT/INDEXFIELD</autn:name>
       <autn:reason positions="(12)169,450,644,1167,1337,1435,(14)0">fish</autn:reason>
       <autn:reason positions="(12)226,358,1610">fishing</autn:reason>
    </autn:reasons>

Actions: | Query
Type: | Boolean
Default: | False
Example: | `ShowReasons=True`
See Also: | Text

© Copyright 2020 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