# Storing blobs: binary type vs. enabled=false

**URL:** https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545
**Category:** Elasticsearch
**Created:** [July 21, 2019, 10:23pm UTC](https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545 "2019-07-21T22:23:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jetnet](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jetnet](https://discuss.elastic.co/u/jetnet)
#### Post date: [July 21, 2019, 10:23pm UTC](https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545/1 "2019-07-21T22:23:29Z")

</div>

hello All,

I'd like to store binary content in the index, to be able to fetch data later on.  
There are two ways to do that:

- [binary data type](https://www.elastic.co/guide/en/elasticsearch/reference/current/binary.html)
- [via mapping](https://www.elastic.co/guide/en/elasticsearch/reference/current/enabled.html) `enabled: false`

Do they store the data in the same way? Why do we need the `binary` data type at all, if it is not searchable (makes totally sense) and not retrievable (makes no sense) by default?  
Thanks!

---

<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: [August 18, 2019, 10:23pm UTC](https://discuss.elastic.co/t/storing-blobs-binary-type-vs-enabled-false/191545/2 "2019-08-18T22:23:29Z")

</div>

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