IDOL Category Component 23.4

# LINK

The `LINK` field specifier (case sensitive) allows you to link a query to a document of a different type to find results. For example, it allows you to link a query to interests in a user profile.

You use the `LINK` specifier to specify a `ReferenceMemoryMappedType` field that references the documents that you want to link the query to. The `LINK` specifier links result documents that have one value in this field to documents that have the same value in a `ReferenceType` field. You must also specify the `LinkFieldText` parameter, to specify the field values that you want to find in the documents that the `LINK` field references.

## Format

    FieldText=LINK{}:yourField

`yourField` | A single `ReferenceMemoryMappedType` field, which references the documents that you want to link your query to.

## Example

    Text=Brazil&FieldText=LINK{}:USERREF&LinkFieldText=MATCH{FOOTBALL}:INTEREST

This query returns documents that contain the term `Brazil`. In the matching documents, it links the value of the `USERREF` field to documents that have the same value in the reference field. The final results set contains only documents that contain the term `Brazil`, where the linked document contains an `INTEREST` field with the value `FOOTBALL`.

For example, if the `USERREF` field contains a username, which also occurs in the reference field of a user profile, this query finds documents about Brazil by users whose user profile lists `FOOTBALL` as an interest. This method might help restrict results to documents about the Brazilian world cup, rather than the film Brazil.

Copyright 2023 Open Text
Version 23.4 | Last updated September 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 Category Component 23.4

Topic Title: LINK