Open topic with navigation

# Fields that Contain a Specified ReferenceMemoryMappedType Field

## MATCHRECURSE

The `MATCHRECURSE` field specifier matches documents that contain a specified reference in a `ReferenceMemoryMappedType` field recursively to a maximum number of times. You must restrict this field specifier to a single `ReferenceMemoryMappedType` field. It has the following syntax:

    action=Query&FieldText=MATCHRECURSE{Ref,RecurseNumber}:yourField

where:

`Ref` | is the initial reference.
`RecurseNumber` | is the maximum number of times to recursively return references by using the value of the `ReferenceMemoryMappedType` field.
`yourField` | is the name of the `ReferenceMemoryMappedType` field.

For example, if you define `PARENT` as a `ReferenceMemoryMapped` field, the query

    action=Query&FieldText=MATCHRECURSE{MyRef,1}:PARENT

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

    action=Query&FieldText=MATCHRECURSE{MyRef,2}:PARENT

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

© 2018 EntIT Software LLC, a Micro Focus company | Send documentation feedback to Micro Focus Close Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm