MatchReference

The percent-encoded references of documents to use to restrict the term occurrence information. If you set MatchReference, TermGetInfo returns information about the number of documents in the specified set that contain the query terms, and the total number of times the terms occur in those documents.

You can also set the ReferenceField parameter to specify the reference field that these reference values must occur in.

You should percent-encode document references. This ensures that any reserved characters that are part of a reference are not interpreted as query syntax. If you are sending HTTP requests using the content-type application/x-www-form-urlencoded you should percent-encode all parameter values, meaning that document references are percent-encoded twice. For more information, see Percent Encoding in Queries.

Actions: TermGetInfo
Type: String
Default:  
Example: MatchReference=http%253A%252F%252Fwww%252Eexample%252Ecom%252F%253Fscript%252Epl%2526query%253Dtest%2Bhttp%253A%252F%252Fwww%252Eexample%252Ecom%252F%253Fscript%252Epl%2526query%253Dcat%252Bdog
See Also: