# 1.0.0.0.RC1 breaking changes: multi\_field documentation

**URL:** <https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325>\
**Category:** Elasticsearch\
**Created:** [January 20, 2014, 4:15pm UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325 "2014-01-20T16:15:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [January 20, 2014, 4:15pm UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325/1 "2014-01-20T16:15:36Z")

</div>

Looking at the following to prepare for RC1:  
[http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/\_multi\_fields.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_multi_fields.html)

I find the following. But shouldn't the semicolon after the first "type" "  
"string" be a comma?

Brian

you can now write:

"title": {  
"type": "string";  
"fields": {  
"raw": { "type": "string", "index": "not\_analyzed" }  
}  
}

--  
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/008da72d-f2a3-4f76-a9ec-0dd335be8c23%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/008da72d-f2a3-4f76-a9ec-0dd335be8c23%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [January 20, 2014, 5:28pm UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325/2 "2014-01-20T17:28:34Z")

</div>

yes, definitely, that's a typo which I'm going to fix, thanks!

On Monday, January 20, 2014 5:15:36 PM UTC+1, InquiringMind wrote:

> Looking at the following to prepare for RC1:  
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/_multi_fields.html)
> 
> I find the following. But shouldn't the semicolon after the first "type"  
> " "string" be a comma?
> 
> Brian
> 
> you can now write:
> 
> "title": {  
> "type": "string";  
> "fields": {  
> "raw": { "type": "string", "index": "not\_analyzed" }  
> }  
> }

--  
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/1d0d1395-5e3d-4e5e-8203-53a702025664%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1d0d1395-5e3d-4e5e-8203-53a702025664%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![brian\_yoder](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@brian\_yoder](https://discuss.elastic.co/u/brian_yoder)\
**Post date:** [January 20, 2014, 5:39pm UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325/3 "2014-01-20T17:39:18Z")

</div>

Luca,

Thanks for the quick confirmation!

One quick question: the doc also says that:

Existing multi-fields will be upgraded to the new format automatically.

I assume that this means that existing indices with multi-field mappings  
will be OK, but whenever I create a new index and add multiple mappings for  
a new field, I must use the new syntax and not the old syntax. Is this a  
correct assumptions (no problem; I have already converted my mappings in  
preparation for RC1 and just want to know that it was worth the time to do  
it!)

Thanks!

Brian

--  
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/85514003-30a4-440f-a0a4-9a71e212906b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/85514003-30a4-440f-a0a4-9a71e212906b%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![javanna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/javanna/32/4698_2.png) [@javanna](https://discuss.elastic.co/u/javanna)\
**Post date:** [January 21, 2014, 9:46am UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325/4 "2014-01-21T09:46:28Z")

</div>

Hi Brian,  
we do upgrade existing mappings converting the old format to the new one.  
That means whenever a mapping contains the old format, the get mapping will  
output the new one anyway. That works for existing mappings, as well as for  
new mappings added using the old format.

That said I'd recommended to switch to the new format anyway, something  
that you have already done. Well done then 😉

On Mon, Jan 20, 2014 at 6:39 PM, InquiringMind [brian.from.fl@gmail.com](mailto:brian.from.fl@gmail.com)wrote:

> Luca,
> 
> Thanks for the quick confirmation!
> 
> One quick question: the doc also says that:
> 
> Existing multi-fields will be upgraded to the new format automatically.
> 
> I assume that this means that existing indices with multi-field mappings  
> will be OK, but whenever I create a new index and add multiple mappings for  
> a new field, I must use the new syntax and not the old syntax. Is this a  
> correct assumptions (no problem; I have already converted my mappings in  
> preparation for RC1 and just want to know that it was worth the time to do  
> it!)
> 
> Thanks!
> 
> Brian
> 
> --  
> You received this message because you are subscribed to a topic in the  
> Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit  
> [https://groups.google.com/d/topic/elasticsearch/hFhjM8k9hvA/unsubscribe](https://groups.google.com/d/topic/elasticsearch/hFhjM8k9hvA/unsubscribe).  
> To unsubscribe from this group and all its topics, 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/85514003-30a4-440f-a0a4-9a71e212906b%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/85514003-30a4-440f-a0a4-9a71e212906b%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CADdZ9MUOvo2%3DFkbQXUz8K4ULZkBSiOEBNVaNrEwGoQLfU4j8GQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CADdZ9MUOvo2%3DFkbQXUz8K4ULZkBSiOEBNVaNrEwGoQLfU4j8GQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:55am UTC](https://discuss.elastic.co/t/1-0-0-0-rc1-breaking-changes-multi-field-documentation/15325/5 "2017-07-06T01:55:40Z")

</div>

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


