Open topic with navigation

# TermPositions

Set `TermPositions` to `True` to generate a list of the positions of the occurrences of any terms that satisfy the specified Boolean expression in a specified document.

For phrases, `TermPositions` returns only the occurrence corresponding to the final term of the phrase. For `WHEN` operators, it returns only the occurrences of the first term or phrase. Other proximity operators are not supported.

Actions: | DocumentStats
Type: | Boolean
Default: |
Example: | `action=DocumentStats&Text="business":MyField&TermPositions=True&MatchID=1034` This example returns a list consisting of the occurrences of the term business that appear in the text of the field `MyField` in the document with ID `1034`. For example: `<autn:positions>(6)11,15,26</autn:positions>` This response indicates that there were three occurrences, in positions 11, 15, and 26 in the field with fieldcode `6`.
See Also: | MatchID MatchReference Text

© 2018 EntIT Software LLC, a Micro Focus company | 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