Mapping problem for dinamic array


(ciro) #1

Hi, i need to create a mapping for one field that is an array of array.

example:

i want to save into ES 2.0 this array:

fruit : { yellow : { name:{},state:{} }, green : { name{},state() } }

but this array is dinamically created; so i don't know what i save into fruit (i don't know the color).

How i can set the mapping for this array?


(system) #2