How to create custom mapping for the same field

When I put the following JSON to elasticsearch. It get error about nested:






I knew have different type, what should I do to avoid create index or create custom mapping.

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
To view this discussion on the web visit
For more options, visit