IDOL Server 12.12

# 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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Server 12.12

Topic Title: TermPositions