# SQL like joins on Elastic Search

**URL:** https://discuss.elastic.co/t/sql-like-joins-on-elastic-search/237056
**Category:** Elasticsearch
**Created:** [June 15, 2020, 4:43am UTC](https://discuss.elastic.co/t/sql-like-joins-on-elastic-search/237056 "2020-06-15T04:43:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![skv325](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@skv325](https://discuss.elastic.co/u/skv325)
#### Post date: [June 15, 2020, 4:43am UTC](https://discuss.elastic.co/t/sql-like-joins-on-elastic-search/237056/1 "2020-06-15T04:43:17Z")

</div>

Hello,  
Does ES support Sql like joins on different indexes? Currently I have to load indexes contents [with some filtering] into memory and use Linq to do the join which is very slow. Is any workaround?  
Thanks

---

<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: [June 15, 2020, 5:03am UTC](https://discuss.elastic.co/t/sql-like-joins-on-elastic-search/237056/2 "2020-06-15T05:03:09Z")

</div>

It does not, no. You need to flatten your data structure for Elasticsearch.

---

<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 13, 2020, 5:03am UTC](https://discuss.elastic.co/t/sql-like-joins-on-elastic-search/237056/3 "2020-07-13T05:03:11Z")

</div>

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