# Compact only field

**URL:** <https://discuss.elastic.co/t/compact-only-field/8109>\
**Category:** Elasticsearch\
**Created:** [June 14, 2012, 6:26pm UTC](https://discuss.elastic.co/t/compact-only-field/8109 "2012-06-14T18:26:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 14, 2012, 6:26pm UTC](https://discuss.elastic.co/t/compact-only-field/8109/1 "2012-06-14T18:26:08Z")

</div>

Hi,

Is There any config in core field, type of String, for compress stored  
value ?

I only saw compress in \_source field, I need compress only one field. Is it  
possible ?

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![Gustavo\_Maia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gustavo_maia/32/2183_2.png) [@Gustavo\_Maia](https://discuss.elastic.co/u/Gustavo_Maia)\
**Post date:** [June 22, 2012, 4:06pm UTC](https://discuss.elastic.co/t/compact-only-field/8109/2 "2012-06-22T16:06:47Z")

</div>

cool,  
In the next release will have the compression of the field.

Anyone know when this version will be released (0.19.5)?

I need it very much.

Thanks all.  
2012/6/14 Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)

> Hi,
> 
> Is There any config in core field, type of String, for compress stored value ?
> 
> I only saw compress in \_source field, I need compress only one field. Is it possible ?
> 
> --  
> Gustavo Maia

--  
Gustavo Maia

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [June 25, 2012, 12:36pm UTC](https://discuss.elastic.co/t/compact-only-field/8109/3 "2012-06-25T12:36:00Z")

</div>

There isn't really a notion of compressing a single field. The \_source  
document, which, by default, is the only one stored, can be compressed. In  
0.19.5, there will be the option to compress all stored fields (which  
again, by default, its just the \_source) but not in a doc by doc basis,  
which really helps with compression on small docs (less than 60k usually).

On Fri, Jun 22, 2012 at 6:06 PM, Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)wrote:

> cool,  
> In the next release will have the compression of the field.
> 
> Anyone know when this version will be released (0.19.5)?
> 
> I need it very much.
> 
> Thanks all.  
> 2012/6/14 Gustavo Maia [gustavobbmaia@gmail.com](mailto:gustavobbmaia@gmail.com)
> 
> > Hi,
> > 
> > Is There any config in core field, type of String, for compress stored  
> > value ?
> > 
> > I only saw compress in \_source field, I need compress only one field. Is  
> > it possible ?
> > 
> > --  
> > Gustavo Maia
> 
> --  
> Gustavo Maia

---

<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:22am UTC](https://discuss.elastic.co/t/compact-only-field/8109/4 "2017-07-06T03:22:42Z")

</div>


