# e-Commerce Variants Handling

**URL:** https://discuss.elastic.co/t/e-commerce-variants-handling/225914
**Category:** Elastic Search
**Tags:** elastic-app-search
**Created:** [March 31, 2020, 4:28pm UTC](https://discuss.elastic.co/t/e-commerce-variants-handling/225914 "2020-03-31T16:28:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Philipp\_Loew-Albrech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/philipp_loew-albrech/32/54579_2.png) [@Philipp\_Loew-Albrech](https://discuss.elastic.co/u/Philipp_Loew-Albrech)
#### Post date: [March 31, 2020, 4:28pm UTC](https://discuss.elastic.co/t/e-commerce-variants-handling/225914/1 "2020-03-31T16:28:26Z")

</div>

Hi there,

We have pretty standard requriements for e-commerce, but currently I see that it looks like App Search isn't capable of providing a proper solution, since it's not supporting nested objects?

Let's say we have a nike shoe.  
There are variants for:  
Sex: Man / Woman  
Size: 4;4,5 ... 13  
Color: Black, White, Yellow, etc.  
Price: ..

Currently we are using nested objects and "hit" for this variant handling / querying.  
Of course we don't want to provide white shoes after user filtered for color:black, what seems to me not working without a nested object handling?

I don't see how we could achieve this type of search in one index (we could add two index like one for all products and another for all variants, but this is misusage of ES).

So is this standard task already too advanced for app search?  
Or do I just don't see the way to work with this?

Thanks!  
Philipp

---

<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: [April 28, 2020, 4:28pm UTC](https://discuss.elastic.co/t/e-commerce-variants-handling/225914/2 "2020-04-28T16:28:36Z")

</div>

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