# Setting up parent/child facets with web crawler

**URL:** https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [June 17, 2021, 5:05pm UTC](https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293 "2021-06-17T17:05:00Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tchocky](https://avatars.discourse-cdn.com/v4/letter/t/b77776/32.png) [@tchocky](https://discuss.elastic.co/u/tchocky)
#### Post date: [June 17, 2021, 5:05pm UTC](https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293/1 "2021-06-17T17:05:00Z")

</div>

Hi all -

I am using HTML meta tags to add facets to my content when it is crawled. Is there any way to make this hierarchal? I have parent and child categories that I would like to be shown as parent/child checkboxes when using the Reference UI (the screenshot on the page when building out the UI shows that as possible). Below is a sample of my HTML.

I'm on version 7.13.1

Thanks.

```auto
<meta class="elastic" name="categories" content="Category 1"> 
<meta class="elastic" name="child_categories" content="Child Category A">
<meta class="elastic" name="categories" content="Category 2"> 
<meta class="elastic" name="child_categories" content="Child Category B"> 

```

 ![Screenshot 2021-06-17 110054](https://us1.discourse-cdn.com/elastic/original/3X/e/d/edd6f24862eafd5d51349a62a209b702db233b0e.png)

---

<div class="post-metadata">

### Author: ![constancecchen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/constancecchen/32/71762_2.png) [@constancecchen](https://discuss.elastic.co/u/constancecchen)
#### Post date: [June 18, 2021, 1:07am UTC](https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293/2 "2021-06-18T01:07:03Z")

</div>

Hey @tchocky! So unfortunately I think the placeholder graphic you highlighted is actually misleading there - Reference UI doesn't come with nested facet fileters out of the box as far as I know. If you really wanted that UX, that's likely something you'd need to create a [custom Search UI](https://github.com/elastic/search-ui) for yourself.

CCing @JasonStoltz in here as he'd know for sure - he'll be around on Monday to confirm for sure (and also if we should maybe change that graphic, haha 🤦‍♀️)

Apologies I couldn't be more helpful, and thanks for your patience!

---

<div class="post-metadata">

### Author: ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)
#### Post date: [June 21, 2021, 2:43pm UTC](https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293/3 "2021-06-21T14:43:23Z")

</div>

You're correct Constance. Additionally, there's no first class support for hierarchical facets in App Search or Search UI either.

Here is a guide to implement Hierarchical Facets generally in App Search: [Hierarchical Facets Guide | Elastic App Search Documentation [7.13] | Elastic](https://www.elastic.co/guide/en/app-search/current/hierarchical-facets-guide.html)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 19, 2021, 2:43pm UTC](https://discuss.elastic.co/t/setting-up-parent-child-facets-with-web-crawler/276293/4 "2021-07-19T14:43:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
