Has Child / Has Parentedit

See: * Has Child Query * Has Parent

// Has Child
QueryBuilder qb = hasChildQuery(
    "blog_tag",                     
    termQuery("tag","something")    
);

child type to query against

query (could be also a filter)

QueryBuilder qb = hasParentQuery(
    "blog",                         
    termQuery("tag","something")    
);

parent type to query against

query (could be also a filter)