Lavanya, Something like this?
{ "name": [ { "blue": "black" }, { "white": "red" } ] } Also how would you want to search it, for example? -- 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/64d29839-a4d8-4a94-bea7-459c4b256663%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.