Class ChildDocTransformerFactory

  • All Implemented Interfaces:

    public class ChildDocTransformerFactory
    extends TransformerFactory
    solr 4.9 This transformer returns all descendants of each parent document in a flat list nested inside the parent document. The "parentFilter" parameter is mandatory. Optionally you can provide a "childFilter" param to filter out which child documents should be returned and a "limit" param which provides an option to specify the number of child documents to be returned per parent document. By default it's set to 10. Examples - [child parentFilter="fieldName:fieldValue"] [child parentFilter="fieldName:fieldValue" childFilter="fieldName:fieldValue"] [child parentFilter="fieldName:fieldValue" childFilter="fieldName:fieldValue" limit=20]