Field [location] is defined as a field in mapping [places] but this name is already used for an object in other types


#1

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=


(Alexander Reelsen) #2

Hey,

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?

--Alex


#3

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


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.