# Elasticsearch returns false while indexing

**URL:** <https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819>\
**Category:** Elasticsearch\
**Created:** [February 27, 2012, 2:44pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819 "2012-02-27T14:44:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaliseo](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kaliseo](https://discuss.elastic.co/u/kaliseo)\
**Post date:** [February 27, 2012, 2:44pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819/1 "2012-02-27T14:44:28Z")

</div>

Hi,

I'm experiencing a problem.

I start to index some data with API. after few seconds and some  
indexed data, it began to return false without any other informations.  
No new lines in logs. After few other seconds, it began to index some  
other data.

I increased ES\_MIN\_MEM and ES\_MAX\_MEM to verify it does not concern  
memory issue, but nothing better with that.

Does someone experienced this problem ?

I'm using Java 1.6.0\_31 on Ubuntu

java version "1.6.0\_31"  
Java(TM) SE Runtime Environment (build 1.6.0\_31-b04)  
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC  
2011 x86\_64 x86\_64 x86\_64 GNU/Linux

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [February 27, 2012, 5:33pm UTC](https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819/2 "2012-02-27T17:33:47Z")

</div>

What do you mean by return false? Which library are you using to talk to elasticsearch?

On Monday, February 27, 2012 at 4:44 PM, kali.seo wrote:

> Hi,
> 
> I'm experiencing a problem.
> 
> I start to index some data with API. after few seconds and some  
> indexed data, it began to return false without any other informations.  
> No new lines in logs. After few other seconds, it began to index some  
> other data.
> 
> I increased ES\_MIN\_MEM and ES\_MAX\_MEM to verify it does not concern  
> memory issue, but nothing better with that.
> 
> Does someone experienced this problem ?
> 
> I'm using Java 1.6.0\_31 on Ubuntu
> 
> java version "1.6.0\_31"  
> Java(TM) SE Runtime Environment (build 1.6.0\_31-b04)  
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
> 
> Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC  
> 2011 x86\_64 x86\_64 x86\_64 GNU/Linux
> 
> Thanks a lot !

---

<div class="post-metadata">

**Author:** ![kaliseo](https://avatars.discourse-cdn.com/v4/letter/k/ce73a5/32.png) [@kaliseo](https://discuss.elastic.co/u/kaliseo)\
**Post date:** [February 29, 2012, 7:15am UTC](https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819/3 "2012-02-29T07:15:45Z")

</div>

It's Curl wich was responding "cannot attribute IP Adress bla bla bla".. I  
don't know why. I fixed the problem by using \_bulk API qto index large  
amount of data.

Thanks

Le lundi 27 février 2012 18:33:47 UTC+1, kimchy a écrit :

> What do you mean by return false? Which library are you using to talk to  
> elasticsearch?
> 
> On Monday, February 27, 2012 at 4:44 PM, kali.seo wrote:
> 
> Hi,
> 
> I'm experiencing a problem.
> 
> I start to index some data with API. after few seconds and some  
> indexed data, it began to return false without any other informations.  
> No new lines in logs. After few other seconds, it began to index some  
> other data.
> 
> I increased ES\_MIN\_MEM and ES\_MAX\_MEM to verify it does not concern  
> memory issue, but nothing better with that.
> 
> Does someone experienced this problem ?
> 
> I'm using Java 1.6.0\_31 on Ubuntu
> 
> java version "1.6.0\_31"  
> Java(TM) SE Runtime Environment (build 1.6.0\_31-b04)  
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
> 
> Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC  
> 2011 x86\_64 x86\_64 x86\_64 GNU/Linux
> 
> Thanks a lot !

Le lundi 27 février 2012 18:33:47 UTC+1, kimchy a écrit :

> What do you mean by return false? Which library are you using to talk to  
> elasticsearch?
> 
> On Monday, February 27, 2012 at 4:44 PM, kali.seo wrote:
> 
> Hi,
> 
> I'm experiencing a problem.
> 
> I start to index some data with API. after few seconds and some  
> indexed data, it began to return false without any other informations.  
> No new lines in logs. After few other seconds, it began to index some  
> other data.
> 
> I increased ES\_MIN\_MEM and ES\_MAX\_MEM to verify it does not concern  
> memory issue, but nothing better with that.
> 
> Does someone experienced this problem ?
> 
> I'm using Java 1.6.0\_31 on Ubuntu
> 
> java version "1.6.0\_31"  
> Java(TM) SE Runtime Environment (build 1.6.0\_31-b04)  
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
> 
> Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC  
> 2011 x86\_64 x86\_64 x86\_64 GNU/Linux
> 
> Thanks a lot !

Le lundi 27 février 2012 18:33:47 UTC+1, kimchy a écrit :

> What do you mean by return false? Which library are you using to talk to  
> elasticsearch?
> 
> On Monday, February 27, 2012 at 4:44 PM, kali.seo wrote:
> 
> Hi,
> 
> I'm experiencing a problem.
> 
> I start to index some data with API. after few seconds and some  
> indexed data, it began to return false without any other informations.  
> No new lines in logs. After few other seconds, it began to index some  
> other data.
> 
> I increased ES\_MIN\_MEM and ES\_MAX\_MEM to verify it does not concern  
> memory issue, but nothing better with that.
> 
> Does someone experienced this problem ?
> 
> I'm using Java 1.6.0\_31 on Ubuntu
> 
> java version "1.6.0\_31"  
> Java(TM) SE Runtime Environment (build 1.6.0\_31-b04)  
> Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)
> 
> Linux 2.6.38.2-grsec-xxxx-grs-ipv6-64 #2 SMP Thu Aug 25 16:40:22 UTC  
> 2011 x86\_64 x86\_64 x86\_64 GNU/Linux
> 
> Thanks a lot !

---

<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, 3:37am UTC](https://discuss.elastic.co/t/elasticsearch-returns-false-while-indexing/6819/4 "2017-07-06T03:37:55Z")

</div>

Closed on July 6, 2017, 3:37am UTC


