I am using ES-7.x, facing issue while indexing document, the data structure is like below
I am using field type "nested" at the time of index creation
Note: If I add the first document like the array of an object and second document is an array of a string, then unable to add the second document.
Also, I have tried with the field type "text" still getting the same error
Please suggest me, how can I add all type of documents in a single field