# Rabbitmq river failed to index large number of document using java?

**URL:** <https://discuss.elastic.co/t/rabbitmq-river-failed-to-index-large-number-of-document-using-java/6851>\
**Category:** Elasticsearch\
**Created:** [March 1, 2012, 10:24am UTC](https://discuss.elastic.co/t/rabbitmq-river-failed-to-index-large-number-of-document-using-java/6851 "2012-03-01T10:24:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_4](https://avatars.discourse-cdn.com/v4/letter/s/db5fbb/32.png) [@Sam\_4](https://discuss.elastic.co/u/Sam_4)\
**Post date:** [March 1, 2012, 10:24am UTC](https://discuss.elastic.co/t/rabbitmq-river-failed-to-index-large-number-of-document-using-java/6851/1 "2012-03-01T10:24:03Z")

</div>

Hi All

I am using elastic server 0.16.2 . For creating index i have used rabbitmq  
river with following settings [https://gist.github.com/1948665](https://gist.github.com/1948665) .  
when I send less number of document into river queue it creates index  
without any exception,but when try to index of about 2000 document, some  
times index is created successfully for all document without any exception  
,but some times it gets fail to index some documents. I have attached  
server configuration file as well server logs.  
I am unable it understand this behavior of Server. Please help me why it  
failed down.  
I am using Transport Client to connect with elastic Server.

Thanks

---

<div class="post-metadata">

**Author:** ![Xinxi\_Li](https://avatars.discourse-cdn.com/v4/letter/x/35a633/32.png) [@Xinxi\_Li](https://discuss.elastic.co/u/Xinxi_Li)\
**Post date:** [April 10, 2013, 2:26am UTC](https://discuss.elastic.co/t/rabbitmq-river-failed-to-index-large-number-of-document-using-java/6851/2 "2013-04-10T02:26:48Z")

</div>

hi,can you tell me how you send data into river  
i used the following example and had error "no requests added":

{ "index" : { "\_index" : "twitter", "\_type" : "tweet", "\_id" : "1" } }  
{ "tweet" : { "text" : "this is a tweet" } }  
{ "delete" : { "\_index" : "twitter", "\_type" : "tweet", "\_id" : "2" } }  
{ "create" : { "\_index" : "twitter", "\_type" : "tweet", "\_id" : "1" } }  
{ "tweet" : { "text" : "another tweet" } }

在 2012年3月1日星期四UTC+8下午6时24分03秒，sam写道：

> Hi All
> 
> I am using elastic server 0.16.2 . For creating index i have used rabbitmq  
> river with following settings [Rabbitmq River Settings · GitHub](https://gist.github.com/1948665) .  
> when I send less number of document into river queue it creates index  
> without any exception,but when try to index of about 2000 document, some  
> times index is created successfully for all document without any exception  
> ,but some times it gets fail to index some documents. I have attached  
> server configuration file as well server logs.  
> I am unable it understand this behavior of Server. Please help me why it  
> failed down.  
> I am using Transport Client to connect with elastic Server.
> 
> Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:41am UTC](https://discuss.elastic.co/t/rabbitmq-river-failed-to-index-large-number-of-document-using-java/6851/3 "2017-07-06T02:41:54Z")

</div>


