View Component 25.2
View Component Help

# 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 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 field. You must also specify the 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 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 2025 Open Text
Version 25.2 | Last updated April 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery View Component 25.2

Topic Title: LINK