Hallo dear all,
the last days I played a lot with Elastic Search and I'm really impressed.
But now I have a problem which seems a little bit strange.
I tried to index a document looking like this:
{"metadataContainerType":
{"xmlns:ns3":"***",
"title":"Eine Szene",
"id":{},
"format":"text/xml",
"created":"2011-12-16T20:32:56.580+01:00",
"lastModified":"2012-05-10T07:30:14.766+02:00",
"issued":"2011-12-16T20:32:56.580+01:00",
"revision":0,
"pid":"hdl:11858/00-1734-0000-0001-D89D-E",
"extent":38,
"availability":"public",
"permissions":"read",
"rightsHolder":{},
"dateOfCreation":{},
"genre":"prose"}}
and everything works fine!
But when I try index this file:
{"metadataContainerType":
{"xmlns:ns3":"***",
"title":"Des Dichters Freundin",
"id":{},
"format":"text/xml",
"created":"2011-12-16T20:35:44.239+01:00",
"lastModified":"2011-12-16T20:35:44.239+01:00",
"issued":"2011-12-16T20:35:44.239+01:00",
"revision":0,
"pid":"hdl:11858/00-1734-0000-0001-D978-7",
"extent":10767,
"availability":"public",
"permissions":{},
"dateOfCreation":{},
"agent":{},
"genre":{}}}
I get the error: "{"error":"MapperParsingException[object mapping for
[metadata] tried to parse as object, but got EOF, has a concrete value been
provided to it?]","status":400}"
When I remove the "metadataContainerType": it works!
So I am a little bit confused, can someone of you explain me this behavior?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.