When using this transformer, the parentFilter
parameter must be specified unless the schema declares _nest_path_
. It works the same as in all Block Join Queries. Additional optional parameters are:
childFilter
: A query to filter which child documents should be included. This can be particularly useful when you have multiple levels of hierarchical documents. The default is all children. This query supports a special syntax to match nested doc patterns so long as _nest_path_
is defined in the schema and the query contains a /
preceding the first :
. Example: childFilter=/comments/content:recipe
limit
: The maximum number of child documents to be returned per parent document. The default is 10
fl
: The field list which the transformer is to return. The default is the top level fl
).
There is a further limitation in which the fields here should be a subset of those specified by the top level fl
parameter.
Sai
July 1, 2021This is very useful. Thank you so much.