# Mapping before bulk data

**URL:** <https://discuss.elastic.co/t/mapping-before-bulk-data/92002>\
**Category:** Elasticsearch\
**Created:** [July 6, 2017, 2:15am UTC](https://discuss.elastic.co/t/mapping-before-bulk-data/92002 "2017-07-06T02:15:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chanpiseth\_Ros](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@Chanpiseth\_Ros](https://discuss.elastic.co/u/Chanpiseth_Ros)\
**Post date:** [July 6, 2017, 2:15am UTC](https://discuss.elastic.co/t/mapping-before-bulk-data/92002/1 "2017-07-06T02:15:23Z")

</div>

Hi everyone, could you give me an example php code, the way to mapping then bulk data in it?

---

<div class="post-metadata">

**Author:** ![JKhondhu](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@JKhondhu](https://discuss.elastic.co/u/JKhondhu)\
**Post date:** [July 6, 2017, 6:44am UTC](https://discuss.elastic.co/t/mapping-before-bulk-data/92002/2 "2017-07-06T06:44:04Z")

</div>

Hi,

Please see more here, [https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/\_indexing\_documents.html#\_bulk\_indexing](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/_indexing_documents.html#_bulk_indexing)

---

<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 3, 2017, 6:44am UTC](https://discuss.elastic.co/t/mapping-before-bulk-data/92002/3 "2017-08-03T06:44:15Z")

</div>

Closed on August 3, 2017, 6:44am UTC

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