Using elastic search need some help on transposing the data