# Upgrading from 0.90.7 to 1.4. Gotchas?

**URL:** https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856
**Category:** Elasticsearch
**Created:** [November 20, 2014, 6:03am UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856 "2014-11-20T06:03:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Yves\_Dorfsman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yves_dorfsman/32/1106_2.png) [@Yves\_Dorfsman](https://discuss.elastic.co/u/Yves_Dorfsman)
#### Post date: [November 20, 2014, 6:03am UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/1 "2014-11-20T06:03:17Z")

</div>

Are there any precautions to take before upgrading from 0.9 to 1.4?

Different data types?  
Different API calls?  
etc...

And, what is the best way to upgrade? Can we just add a node at the newer  
version and let it pull the data?

Thanks.

[http://yves.zioup.com](http://yves.zioup.com)  
gpg: 4096R/32B0F416

--  
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/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)
#### Post date: [November 20, 2014, 12:46pm UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/2 "2014-11-20T12:46:57Z")

</div>

I would be interested too, we are using the same 0.90.7 version.

Jason

On Thu, Nov 20, 2014 at 2:03 PM, Yves Dorfsman [yves@zioup.com](mailto:yves@zioup.com) wrote:

> Are there any precautions to take before upgrading from 0.9 to 1.4?
> 
> Different data types?  
> Different API calls?  
> etc...
> 
> And, what is the best way to upgrade? Can we just add a node at the newer  
> version and let it pull the data?
> 
> Thanks.
> 
> [http://yves.zioup.com](http://yves.zioup.com)  
> gpg: 4096R/32B0F416
> 
> --  
> 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/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![David\_Smith\_2](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@David\_Smith\_2](https://discuss.elastic.co/u/David_Smith_2)
#### Post date: [November 20, 2014, 3:37pm UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/3 "2014-11-20T15:37:47Z")

</div>

I can't remember what 0.90.x was unlike as that was long ago for us, but we  
recently upgraded from 1.1.0 to 1.4.0.

Look  
at [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/breaking-changes.html)

additionally pay attention to:

- scripting:
  - replacement of mvel w/ groovy and disabling dynamic scripting by  
default. We elected to install the mvel plugin manually and change our  
scripts to identify that they are mvel (lang=mvel) and make some minor  
adjustments to make compatible (such as use of \_score instead of doc.score  
in scripts). We will do the upgrade to groovy from mvel separately to take  
care of security concerns w/ mvel.

- lot of percolator changes in 1.x
- multi field changes in 1.0.0
- disk space allocation decider configuration format changed in 1.x  
sometime (if you're configuring that)
- enabled CORS if you're using HEAD (see  
[ES Head is not working with elasticsearch-1.4.0.Beta1 · Issue #170 · mobz/elasticsearch-head · GitHub](https://github.com/mobz/elasticsearch-head/issues/170))

In general, I would go through release notes  
at [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/downloads/) and look under breaking changes  
for every version since your last version.

On Thursday, November 20, 2014 7:47:04 AM UTC-5, Jason Wee wrote:

> I would be interested too, we are using the same 0.90.7 version.
> 
> Jason
> 
> On Thu, Nov 20, 2014 at 2:03 PM, Yves Dorfsman \<[yv...@zioup.com](mailto:yv...@zioup.com)  
> \<javascript:\>\> wrote:
> 
> > Are there any precautions to take before upgrading from 0.9 to 1.4?
> > 
> > Different data types?  
> > Different API calls?  
> > etc...
> > 
> > And, what is the best way to upgrade? Can we just add a node at the newer  
> > version and let it pull the data?
> > 
> > Thanks.
> > 
> > [http://yves.zioup.com](http://yves.zioup.com)  
> > gpg: 4096R/32B0F416
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/5070f24d-92d6-42ba-a447-4dd759c59fb3%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5070f24d-92d6-42ba-a447-4dd759c59fb3%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jaguar](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jaguar](https://discuss.elastic.co/u/Jaguar)
#### Post date: [November 20, 2014, 3:45pm UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/4 "2014-11-20T15:45:01Z")

</div>

The most surprising part of my upgrade from 0.90 to 1.0.1 was the drop of  
indexing performance. So, yes, I’m also interested to know any gotchas.  
2014年11月20日 下午8:47于 "Jason Wee" [peichieh@gmail.com](mailto:peichieh@gmail.com)写道：

> I would be interested too, we are using the same 0.90.7 version.
> 
> Jason
> 
> On Thu, Nov 20, 2014 at 2:03 PM, Yves Dorfsman [yves@zioup.com](mailto:yves@zioup.com) wrote:
> 
> > Are there any precautions to take before upgrading from 0.9 to 1.4?
> > 
> > Different data types?  
> > Different API calls?  
> > etc...
> > 
> > And, what is the best way to upgrade? Can we just add a node at the newer  
> > version and let it pull the data?
> > 
> > Thanks.
> > 
> > [http://yves.zioup.com](http://yves.zioup.com)  
> > gpg: 4096R/32B0F416
> > 
> > --  
> > 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/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/3c6b6789-de98-40d4-9532-ae78b5465c4a%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
> 
> --  
> 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/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAHO4itzYRinoR1-qW2FRXQT6bxTpuPADoW6zTsJ%3DgKLoGmZBKA%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CAP0hgQ1W5Rw0QqYtiGExJZUNSJ8QsOAxmxYSDgk-6b\_zK%3DkmJA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAP0hgQ1W5Rw0QqYtiGExJZUNSJ8QsOAxmxYSDgk-6b_zK%3DkmJA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![David\_Smith\_2](https://avatars.discourse-cdn.com/v4/letter/d/a9a28c/32.png) [@David\_Smith\_2](https://discuss.elastic.co/u/David_Smith_2)
#### Post date: [November 20, 2014, 4:34pm UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/5 "2014-11-20T16:34:33Z")

</div>

Also, forgot to mention... if you have native scripts, they will  
mysteriously throw Unsupported Operation exception whenever invoked. Looks  
like they made a mistake in 1.4.0 (that is now reverted on master), that  
requires you to override the setScorer in native scripts. It's ok, I just  
wish they documented in breaking changes.

On Thursday, November 20, 2014 1:03:17 AM UTC-5, Yves Dorfsman wrote:

> Are there any precautions to take before upgrading from 0.9 to 1.4?
> 
> Different data types?  
> Different API calls?  
> etc...
> 
> And, what is the best way to upgrade? Can we just add a node at the newer  
> version and let it pull the data?
> 
> Thanks.
> 
> [http://yves.zioup.com](http://yves.zioup.com)  
> gpg: 4096R/32B0F416

--  
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/743f6571-af44-40cc-a1c8-f9474cae4773%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/743f6571-af44-40cc-a1c8-f9474cae4773%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 12:48am UTC](https://discuss.elastic.co/t/upgrading-from-0-90-7-to-1-4-gotchas/20856/6 "2017-07-06T00:48:38Z")

</div>


