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