# Solr to Elasticsearh Migration Size Differance

**URL:** <https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915>\
**Category:** Elasticsearch\
**Tags:** migration\
**Created:** [March 17, 2023, 9:45am UTC](https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915 "2023-03-17T09:45:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilgicsin](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bilgicsin](https://discuss.elastic.co/u/bilgicsin)\
**Post date:** [March 17, 2023, 9:45am UTC](https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915/1 "2023-03-17T09:45:13Z")

</div>

Hi Everyone,

We have Solr and Elasticsearch in our company and we want to do a benchmark test to decide for buying extra license. We tried to transfer 4 gb Solr collection to an elasticsearch indice. We query the whole collection, save result to a json (transformed to suitable json format), Size of the text file is only 100 mb. When I pushed the data to Elasticsearch it has similar size also.

Do you have any explanation for this? It does not make sense to compare 4g data vs 100 mb data but it seems like it is the case. Is ıt an advantage of elasticsearch or am I missing something?

Thanks in advance !

---

<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:** [March 19, 2023, 8:38pm UTC](https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915/2 "2023-03-19T20:38:18Z")

</div>

Welcome to our community! 😃

I am not sure there is a tonne of solr expertise here that we can use to help sorry to say. Generally speaking it will come down to your mappings in Elasticsearch, but I would expect some increase from the original json size when you index it.

---

<div class="post-metadata">

**Author:** ![bilgicsin](https://avatars.discourse-cdn.com/v4/letter/b/e95f7d/32.png) [@bilgicsin](https://discuss.elastic.co/u/bilgicsin)\
**Post date:** [March 20, 2023, 11:24am UTC](https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915/3 "2023-03-20T11:24:21Z")

</div>

Thanks for your reply Mark 🙂

I was hoping if anyone here had an experince like this. Some developer here may had to benchmark solr vs elasticsearh before, i think. I transformed all Solr indexes to two replika indice on elasticsearh. it takes only 263 mb. I has to something big that I am missing.

---

<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 17, 2023, 11:25am UTC](https://discuss.elastic.co/t/solr-to-elasticsearh-migration-size-differance/327915/4 "2023-04-17T11:25:14Z")

</div>

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