# Separate engines per product type?

**URL:** https://discuss.elastic.co/t/separate-engines-per-product-type/272163
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [May 5, 2021, 9:41am UTC](https://discuss.elastic.co/t/separate-engines-per-product-type/272163 "2021-05-05T09:41:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Peter418](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@Peter418](https://discuss.elastic.co/u/Peter418)
#### Post date: [May 5, 2021, 9:41am UTC](https://discuss.elastic.co/t/separate-engines-per-product-type/272163/1 "2021-05-05T09:41:01Z")

</div>

Hi,

just want to hear your opinion; what is the best way to index multiple product types (for example, books, lawn mowers and televisions) by using app search? Each type has their own properties... should you use one engine to rule them all? Or a separate engine per product type, which may result in a lot of engines?

Thanks in advance!

Regards,  
Peter

---

<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: [May 5, 2021, 12:33pm UTC](https://discuss.elastic.co/t/separate-engines-per-product-type/272163/2 "2021-05-05T12:33:52Z")

</div>

Hi Peter,

I'd love to hear from other community members to get some other opinions.

Generally speaking, I think you'll just want one engine for all of your products.

One thing to be aware of is that by default there is a 64 field limit in App Search. Meaning, an engine schema can only have 64 fields in it. If you're indexing many different products with many different attributes, you might end up needing more than 64 fields to fit all of the various attributes. You can bump that up in the Enterprise Search configuration. You can read more about that here: [Configuration | Elastic Enterprise Search Documentation [7.12] | Elastic](https://www.elastic.co/guide/en/enterprise-search/current/configuration.html). See `app_search.engine.total_fields.limit`.

---

<div class="post-metadata">

### Author: ![Peter418](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@Peter418](https://discuss.elastic.co/u/Peter418)
#### Post date: [May 11, 2021, 10:14am UTC](https://discuss.elastic.co/t/separate-engines-per-product-type/272163/3 "2021-05-11T10:14:44Z")

</div>

Hi Jason,

thank you for your response! I was looking at the same way; creating just one engine. Maybe there are better options, I don't know. I will use one engine for now!

Regards,  
Peter

---

<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: [June 8, 2021, 10:15am UTC](https://discuss.elastic.co/t/separate-engines-per-product-type/272163/4 "2021-06-08T10:15:07Z")

</div>

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