Content Component 26.1
Content Component Help

# MATCHRECURSE

The `MATCHRECURSE` field specifier matches documents containing a specified reference in a ReferenceMemoryMappedType field recursively to a maximum number of times. This field specifier must be restricted to a single ReferenceMemoryMappedType field.

## Format

    FieldText=MATCHRECURSE{Ref,RecurseNumber}:YourField

`Ref` | The initial reference. The matching is case-independent.
`RecurseNumber` | The maximum number of times to recursively return references using the value of the ReferenceMemoryMappedType field.
`yourField` | The name of the ReferenceMemoryMappedType field.

## Example

For example:

In this example, `PARENT` is a ReferenceMemoryMappedType field.

    action=query&fieldtext=MATCHRECURSE{MyRef,1}:PARENT

This query matches the document with reference `MyRef` (parent) and documents whose `PARENT` field contains `MyRef` (children).

    action=query&fieldtext=MATCHRECURSE{MyRef,2}:PARENT

This query matches the document with reference `MyRef` (parent), documents whose `PARENT` field contains `MyRef` (children), and documents whose `PARENT` field contains the references in the returned child documents (grandchildren).

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

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 Content Component 26.1

Topic Title: MATCHRECURSE