Has Child / Has Parent Filters

edit

Has Child / Has Parent Filters

edit

See: * Has Child Filter * Has Parent Filter

// Has Child
QueryBuilder qb = hasChildFilter(
    "blog_tag",                     
    termFilter("tag","something")   
);

child type to query against

filter (could be also a query)

// Has Parent
QueryBuilder qb = hasParentFilter(
    "blog",                         
    termFilter("tag","something")   
);

parent type to query against

filter (could be also a query)