# Select all facets

**URL:** <https://discuss.elastic.co/t/select-all-facets/325149>\
**Category:** Elasticsearch\
**Created:** [February 9, 2023, 1:59pm UTC](https://discuss.elastic.co/t/select-all-facets/325149 "2023-02-09T13:59:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![athiraaravindan](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@athiraaravindan](https://discuss.elastic.co/u/athiraaravindan)\
**Post date:** [February 9, 2023, 1:59pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/1 "2023-02-09T13:59:44Z")

</div>

how can a select all facets values on a page load using the config  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/c/5cad856f7a50ae51fe587ccb3b6dabed172c3668.png)

---

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [February 9, 2023, 2:42pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/2 "2023-02-09T14:42:59Z")

</div>

Hi @athiraaravindan

I didn't quite understand your question, could you explain it better?

---

<div class="post-metadata">

**Author:** ![athiraaravindan](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@athiraaravindan](https://discuss.elastic.co/u/athiraaravindan)\
**Post date:** [February 9, 2023, 3:12pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/3 "2023-02-09T15:12:43Z")

</div>

sure how can i achieve while a page load all the value selected in Facets components and shows results according to that in elastic app search ui

---

<div class="post-metadata">

**Author:** ![athiraaravindan](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@athiraaravindan](https://discuss.elastic.co/u/athiraaravindan)\
**Post date:** [February 9, 2023, 3:13pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/4 "2023-02-09T15:13:30Z")

</div>

I want to show all the checkbox checked and work filter according to that on a single click

---

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [February 9, 2023, 3:40pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/5 "2023-02-09T15:40:20Z")

</div>

Facets are filters that limit the results of document attributes. In this case, if you want to narrow down the results, select an option available on the facet.

To me, it doesn't make sense to load with all options selected because that would remove the purpose of the facet.

---

<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:** [March 9, 2023, 3:40pm UTC](https://discuss.elastic.co/t/select-all-facets/325149/6 "2023-03-09T15:40:23Z")

</div>

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