Open topic with navigation

# TermPositions

Set `TermPositions` to `True` to generate a list of the field codes and positions of the occurrences of a specified term. You can specify multiple terms, but only one document ID or reference.

TIP:

To determine the fields to which each field code corresponds, use the GetTagNames action with the FieldCode parameter.

Actions: | TermGetInfo
Type: | Boolean
Default: | False
Example: | `action=TermGetInfo&Text=term&MatchID=23&TermPositions=True` This example might generate the following response: `<autn:term apcm_weight="123" document_occurrences="1" total_occurrences="4" pos="(4)0(6)11,15,19,22">` This response indicates there was one occurrence of term in position `0` in the field with field code `4`, and there were four occurrences with positions `11`, `15`, `19`, and `22` in the field with field code `6`.
See Also: | MatchID MatchReference Text GetTagNames action

© 2017 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