# Problem with put mapping on multiple indices

**URL:** <https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965>\
**Category:** Elasticsearch\
**Created:** [February 23, 2011, 9:42am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965 "2011-02-23T09:42:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [February 23, 2011, 9:42am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/1 "2011-02-23T09:42:10Z")

</div>

Hi,  
I tested put mapping on all indices using transport client but it does not  
work in version 0.15. It was working in previous versions (0.14.x). Is this  
feature deprecated?

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [February 23, 2011, 10:19am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/2 "2011-02-23T10:19:17Z")

</div>

On Wed, 2011-02-23 at 11:42 +0200, Mustafa Sener wrote:

> Hi,  
> I tested put mapping on all indices using transport client but it does  
> not work in version 0.15. It was working in previous versions  
> (0.14.x). Is this feature deprecated?

Why do you think this doesn't work?

This gist shows that it does: [Put mapping on multiple indices · GitHub](https://gist.github.com/840245)

clint

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [February 23, 2011, 11:46am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/3 "2011-02-23T11:46:55Z")

</div>

In the gist you sent me acknowledged part in create mapping response is  
false. I got the same response in my automated test. Why does this return  
acknowledged false? In previous ES versions it was true.

On Wed, Feb 23, 2011 at 12:19 PM, Clinton Gormley  
[clinton@iannounce.co.uk](mailto:clinton@iannounce.co.uk)wrote:

> On Wed, 2011-02-23 at 11:42 +0200, Mustafa Sener wrote:
> 
> > Hi,  
> > I tested put mapping on all indices using transport client but it does  
> > not work in version 0.15. It was working in previous versions  
> > (0.14.x). Is this feature deprecated?
> 
> Why do you think this doesn't work?
> 
> This gist shows that it does: [Put mapping on multiple indices · GitHub](https://gist.github.com/840245)
> 
> clint

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [February 23, 2011, 12:11pm UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/4 "2011-02-23T12:11:06Z")

</div>

On Wed, 2011-02-23 at 13:46 +0200, Mustafa Sener wrote:

> In the gist you sent me acknowledged part in create mapping response  
> is false. I got the same response in my automated test. Why does this  
> return acknowledged false? In previous ES versions it was true.

Ah OK - I don't know what that changed, but I'm guessing it is to do  
with this commit:

> **[Commits · elastic/elasticsearch](https://github.com/elastic/elasticsearch/commits/2381f668f8962412d223ce1ac41dcb61a60339d6)**
>
> Free and Open, Distributed, RESTful Search Engine. Contribute to elastic/elasticsearch development by creating an account on GitHub.

Have to wait for kimchy to comment

clint

---

<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 24, 2011, 2:50am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/5 "2011-02-24T02:50:41Z")

</div>

Can you open an issue for this? The fact that it was not ack'ed does not mean that its not there.  
On Wednesday, February 23, 2011 at 2:11 PM, Clinton Gormley wrote:

> On Wed, 2011-02-23 at 13:46 +0200, Mustafa Sener wrote:
> 
> > In the gist you sent me acknowledged part in create mapping response  
> > is false. I got the same response in my automated test. Why does this  
> > return acknowledged false? In previous ES versions it was true.
> 
> Ah OK - I don't know what that changed, but I'm guessing it is to do  
> with this commit:
> 
> [Commits · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/commits/2381f668f8962412d223ce1ac41dcb61a60339d6)
> 
> Have to wait for kimchy to comment
> 
> clint

---

<div class="post-metadata">

**Author:** ![Mustafa\_Sener](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@Mustafa\_Sener](https://discuss.elastic.co/u/Mustafa_Sener)\
**Post date:** [February 24, 2011, 12:10pm UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/6 "2011-02-24T12:10:51Z")

</div>

I created issue

> <https://github.com/elastic/elasticsearch/issues/720>
>
> While using put mapping with multiple indices response returns acknowledged as f…alse. It should return true. 
> This is discussed in
> http://elasticsearch-users.115913.n3.nabble.com/Problem-with-put-mapping-on-multiple-indices-tp2558832p2558832.html

Thanks...

On Thu, Feb 24, 2011 at 4:50 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> Can you open an issue for this? The fact that it was not ack'ed does not  
> mean that its not there.
> 
> On Wednesday, February 23, 2011 at 2:11 PM, Clinton Gormley wrote:
> 
> On Wed, 2011-02-23 at 13:46 +0200, Mustafa Sener wrote:
> 
> In the gist you sent me acknowledged part in create mapping response  
> is false. I got the same response in my automated test. Why does this  
> return acknowledged false? In previous ES versions it was true.
> 
> Ah OK - I don't know what that changed, but I'm guessing it is to do  
> with this commit:
> 
> [Commits · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/commits/2381f668f8962412d223ce1ac41dcb61a60339d6)
> 
> Have to wait for kimchy to comment
> 
> clint

--  
Mustafa Sener  
[www.ifountain.com](http://www.ifountain.com)

---

<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 24, 2011, 7:10pm UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/7 "2011-02-24T19:10:45Z")

</div>

cool, thanks!, a fix is on the way 🙂  
On Thursday, February 24, 2011 at 2:10 PM, Mustafa Sener wrote:

> I created issue  
> [Acknowledge problem for put mapping with multiple indices or all indices · Issue #720 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/issues/720)  
> Thanks...
> 
> On Thu, Feb 24, 2011 at 4:50 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com) wrote:
> 
> > Can you open an issue for this? The fact that it was not ack'ed does not mean that its not there.  
> > On Wednesday, February 23, 2011 at 2:11 PM, Clinton Gormley wrote:
> > 
> > > On Wed, 2011-02-23 at 13:46 +0200, Mustafa Sener wrote:
> > > 
> > > > In the gist you sent me acknowledged part in create mapping response  
> > > > is false. I got the same response in my automated test. Why does this  
> > > > return acknowledged false? In previous ES versions it was true.
> > > 
> > > Ah OK - I don't know what that changed, but I'm guessing it is to do  
> > > with this commit:
> > > 
> > > [Commits · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/commits/2381f668f8962412d223ce1ac41dcb61a60339d6)
> > > 
> > > Have to wait for kimchy to comment
> > > 
> > > clint
> 
> --  
> Mustafa Sener  
> [www.ifountain.com](http://www.ifountain.com)

---

<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:11am UTC](https://discuss.elastic.co/t/problem-with-put-mapping-on-multiple-indices/3965/8 "2017-07-06T04:11:32Z")

</div>

Closed on July 6, 2017, 4:11am UTC


