# Error while creating an Index

**URL:** <https://discuss.elastic.co/t/error-while-creating-an-index/72799>\
**Category:** Elasticsearch\
**Created:** [January 25, 2017, 6:03pm UTC](https://discuss.elastic.co/t/error-while-creating-an-index/72799 "2017-01-25T18:03:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpandran](https://avatars.discourse-cdn.com/v4/letter/k/f04885/32.png) [@kpandran](https://discuss.elastic.co/u/kpandran)\
**Post date:** [January 25, 2017, 6:03pm UTC](https://discuss.elastic.co/t/error-while-creating-an-index/72799/1 "2017-01-25T18:03:44Z")

</div>

Hi All,

I'm trying to create an index on dep\_iv.json file which is of :

{"index":{"\_index":"rv","\_type":"dept","\_id":795079 } }  
{"RetailerGroup":"EuroBeauty","Retailer":8996,"Dept":"WOMEN FRAGRANCE","Error":0,"PPWeek":2447,"ModelName":"LinearRegression\_LastYear","ModelDollars":14517.21,"ModelUnits":217.75,"ModelInventory":4.5,"ModelAveCost":9,"ModelItems":131.89,"Dollars":16505,"Units":123,"Inventory":5,"AveCost":10,"Items":59}

as you can see it has total of 795085 documents.

now, I;m creating the indexing using the curl:  
curl -XPOST '[localXXX.abc.com:9200/\_bulk?pretty](http://localXXX.abc.com:9200/_bulk?pretty)' --data-binary @dep\_iv.json

as soon as I hit enter it displays nothing and doesn't even throws any error ...

it was so strange !!!

please let me know what I'm doing it wrong here and also let me know the correct way of doing it...

P.S: I have created another index with 3000 docs.count and it was successful.

my node health:  
ip heap.percent ram.percent cpu load\_1m load\_5m load\_15m node.role master name  
[10.xxx.xx.xxx](http://10.xxx.xx.xxx) 59 69 0 0.00 0.06 0.06 mdi \* [xxxxxxx.xxx.com](http://xxxxxxx.xxx.com)

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [January 25, 2017, 6:21pm UTC](https://discuss.elastic.co/t/error-while-creating-an-index/72799/2 "2017-01-25T18:21:44Z")

</div>

This is probably too much data to attempt to send in a single bulk request. If so, break it into multiple manageable requests

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [January 25, 2017, 6:45pm UTC](https://discuss.elastic.co/t/error-while-creating-an-index/72799/4 "2017-01-25T18:45:15Z")

</div>

> [@kpandran](#):
>
> can you please guide me how do I create multiple requests ??

curl -XPOST '[localXXX.abc.com:9200/\_bulk?pretty](http://localXXX.abc.com:9200/_bulk?pretty)' --data-binary @file1.json  
curl -XPOST '[localXXX.abc.com:9200/\_bulk?pretty](http://localXXX.abc.com:9200/_bulk?pretty)' --data-binary @file2.json  
curl -XPOST '[localXXX.abc.com:9200/\_bulk?pretty](http://localXXX.abc.com:9200/_bulk?pretty)' --data-binary @file3.json  
...

---

<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:** [February 22, 2017, 6:45pm UTC](https://discuss.elastic.co/t/error-while-creating-an-index/72799/5 "2017-02-22T18:45:28Z")

</div>

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