# Multi-indice facet filtering

**URL:** <https://discuss.elastic.co/t/multi-indice-facet-filtering/297391>\
**Category:** Elasticsearch\
**Created:** [February 16, 2022, 3:58pm UTC](https://discuss.elastic.co/t/multi-indice-facet-filtering/297391 "2022-02-16T15:58:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![merijnkruithof](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/merijnkruithof/32/101895_2.png) [@merijnkruithof](https://discuss.elastic.co/u/merijnkruithof)\
**Post date:** [February 16, 2022, 3:58pm UTC](https://discuss.elastic.co/t/multi-indice-facet-filtering/297391/1 "2022-02-16T15:58:33Z")

</div>

Hi all,

I'm very new to Elasticsearch, so I hope that you guys understand what I'm saying.

We have two indices (training\_programs and vacancies). Those indices share some fields, such as education\_level, and fields that are not shared, such as training\_programs.program\_type and vacancies.work\_experience.

We want to use facets for both indices. The fields that share indices must be accumulated.

We also want to be able to filter on training programs or vacancies. The facets of filter training\_programs should disappear if we select filter vacancies.

## Filters

- Training programs
- Vacancies

## Facets

Global:

- Education level (10) -- training-programs.education\_level + vacancies.training\_level

Training programs:

- Education level (8)
- Program type (4) - this facet should be ign

Vacancies:

- Education level (2)
- Work experience (2)

Sorry for the lack of examples---I wasn't able to work out a solution, so there aren't any.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 17, 2022, 1:13am UTC](https://discuss.elastic.co/t/multi-indice-facet-filtering/297391/2 "2022-02-17T01:13:18Z")

</div>

Welcome to our community! 😃 We aren't all guys though 🙂

It's still a little unclear what you are asking here. It might help if you could share the mappings for these two indices, and then using that, break down what you are looking for.

---

<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 17, 2022, 1:13am UTC](https://discuss.elastic.co/t/multi-indice-facet-filtering/297391/3 "2022-03-17T01:13:42Z")

</div>

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