How to search a field in array using elasticsearch
===

I am using the index array field json as, 

    "productdetailsarray":
    {
    "properties":{
    "producttone" : { "type" : "integer", "store" : "yes", "precision_step" : "8" },
    "productsaleid" : { "type" : "integer", "store" : "yes", "precision_step" : "8" },
    "productcoverage" : { "type" : "integer", "store" : "yes", "precision_step" : "8" },
    "productdataid" : { "type" : "integer", "store" : "yes", "precision_step" : "8" },
    "productid" : { "type" : "integer", "store" : "yes", "precision_step" : "8" }}
    }


How to search the data inside the array?