# Reduce the index size of XML Field

**URL:** <https://discuss.elastic.co/t/reduce-the-index-size-of-xml-field/9021>\
**Category:** Elasticsearch\
**Created:** [September 14, 2012, 7:18am UTC](https://discuss.elastic.co/t/reduce-the-index-size-of-xml-field/9021 "2012-09-14T07:18:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sicker](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@Sicker](https://discuss.elastic.co/u/Sicker)\
**Post date:** [September 14, 2012, 7:18am UTC](https://discuss.elastic.co/t/reduce-the-index-size-of-xml-field/9021/1 "2012-09-14T07:18:28Z")

</div>

I store xml data for output to the client only. If I cannot remove this  
field, how can I do to reduce the index size.

--

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [September 15, 2012, 12:40pm UTC](https://discuss.elastic.co/t/reduce-the-index-size-of-xml-field/9021/2 "2012-09-15T12:40:04Z")

</div>

Hi

On Fri, Sep 14, 2012 at 9:18 AM, Sicker [sicker27@gmail.com](mailto:sicker27@gmail.com) wrote:

> I store xml data for output to the client only. If I cannot remove this  
> field, how can I do to reduce the index size.

have you read  
[Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/mapping/source-field.html)(especially  
the compression part)?

Should help you

--Alexader

--

---

<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 6, 2017, 3:12am UTC](https://discuss.elastic.co/t/reduce-the-index-size-of-xml-field/9021/3 "2017-07-06T03:12:40Z")

</div>

Closed on July 6, 2017, 3:12am UTC


