# ES indexing exactly half the documents

**URL:** <https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727>\
**Category:** Elasticsearch\
**Created:** [May 26, 2014, 3:35pm UTC](https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727 "2014-05-26T15:35:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [May 26, 2014, 3:35pm UTC](https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727/1 "2014-05-26T15:35:04Z")

</div>

Using ES 1.1.1

I have 4 node cluster

1 primary 3 workers

Starting each node with Elasticsearc.bat (Uisng windows 2003, JAVA 1.7\_45  
and 16GB heap)

Using the index api to create the index automatically on the first POST  
operation....

POST [http://10.0.0.xxx:9200/xxx/abc/](http://10.0.0.xxx:9200/xxx/abc/)

POST data:  
{  
"account" : 12345678,  
"started": "2014-05-26T15:30:14.910",  
"ended": "2014-05-26T15:30:17.697"  
}

Sending direct http using JMeter. I sent 5000 requests give or take, but  
Marvel and Head show that only 2500 documents got indexed???

I'm I missing something is it a config thing?

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/638d37a9-5060-4d3d-bc15-f62ec023b8dd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/638d37a9-5060-4d3d-bc15-f62ec023b8dd%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [May 26, 2014, 3:40pm UTC](https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727/2 "2014-05-26T15:40:38Z")

</div>

Used PUT not POST. Also seems to be doing the same thing with the Java  
client as embedded node.

No matter how many requests i send only half the docs get indexed.

On Monday, 26 May 2014 11:35:04 UTC-4, John Smith wrote:

> Using ES 1.1.1
> 
> I have 4 node cluster
> 
> 1 primary 3 workers
> 
> Starting each node with Elasticsearc.bat (Uisng windows 2003, JAVA 1.7\_45  
> and 16GB heap)
> 
> Using the index api to create the index automatically on the first POST  
> operation....
> 
> POST [http://10.0.0.xxx:9200/xxx/abc/](http://10.0.0.xxx:9200/xxx/abc/)
> 
> POST data:  
> {  
> "account" : 12345678,  
> "started": "2014-05-26T15:30:14.910",  
> "ended": "2014-05-26T15:30:17.697"  
> }
> 
> Sending direct http using JMeter. I sent 5000 requests give or take, but  
> Marvel and Head show that only 2500 documents got indexed???
> 
> I'm I missing something is it a config thing?

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9bfbc6d4-8b46-4c60-b82c-0fcc0702f31b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9bfbc6d4-8b46-4c60-b82c-0fcc0702f31b%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![javadevmtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javadevmtl/32/45613_2.png) [@javadevmtl](https://discuss.elastic.co/u/javadevmtl)\
**Post date:** [May 26, 2014, 5:13pm UTC](https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727/3 "2014-05-26T17:13:03Z")

</div>

Never mind complete clown here. That's me! 😛

I was looking at the Jmeter summary report where my test script has  
multiple samplers (2 to be exact) and I was looking at the total and not  
how many HTTP requests I sent. The numbers match lol! Never mind!

As you were!

On Monday, 26 May 2014 11:40:38 UTC-4, John Smith wrote:

> Used PUT not POST. Also seems to be doing the same thing with the Java  
> client as embedded node.
> 
> No matter how many requests i send only half the docs get indexed.
> 
> On Monday, 26 May 2014 11:35:04 UTC-4, John Smith wrote:
> 
> > Using ES 1.1.1
> > 
> > I have 4 node cluster
> > 
> > 1 primary 3 workers
> > 
> > Starting each node with Elasticsearc.bat (Uisng windows 2003, JAVA 1.7\_45  
> > and 16GB heap)
> > 
> > Using the index api to create the index automatically on the first POST  
> > operation....
> > 
> > POST [http://10.0.0.xxx:9200/xxx/abc/](http://10.0.0.xxx:9200/xxx/abc/)
> > 
> > POST data:  
> > {  
> > "account" : 12345678,  
> > "started": "2014-05-26T15:30:14.910",  
> > "ended": "2014-05-26T15:30:17.697"  
> > }
> > 
> > Sending direct http using JMeter. I sent 5000 requests give or take, but  
> > Marvel and Head show that only 2500 documents got indexed???
> > 
> > I'm I missing something is it a config thing?

--  
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).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9291ad06-78f0-48cc-9cc9-5295a81e8afb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9291ad06-78f0-48cc-9cc9-5295a81e8afb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 1:26am UTC](https://discuss.elastic.co/t/es-indexing-exactly-half-the-documents/17727/4 "2017-07-06T01:26:52Z")

</div>

Closed on July 6, 2017, 1:26am UTC


