Open topic with navigation

# 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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm