IDOL Content Component 23.2

# MatchReference

NOTE: This parameter description applies only to the DocumentStats action.

The percent-encoded reference of a document from which to return the term position for the specified text. The `MatchReference` or MatchID parameter must refer to exactly one document section. You can also set the ReferenceField parameter to specify the reference field that this reference value must occur in.

If the reference contains plus symbols (+) or spaces, you must percent-encode the reference.

Actions: | DocumentStats
Type: | String
Default: |
Example: | `action=DocumentStats&Text="business":MyField&TermPositions=True&MatchReference=http%253A%252F%252Fwww%252Eexample%252Ecom%252F%253Fscript%252Epl%2526query%253Dtest%2B` 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 specified by the URL. For example: `<autn:positions>(6)11,15,26</autn:positions>` This response means that there were three occurrences, all in the field with fieldcode `6`, and in positions 11, 15, and 26.
See Also: | MatchID TermPositions ReferenceField

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

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 IDOL Content Component 23.2

Topic Title: MatchReference