There is no way to solve the problem without reindexing since Elasticsearch indexes data in a flat way by default: it has no way to figure which consent the 0s and the 1s map to.
Nested documents would allow you to keep the structure but you would still need to reindex in order to take into account different mappings. That said, I was advise against it since nested documents will make things complicated and slow.
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.