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?
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.
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?
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 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.
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?
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<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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.