Has Child / Has Parent Filters

edit

Has Child / Has Parent Filters

edit

See: * Has Child Filter * Has Parent Filter

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

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