Hello ,
I am getting this error : Field [location] is defined as a field in mapping [places] but this name is
already used for an object in other types.
and I dont know what is going on. I only have one location field with type equal to geo_point.
Any ideas=
this message explains that you have a field called location in another type in your index already set. Is it possible that you are querying more than one type?
yes, I had five different types and one of them had a different mapping field. In my opinon I should had got an error in the type with wrong mapping field but I got in other (weird).
Anyways, I did a backup, modified the mapping and restored the data.
Thanks
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.