# Put mapping request returning acknowledged false

**URL:** https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104
**Category:** Elasticsearch
**Created:** [July 14, 2010, 10:55pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104 "2010-07-14T22:55:11Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 14, 2010, 10:55pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/1 "2010-07-14T22:55:11Z")

</div>

When sending a PutMappingRequest I used to receive back a true value for  
acknowledged.

client.admin().indices().putMapping(new  
PutMappingRequest(indexName).source(value)).actionGet().acknowledged

After my last update from master and build this is always returning false.  
What could be the issue here?

Thanks

---

<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: [July 15, 2010, 4:11pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/2 "2010-07-15T16:11:15Z")

</div>

I am getting back true for my tests, so it might be what you did before that  
might cause this? Can you create something simple that recreates this?

On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> When sending a PutMappingRequest I used to receive back a true value for  
> acknowledged.
> 
> client.admin().indices().putMapping(new  
> PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> 
> After my last update from master and build this is always returning false.  
> What could be the issue here?
> 
> Thanks

---

<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: [July 15, 2010, 5:04pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/3 "2010-07-15T17:04:10Z")

</div>

Ok, managed to simulate it, opened an issue:  
[Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check if  
this is your case) and pushed a fix for it.

On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> I am getting back true for my tests, so it might be what you did before  
> that might cause this? Can you create something simple that recreates this?
> 
> On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > When sending a PutMappingRequest I used to receive back a true value for  
> > acknowledged.
> > 
> > client.admin().indices().putMapping(new  
> > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > 
> > After my last update from master and build this is always returning false.  
> > What could be the issue here?
> > 
> > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 15, 2010, 10:49pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/4 "2010-07-15T22:49:05Z")

</div>

Yes, it appears the mappings are fine but the ack was false.

On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Ok, managed to simulate it, opened an issue:  
> [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check if  
> this is your case) and pushed a fix for it.
> 
> On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > I am getting back true for my tests, so it might be what you did before  
> > that might cause this? Can you create something simple that recreates this?
> > 
> > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > When sending a PutMappingRequest I used to receive back a true value for  
> > > acknowledged.
> > > 
> > > client.admin().indices().putMapping(new  
> > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > 
> > > After my last update from master and build this is always returning  
> > > false. What could be the issue here?
> > > 
> > > Thanks

---

<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: [July 15, 2010, 10:49pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/5 "2010-07-15T22:49:51Z")

</div>

Can you verify that it does not happen with the latest fix?

On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> Yes, it appears the mappings are fine but the ack was false.
> 
> On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> 
> > wrote:
> 
> > Ok, managed to simulate it, opened an issue:  
> > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check if  
> > this is your case) and pushed a fix for it.
> > 
> > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > I am getting back true for my tests, so it might be what you did before  
> > > that might cause this? Can you create something simple that recreates this?
> > > 
> > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > When sending a PutMappingRequest I used to receive back a true value for  
> > > > acknowledged.
> > > > 
> > > > client.admin().indices().putMapping(new  
> > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > 
> > > > After my last update from master and build this is always returning  
> > > > false. What could be the issue here?
> > > > 
> > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 15, 2010, 10:51pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/6 "2010-07-15T22:51:14Z")

</div>

Ok, I'll update and give it a try

On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Can you verify that it does not happen with the latest fix?
> 
> On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > Yes, it appears the mappings are fine but the ack was false.
> > 
> > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > 
> > > Ok, managed to simulate it, opened an issue:  
> > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check if  
> > > this is your case) and pushed a fix for it.
> > > 
> > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > I am getting back true for my tests, so it might be what you did before  
> > > > that might cause this? Can you create something simple that recreates this?
> > > > 
> > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > When sending a PutMappingRequest I used to receive back a true value  
> > > > > for acknowledged.
> > > > > 
> > > > > client.admin().indices().putMapping(new  
> > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > 
> > > > > After my last update from master and build this is always returning  
> > > > > false. What could be the issue here?
> > > > > 
> > > > > Thanks

---

<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: [July 15, 2010, 10:54pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/7 "2010-07-15T22:54:10Z")

</div>

thanks!

On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> Ok, I'll update and give it a try
> 
> On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > Can you verify that it does not happen with the latest fix?
> > 
> > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > Yes, it appears the mappings are fine but the ack was false.
> > > 
> > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > Ok, managed to simulate it, opened an issue:  
> > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check  
> > > > if this is your case) and pushed a fix for it.
> > > > 
> > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > I am getting back true for my tests, so it might be what you did before  
> > > > > that might cause this? Can you create something simple that recreates this?
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > When sending a PutMappingRequest I used to receive back a true value  
> > > > > > for acknowledged.
> > > > > > 
> > > > > > client.admin().indices().putMapping(new  
> > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > 
> > > > > > After my last update from master and build this is always returning  
> > > > > > false. What could be the issue here?
> > > > > > 
> > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 16, 2010, 2:39am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/8 "2010-07-16T02:39:14Z")

</div>

Hi, I still see the problem after update with clean build and deploy. I had  
also updated the client jars as well.

On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> thanks!
> 
> On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > Ok, I'll update and give it a try
> > 
> > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > Can you verify that it does not happen with the latest fix?
> > > 
> > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > Yes, it appears the mappings are fine but the ack was false.
> > > > 
> > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > Ok, managed to simulate it, opened an issue:  
> > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check  
> > > > > if this is your case) and pushed a fix for it.
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > this?
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > When sending a PutMappingRequest I used to receive back a true value  
> > > > > > > for acknowledged.
> > > > > > > 
> > > > > > > client.admin().indices().putMapping(new  
> > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > 
> > > > > > > After my last update from master and build this is always returning  
> > > > > > > false. What could be the issue here?
> > > > > > > 
> > > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 16, 2010, 2:39am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/9 "2010-07-16T02:39:54Z")

</div>

I should mention this is only one node as well.

On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> Hi, I still see the problem after update with clean build and deploy. I had  
> also updated the client jars as well.
> 
> On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > thanks!
> > 
> > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > Ok, I'll update and give it a try
> > > 
> > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > Can you verify that it does not happen with the latest fix?
> > > > 
> > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262) (check  
> > > > > > if this is your case) and pushed a fix for it.
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > 
> > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > this?
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<[samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > When sending a PutMappingRequest I used to receive back a true value  
> > > > > > > > for acknowledged.
> > > > > > > > 
> > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > 
> > > > > > > > After my last update from master and build this is always returning  
> > > > > > > > false. What could be the issue here?
> > > > > > > > 
> > > > > > > > Thanks

---

<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: [July 16, 2010, 11:16am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/10 "2010-07-16T11:16:02Z")

</div>

Can you send a simple recreation?

On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> I should mention this is only one node as well.
> 
> On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > Hi, I still see the problem after update with clean build and deploy. I  
> > had also updated the client jars as well.
> > 
> > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > thanks!
> > > 
> > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > Ok, I'll update and give it a try
> > > > 
> > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > Can you verify that it does not happen with the latest fix?
> > > > > 
> > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > 
> > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > 
> > > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > > this?
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > 
> > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > value for acknowledged.
> > > > > > > > > 
> > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > 
> > > > > > > > > After my last update from master and build this is always returning  
> > > > > > > > > false. What could be the issue here?
> > > > > > > > > 
> > > > > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 18, 2010, 2:58am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/11 "2010-07-18T02:58:53Z")

</div>

Here is the mapping I'm using that always causes the problem

{"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}

On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Can you send a simple recreation?
> 
> On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > I should mention this is only one node as well.
> > 
> > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > Hi, I still see the problem after update with clean build and deploy. I  
> > > had also updated the client jars as well.
> > > 
> > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > thanks!
> > > > 
> > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > Ok, I'll update and give it a try
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > 
> > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > 
> > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > 
> > > > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > > > this?
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > > value for acknowledged.
> > > > > > > > > > 
> > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > 
> > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > 
> > > > > > > > > > Thanks

---

<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: [July 18, 2010, 8:35am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/12 "2010-07-18T08:35:22Z")

</div>

And you say that with a fresh elasticsearch instance, when you try to put  
this mapping, you get the ack=false, or are there certain steps that needs  
to be taken in order to reproduce it?

-shay.banon

On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> Here is the mapping I'm using that always causes the problem
> 
> {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> 
> On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > Can you send a simple recreation?
> > 
> > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > I should mention this is only one node as well.
> > > 
> > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > Hi, I still see the problem after update with clean build and deploy. I  
> > > > had also updated the client jars as well.
> > > > 
> > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > thanks!
> > > > > 
> > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > Ok, I'll update and give it a try
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > 
> > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > 
> > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<[samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > > > > this?
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > > > value for acknowledged.
> > > > > > > > > > > 
> > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > 
> > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > 
> > > > > > > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 18, 2010, 3:49pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/13 "2010-07-18T15:49:20Z")

</div>

This is what I do for the batch indexing:  
1.) Delete the index if it exists  
2.) Create the index  
3.) Check and wait till the index is available  
4.) Send the PutMappingRequest which results in the NACK

On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> And you say that with a fresh elasticsearch instance, when you try to put  
> this mapping, you get the ack=false, or are there certain steps that needs  
> to be taken in order to reproduce it?
> 
> -shay.banon
> 
> On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > Here is the mapping I'm using that always causes the problem
> > 
> > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > 
> > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > Can you send a simple recreation?
> > > 
> > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > I should mention this is only one node as well.
> > > > 
> > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > Hi, I still see the problem after update with clean build and deploy. I  
> > > > > had also updated the client jars as well.
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > thanks!
> > > > > > 
> > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > Ok, I'll update and give it a try
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > 
> > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > 
> > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > > > > > this?
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > > > > value for acknowledged.
> > > > > > > > > > > > 
> > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > 
> > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > 
> > > > > > > > > > > > Thanks

---

<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: [July 19, 2010, 5:55pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/14 "2010-07-19T17:55:45Z")

</div>

Since you seem to refuse to send some sort of recreation, I wrote one based  
on your steps and it works for me. Please don't respond to this email unless  
there is some way that I can recreate this, I can't second guess all the  
steps you do. Here is what I ran: [gist:481733 · GitHub](http://gist.github.com/481733)

-shay.banon

On Sun, Jul 18, 2010 at 6:49 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> This is what I do for the batch indexing:  
> 1.) Delete the index if it exists  
> 2.) Create the index  
> 3.) Check and wait till the index is available  
> 4.) Send the PutMappingRequest which results in the NACK
> 
> On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:
> 
> > And you say that with a fresh elasticsearch instance, when you try to put  
> > this mapping, you get the ack=false, or are there certain steps that needs  
> > to be taken in order to reproduce it?
> > 
> > -shay.banon
> > 
> > On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > Here is the mapping I'm using that always causes the problem
> > > 
> > > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > > 
> > > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > Can you send a simple recreation?
> > > > 
> > > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > I should mention this is only one node as well.
> > > > > 
> > > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > Hi, I still see the problem after update with clean build and deploy.  
> > > > > > I had also updated the client jars as well.
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > 
> > > > > > > thanks!
> > > > > > > 
> > > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle \<[samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > Ok, I'll update and give it a try
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > > 
> > > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > I am getting back true for my tests, so it might be what you did  
> > > > > > > > > > > > before that might cause this? Can you create something simple that recreates  
> > > > > > > > > > > > this?
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > > > > > value for acknowledged.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > > 
> > > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 19, 2010, 6:12pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/15 "2010-07-19T18:12:47Z")

</div>

I never refused to provide a way to recreate and I'm not sure why you are  
saying that for, I provided the steps which I followed to recreate the  
problem as well as the mappings  
I have an integrationtest which always duplicates this problem but contains  
information that would be deemed private to the project I am working on.  
I have some pretty tight deadlines but I will make an attempt to strip out  
those pieces and provide you with a test when I can. If you wish for me not  
to mention issues that are encountered with your project I can refrain from  
doing so in the future and leave it for others to discover.

On Mon, Jul 19, 2010 at 10:55 AM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Since you seem to refuse to send some sort of recreation, I wrote one based  
> on your steps and it works for me. Please don't respond to this email unless  
> there is some way that I can recreate this, I can't second guess all the  
> steps you do. Here is what I ran: [gist:481733 · GitHub](http://gist.github.com/481733)
> 
> -shay.banon
> 
> On Sun, Jul 18, 2010 at 6:49 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > This is what I do for the batch indexing:  
> > 1.) Delete the index if it exists  
> > 2.) Create the index  
> > 3.) Check and wait till the index is available  
> > 4.) Send the PutMappingRequest which results in the NACK
> > 
> > On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> > 
> > > wrote:
> > 
> > > And you say that with a fresh elasticsearch instance, when you try to put  
> > > this mapping, you get the ack=false, or are there certain steps that needs  
> > > to be taken in order to reproduce it?
> > > 
> > > -shay.banon
> > > 
> > > On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > Here is the mapping I'm using that always causes the problem
> > > > 
> > > > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > > > 
> > > > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > Can you send a simple recreation?
> > > > > 
> > > > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > I should mention this is only one node as well.
> > > > > > 
> > > > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > Hi, I still see the problem after update with clean build and deploy.  
> > > > > > > I had also updated the client jars as well.
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > 
> > > > > > > > thanks!
> > > > > > > > 
> > > > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle \<  
> > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Ok, I'll update and give it a try
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > > > 
> > > > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > I am getting back true for my tests, so it might be what you  
> > > > > > > > > > > > > did before that might cause this? Can you create something simple that  
> > > > > > > > > > > > > recreates this?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a true  
> > > > > > > > > > > > > > value for acknowledged.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Thanks

---

<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: [July 19, 2010, 6:23pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/16 "2010-07-19T18:23:19Z")

</div>

Here is a quote from 5 emails ago: "Can you send a simple recreation?".  
Really, its up to you, if there is really a problem and you want it to be  
fixed, then I need a recreation. Sending me more steps, assumptions,  
mappings, or something similar just make me try and recreate it  
un-successfully. The problem is with me, its in my nature. Once I get  
another bit of information, I spend the time it takes to try and understand  
and recreate it, and then get frustrated with myself for doing it and not  
just pushing back and saying: just give me that recreation, my time is  
precious too 🙂

-shay.banon

On Mon, Jul 19, 2010 at 9:12 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> I never refused to provide a way to recreate and I'm not sure why you are  
> saying that for, I provided the steps which I followed to recreate the  
> problem as well as the mappings  
> I have an integrationtest which always duplicates this problem but contains  
> information that would be deemed private to the project I am working on.  
> I have some pretty tight deadlines but I will make an attempt to strip out  
> those pieces and provide you with a test when I can. If you wish for me not  
> to mention issues that are encountered with your project I can refrain from  
> doing so in the future and leave it for others to discover.
> 
> On Mon, Jul 19, 2010 at 10:55 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> 
> > wrote:
> 
> > Since you seem to refuse to send some sort of recreation, I wrote one  
> > based on your steps and it works for me. Please don't respond to this email  
> > unless there is some way that I can recreate this, I can't second guess all  
> > the steps you do. Here is what I ran: [gist:481733 · GitHub](http://gist.github.com/481733)
> > 
> > -shay.banon
> > 
> > On Sun, Jul 18, 2010 at 6:49 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > This is what I do for the batch indexing:  
> > > 1.) Delete the index if it exists  
> > > 2.) Create the index  
> > > 3.) Check and wait till the index is available  
> > > 4.) Send the PutMappingRequest which results in the NACK
> > > 
> > > On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > And you say that with a fresh elasticsearch instance, when you try to  
> > > > put this mapping, you get the ack=false, or are there certain steps that  
> > > > needs to be taken in order to reproduce it?
> > > > 
> > > > -shay.banon
> > > > 
> > > > On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > Here is the mapping I'm using that always causes the problem
> > > > > 
> > > > > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > > > > 
> > > > > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > Can you send a simple recreation?
> > > > > > 
> > > > > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > I should mention this is only one node as well.
> > > > > > > 
> > > > > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle \<[samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > Hi, I still see the problem after update with clean build and  
> > > > > > > > deploy. I had also updated the client jars as well.
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > 
> > > > > > > > > thanks!
> > > > > > > > > 
> > > > > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle \<  
> > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Ok, I'll update and give it a try
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > > > > 
> > > > > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > I am getting back true for my tests, so it might be what you  
> > > > > > > > > > > > > > did before that might cause this? Can you create something simple that  
> > > > > > > > > > > > > > recreates this?
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a  
> > > > > > > > > > > > > > > true value for acknowledged.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [July 19, 2010, 6:32pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/17 "2010-07-19T18:32:09Z")

</div>

My apologies than 🙂  
It is very obvious you are working hard to produce a great application,  
frankly I don't know where you find the time for anything between pushing  
out all updates and addressing the steady stream of questions and  
investigating issues seemingly around the clock.  
I will make more of an effort to provide you with more information for  
reproducing any issues in the future 🙂

Thanks once again for the great work you are doing for the community!

On Mon, Jul 19, 2010 at 11:23 AM, Shay Banon  
[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Here is a quote from 5 emails ago: "Can you send a simple recreation?".  
> Really, its up to you, if there is really a problem and you want it to be  
> fixed, then I need a recreation. Sending me more steps, assumptions,  
> mappings, or something similar just make me try and recreate it  
> un-successfully. The problem is with me, its in my nature. Once I get  
> another bit of information, I spend the time it takes to try and understand  
> and recreate it, and then get frustrated with myself for doing it and not  
> just pushing back and saying: just give me that recreation, my time is  
> precious too 🙂
> 
> -shay.banon
> 
> On Mon, Jul 19, 2010 at 9:12 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> 
> > I never refused to provide a way to recreate and I'm not sure why you are  
> > saying that for, I provided the steps which I followed to recreate the  
> > problem as well as the mappings  
> > I have an integrationtest which always duplicates this problem but  
> > contains information that would be deemed private to the project I am  
> > working on.  
> > I have some pretty tight deadlines but I will make an attempt to strip out  
> > those pieces and provide you with a test when I can. If you wish for me not  
> > to mention issues that are encountered with your project I can refrain from  
> > doing so in the future and leave it for others to discover.
> > 
> > On Mon, Jul 19, 2010 at 10:55 AM, Shay Banon \<  
> > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > 
> > > Since you seem to refuse to send some sort of recreation, I wrote one  
> > > based on your steps and it works for me. Please don't respond to this email  
> > > unless there is some way that I can recreate this, I can't second guess all  
> > > the steps you do. Here is what I ran: [gist:481733 · GitHub](http://gist.github.com/481733)
> > > 
> > > -shay.banon
> > > 
> > > On Sun, Jul 18, 2010 at 6:49 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > 
> > > > This is what I do for the batch indexing:  
> > > > 1.) Delete the index if it exists  
> > > > 2.) Create the index  
> > > > 3.) Check and wait till the index is available  
> > > > 4.) Send the PutMappingRequest which results in the NACK
> > > > 
> > > > On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon \<  
> > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > 
> > > > > And you say that with a fresh elasticsearch instance, when you try to  
> > > > > put this mapping, you get the ack=false, or are there certain steps that  
> > > > > needs to be taken in order to reproduce it?
> > > > > 
> > > > > -shay.banon
> > > > > 
> > > > > On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > 
> > > > > > Here is the mapping I'm using that always causes the problem
> > > > > > 
> > > > > > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > > > > > 
> > > > > > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<  
> > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > 
> > > > > > > Can you send a simple recreation?
> > > > > > > 
> > > > > > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle \<[samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)
> > > > > > > 
> > > > > > > > wrote:
> > > > > > > 
> > > > > > > > I should mention this is only one node as well.
> > > > > > > > 
> > > > > > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle \<  
> > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > 
> > > > > > > > > Hi, I still see the problem after update with clean build and  
> > > > > > > > > deploy. I had also updated the client jars as well.
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > thanks!
> > > > > > > > > > 
> > > > > > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle \<  
> > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > Ok, I'll update and give it a try
> > > > > > > > > > > 
> > > > > > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > > > > > 
> > > > > > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > I am getting back true for my tests, so it might be what you  
> > > > > > > > > > > > > > > did before that might cause this? Can you create something simple that  
> > > > > > > > > > > > > > > recreates this?
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a  
> > > > > > > > > > > > > > > > true value for acknowledged.
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > Thanks

---

<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: [July 19, 2010, 6:36pm UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/18 "2010-07-19T18:36:20Z")

</div>

Thanks!

On Mon, Jul 19, 2010 at 9:32 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> My apologies than 🙂  
> It is very obvious you are working hard to produce a great application,  
> frankly I don't know where you find the time for anything between pushing  
> out all updates and addressing the steady stream of questions and  
> investigating issues seemingly around the clock.  
> I will make more of an effort to provide you with more information for  
> reproducing any issues in the future 🙂
> 
> Thanks once again for the great work you are doing for the community!
> 
> On Mon, Jul 19, 2010 at 11:23 AM, Shay Banon \<[shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)
> 
> > wrote:
> 
> > Here is a quote from 5 emails ago: "Can you send a simple recreation?".  
> > Really, its up to you, if there is really a problem and you want it to be  
> > fixed, then I need a recreation. Sending me more steps, assumptions,  
> > mappings, or something similar just make me try and recreate it  
> > un-successfully. The problem is with me, its in my nature. Once I get  
> > another bit of information, I spend the time it takes to try and understand  
> > and recreate it, and then get frustrated with myself for doing it and not  
> > just pushing back and saying: just give me that recreation, my time is  
> > precious too 🙂
> > 
> > -shay.banon
> > 
> > On Mon, Jul 19, 2010 at 9:12 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > 
> > > I never refused to provide a way to recreate and I'm not sure why you are  
> > > saying that for, I provided the steps which I followed to recreate the  
> > > problem as well as the mappings  
> > > I have an integrationtest which always duplicates this problem but  
> > > contains information that would be deemed private to the project I am  
> > > working on.  
> > > I have some pretty tight deadlines but I will make an attempt to strip  
> > > out those pieces and provide you with a test when I can. If you wish for me  
> > > not to mention issues that are encountered with your project I can refrain  
> > > from doing so in the future and leave it for others to discover.
> > > 
> > > On Mon, Jul 19, 2010 at 10:55 AM, Shay Banon \<  
> > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > 
> > > > Since you seem to refuse to send some sort of recreation, I wrote one  
> > > > based on your steps and it works for me. Please don't respond to this email  
> > > > unless there is some way that I can recreate this, I can't second guess all  
> > > > the steps you do. Here is what I ran: [gist:481733 · GitHub](http://gist.github.com/481733)
> > > > 
> > > > -shay.banon
> > > > 
> > > > On Sun, Jul 18, 2010 at 6:49 PM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > 
> > > > > This is what I do for the batch indexing:  
> > > > > 1.) Delete the index if it exists  
> > > > > 2.) Create the index  
> > > > > 3.) Check and wait till the index is available  
> > > > > 4.) Send the PutMappingRequest which results in the NACK
> > > > > 
> > > > > On Sun, Jul 18, 2010 at 1:35 AM, Shay Banon \<  
> > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > 
> > > > > > And you say that with a fresh elasticsearch instance, when you try to  
> > > > > > put this mapping, you get the ack=false, or are there certain steps that  
> > > > > > needs to be taken in order to reproduce it?
> > > > > > 
> > > > > > -shay.banon
> > > > > > 
> > > > > > On Sun, Jul 18, 2010 at 5:58 AM, Samuel Doyle [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)wrote:
> > > > > > 
> > > > > > > Here is the mapping I'm using that always causes the problem
> > > > > > > 
> > > > > > > {"sale":{"properties":{"salescode":{"type":"string","boost":1},"sdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > > > HH:mm:ss.S"},"orgid":{"type":"long","boost":1},"safname":{"type":"string","boost":1},"salname":{"type":"string","index":"not\_analyzed","boost":1},"saemail":{"type":"string","boost":1},"saaddr1":{"type":"string","boost":1},"saaddr2":{"type":"string","boost":1},"sacity":{"type":"string","boost":1},"sastateprov":{"type":"string","boost":1},"sapostalcode":{"type":"string","boost":1},"sacountry":{"type":"string","boost":1},"saphone":{"type":"string","boost":1},"bafname":{"type":"string","boost":1},"balname":{"type":"string","boost":1},"baemail":{"type":"string","boost":1},"baaddr1":{"type":"string","boost":1},"baaddr2":{"type":"string","boost":1},"bacity":{"type":"string","boost":1},"bastateprov":{"type":"string","boost":1},"bapostalcode":{"type":"string","boost":1},"bacountry":{"type":"string","boost":1},"baphone":{"type":"string","boost":1},"creditcard":{"type":"string","boost":1},"trxamount":{"type":"double","boost":1},"trxdate":{"type":"date","boost":1,"format":"YYYY-MM-dd  
> > > > > > > HH:mm:ss.S"},"pgownertype":{"type":"integer","boost":1},"pgownerid":{"type":"integer","boost":1}}}}
> > > > > > > 
> > > > > > > On Fri, Jul 16, 2010 at 4:16 AM, Shay Banon \<  
> > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > 
> > > > > > > > Can you send a simple recreation?
> > > > > > > > 
> > > > > > > > On Fri, Jul 16, 2010 at 5:39 AM, Samuel Doyle \<  
> > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > 
> > > > > > > > > I should mention this is only one node as well.
> > > > > > > > > 
> > > > > > > > > On Thu, Jul 15, 2010 at 7:39 PM, Samuel Doyle \<  
> > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > 
> > > > > > > > > > Hi, I still see the problem after update with clean build and  
> > > > > > > > > > deploy. I had also updated the client jars as well.
> > > > > > > > > > 
> > > > > > > > > > On Thu, Jul 15, 2010 at 3:54 PM, Shay Banon \<  
> > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > 
> > > > > > > > > > > thanks!
> > > > > > > > > > > 
> > > > > > > > > > > On Fri, Jul 16, 2010 at 1:51 AM, Samuel Doyle \<  
> > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > 
> > > > > > > > > > > > Ok, I'll update and give it a try
> > > > > > > > > > > > 
> > > > > > > > > > > > On Thu, Jul 15, 2010 at 3:49 PM, Shay Banon \<  
> > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > 
> > > > > > > > > > > > > Can you verify that it does not happen with the latest fix?
> > > > > > > > > > > > > 
> > > > > > > > > > > > > On Fri, Jul 16, 2010 at 1:49 AM, Samuel Doyle \<  
> > > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > > 
> > > > > > > > > > > > > > Yes, it appears the mappings are fine but the ack was false.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 10:04 AM, Shay Banon \<  
> > > > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Ok, managed to simulate it, opened an issue:  
> > > > > > > > > > > > > > > [Put Mapping: When updating existing mappings, the request returns with acknowledged `false` · Issue #262 · elastic/elasticsearch · GitHub](http://github.com/elasticsearch/elasticsearch/issues/issue/262)(check if this is your case) and pushed a fix for it.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 7:11 PM, Shay Banon \<  
> > > > > > > > > > > > > > > [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)\> wrote:
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > I am getting back true for my tests, so it might be what you  
> > > > > > > > > > > > > > > > did before that might cause this? Can you create something simple that  
> > > > > > > > > > > > > > > > recreates this?
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > On Thu, Jul 15, 2010 at 1:55 AM, Samuel Doyle \<  
> > > > > > > > > > > > > > > > [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com)\> wrote:
> > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > When sending a PutMappingRequest I used to receive back a  
> > > > > > > > > > > > > > > > > true value for acknowledged.
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > client.admin().indices().putMapping(new  
> > > > > > > > > > > > > > > > > PutMappingRequest(indexName).source(value)).actionGet().acknowledged
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > After my last update from master and build this is always  
> > > > > > > > > > > > > > > > > returning false. What could be the issue here?
> > > > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > > > Thanks

---

<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, 4:22am UTC](https://discuss.elastic.co/t/put-mapping-request-returning-acknowledged-false/3104/19 "2017-07-06T04:22:06Z")

</div>


