Has Child / Has Parent Filters

edit

Has Child / Has Parent Filters

edit

See: * Has Child Filter * Has Parent Filter

// Has Child
QFilterBuilders.hasChildFilter("blog_tag",
    QueryBuilders.termQuery("tag", "something"));

// Has Parent
QFilterBuilders.hasParentFilter("blog",
    QueryBuilders.termQuery("tag", "something"));