IDOL Community Component 12.13

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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 Community Component 12.13

Topic Title: Fields that Contain a Specified ReferenceMemoryMappedType Field