Dynamic strict and child document index fails

(Darren) #1

I have a mapping of a parent doc and child doc with both documents set to "dynamic=strict".

In a bulk call it indexes the parent then (tries to) indexes the children. The indexing of the child documents fail because the "document is too strict", or if I move the _parent value to a different place the error is because "_id" cannot be null, or it needs a "_routing" value.

However, when I remove "dynamic=strict" from the child mapping, it works just fine.

Is it just me or does that look like a bug? Seems I should be able to maintain strict mapping on a child document.

ES 5.1

(system) #2

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