I want to change a field from being not stored to stored. I tried to re-run the the json mapping (with the update) through curl , and I keep getting:
{"error":"Merge failed with failures [[Mapper [receivedDate] exists, can't merge]]"}
To update a mapping, do I just re-run the same mappings json I used to create the mappings (with the changes)? (That is what I'm trying and it is not working.) If not, what do I do?
Also, it is not clear to me where I put the ignore_conflicts param. Is that what I need? I wasn't sure on what level of the json tp put it in. If that is what I need, could you please give a little more information about where to drop it into the json or the url?
You can't change a field form not being stored to being stored. ignore
conflicts will simply ignore this conflict, but not apply it. You will need
to reindex your index.
I want to change a field from being not stored to stored. I tried to
re-run
the the json mapping (with the update) through curl , and I keep getting:
{"error":"Merge failed with failures [[Mapper [receivedDate] exists, can't
merge]]"}
To update a mapping, do I just re-run the same mappings json I used to
create the mappings (with the changes)? (That is what I'm trying and it is
not working.) If not, what do I do?
Also, it is not clear to me where I put the ignore_conflicts param. Is
that
what I need? I wasn't sure on what level of the json tp put it in. If
that
is what I need, could you please give a little more information about where
to drop it into the json or the url?
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.