# Enabling File Data while using \_bulk API

**URL:** <https://discuss.elastic.co/t/enabling-file-data-while-using-bulk-api/102023>\
**Category:** Elasticsearch\
**Created:** [September 27, 2017, 7:59pm UTC](https://discuss.elastic.co/t/enabling-file-data-while-using-bulk-api/102023 "2017-09-27T19:59:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 27, 2017, 9:43pm UTC](https://discuss.elastic.co/t/enabling-file-data-while-using-bulk-api/102023/2 "2017-09-27T21:43:27Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

You need to change the mapping I guess. What is your mapping look like?

```auto
GET /cars/_mapping

```

---

_[View the full topic](https://discuss.elastic.co/t/enabling-file-data-while-using-bulk-api/102023)._
