# Rolling back from 1.0 to 0.90.12 - Will data be affected?

**URL:** <https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234>\
**Category:** Elasticsearch\
**Created:** [March 7, 2014, 3:40pm UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234 "2014-03-07T15:40:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaron\_Troy](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Aaron\_Troy](https://discuss.elastic.co/u/Aaron_Troy)\
**Post date:** [March 7, 2014, 3:40pm UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234/1 "2014-03-07T15:40:39Z")

</div>

Hi all,

We upgraded from a previous version (0.90.7) to 1.0 recently, but need to  
rollback to a 0.90 version due to our code not accounting for the field  
values being returned as arrays instead of strings. Will data be affected  
by the rollback, or should things be fine?

--  
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/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [March 7, 2014, 3:48pm UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234/2 "2014-03-07T15:48:05Z")

</div>

There was a lucene upgrade in there so I don't believe you can go back. If  
you haven't written anything or optimized then maybe? Unfortunately I  
think your best bet it to fix the code.... Look at source filtering which  
will return something more familiar.

Sorry,

Nik

On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy [atoy3731@gmail.com](mailto:atoy3731@gmail.com) wrote:

> Hi all,
> 
> We upgraded from a previous version (0.90.7) to 1.0 recently, but need to  
> rollback to a 0.90 version due to our code not accounting for the field  
> values being returned as arrays instead of strings. Will data be affected  
> by the rollback, or should things be fine?
> 
> --  
> 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/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%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/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [March 7, 2014, 3:58pm UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234/3 "2014-03-07T15:58:00Z")

</div>

I confirm that Elasticsearch only guarantees backward compatibility of the  
data, not forward, so really bad things may happen when trying to downgrade  
to an older version. For instance, the way versions are stored changed  
completely (from payloads to numeric doc values) and although the 1.0  
version is aware of how they were stored in 0.90.x, the opposite is not  
true so versioning will be broken if you downgrade.

On Fri, Mar 7, 2014 at 4:48 PM, Nikolas Everett [nik9000@gmail.com](mailto:nik9000@gmail.com) wrote:

> There was a lucene upgrade in there so I don't believe you can go back.  
> If you haven't written anything or optimized then maybe? Unfortunately I  
> think your best bet it to fix the code.... Look at source filtering which  
> will return something more familiar.
> 
> Sorry,
> 
> Nik
> 
> On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy [atoy3731@gmail.com](mailto:atoy3731@gmail.com) wrote:
> 
> > Hi all,
> > 
> > We upgraded from a previous version (0.90.7) to 1.0 recently, but need to  
> > rollback to a 0.90 version due to our code not accounting for the field  
> > values being returned as arrays instead of strings. Will data be affected  
> > by the rollback, or should things be fine?
> > 
> > --  
> > 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/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%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/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%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).

--  
Adrien Grand

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

---

<div class="post-metadata">

**Author:** ![Aaron\_Troy](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@Aaron\_Troy](https://discuss.elastic.co/u/Aaron_Troy)\
**Post date:** [March 7, 2014, 5:30pm UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234/4 "2014-03-07T17:30:48Z")

</div>

Ah, yes. That's what I was afraid of. Thanks for the info. I don't think  
the code will be too awful to update.

On Friday, March 7, 2014 10:48:05 AM UTC-5, Nikolas Everett wrote:

> There was a lucene upgrade in there so I don't believe you can go back.  
> If you haven't written anything or optimized then maybe? Unfortunately I  
> think your best bet it to fix the code.... Look at source filtering which  
> will return something more familiar.
> 
> Sorry,
> 
> Nik
> 
> On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy \<[atoy...@gmail.com](mailto:atoy...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hi all,
> > 
> > We upgraded from a previous version (0.90.7) to 1.0 recently, but need to  
> > rollback to a 0.90 version due to our code not accounting for the field  
> > values being returned as arrays instead of strings. Will data be affected  
> > by the rollback, or should things be fine?
> > 
> > --  
> > 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/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%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/11241b3b-dd9e-4704-b988-554c06feddb1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/11241b3b-dd9e-4704-b988-554c06feddb1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:44am UTC](https://discuss.elastic.co/t/rolling-back-from-1-0-to-0-90-12-will-data-be-affected/16234/5 "2017-07-06T01:44:48Z")

</div>


