# What is the use of binary core type

**URL:** <https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587>\
**Category:** Elasticsearch\
**Created:** [October 13, 2011, 12:37pm UTC](https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587 "2011-10-13T12:37:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [October 13, 2011, 12:37pm UTC](https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587/1 "2011-10-13T12:37:55Z")

</div>

What is the advantage on using binary core type over String core type (with  
index as false option) ?  
Either way i can only store the base64 representation !!!

Thanks  
Vineeth

---

<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:** [October 14, 2011, 12:10pm UTC](https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587/2 "2011-10-14T12:10:25Z")

</div>

You can, though if you want to store it on its own, there is a difference  
(storing it as binary vs. storing it as a string).

On Thu, Oct 13, 2011 at 2:37 PM, Vineeth Mohan [vineethmohan@algotree.com](mailto:vineethmohan@algotree.com)wrote:

> What is the advantage on using binary core type over String core type (with  
> index as false option) ?  
> Either way i can only store the base64 representation !!!
> 
> Thanks  
> Vineeth

---

<div class="post-metadata">

**Author:** ![vineeth\_mohan](https://avatars.discourse-cdn.com/v4/letter/v/bc79bd/32.png) [@vineeth\_mohan](https://discuss.elastic.co/u/vineeth_mohan)\
**Post date:** [October 18, 2011, 7:05pm UTC](https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587/3 "2011-10-18T19:05:02Z")

</div>

Am not clear with this

Are you telling me i can store data as binary itself in elasticSearch  
without converting it to base64 (Which will save me some space and  
conversion overheads)

Thanks  
Vineeth

On Fri, Oct 14, 2011 at 5:40 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> You can, though if you want to store it on its own, there is a difference  
> (storing it as binary vs. storing it as a string).
> 
> On Thu, Oct 13, 2011 at 2:37 PM, Vineeth Mohan [vineethmohan@algotree.com](mailto:vineethmohan@algotree.com)wrote:
> 
> > What is the advantage on using binary core type over String core type  
> > (with index as false option) ?  
> > Either way i can only store the base64 representation !!!
> > 
> > Thanks  
> > Vineeth

---

<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:51am UTC](https://discuss.elastic.co/t/what-is-the-use-of-binary-core-type/5587/4 "2017-07-06T03:51:30Z")

</div>

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


