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

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -