Mapper_parsing_exception while indexing json document

Hi,
actions=[{'id':0 ,'imgurl':'abc', 'description':'abc'} , {} ,{}...]
I have such json arrays,
when i run
bulk(es,actions,index="index_name",doc_type="json") in python
i get the following error,
object mapping for [imgurl] tried to parse field [imgurl] as object but found a concrete value.

Check your mapping. The field is defined as an object and not as a text.
May be you indexed other documents previously which don't have the same data structure.

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