The MATCHRECURSE field specifier matches documents containing a specified reference in a
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 |
yourField
|
The name of the |
For example:
In this example, PARENT is a
action=query&fieldtext=MATCHRECURSE{MyRef,1}:PARENT
matches the document with reference MyRef (parent) and documents whose PARENT field contains MyRef (children). The query
action=query&fieldtext=MATCHRECURSE{MyRef,2}:PARENT
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).
|
|