Create nested type during index creation (Dynamic)

Hey Gurus, i am sure most of the ppl might have came across this.

I am looking to have a nested type defined during index creation (Dynamic mapping). below are the options have explored.

Option 1:

  1. Push a document to index
  2. Get the mappings created from step1
  3. Modify the mappings with nested type.
  4. Update the mappings.

Option 2:
Dynamic templates.

Please let me know if there a way to create nested types during initial (dynamic) index creation.

Thanks in advance.

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