elasticsearch - Joins in elastic search -


i have 2 documents following structures

shipment_received :      {      header level detail     "itemid" : "i1",     "quantity" : q1     "vendor" : "v1"    }  shipment_ordered :  {     header level details     "itemid" : "i2"     "quantity" : q2     "vendor":"v1"  } 

for given vendor want find average difference in order quantity , received quantity. how can done using elastic search ?


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -