IDOL Server 12.12

# 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

© 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