# 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

_FT_HTML5_bannerTitle.htm