search multiple ids in multiple types in elasticsearch
You simply need to use the bool/filter
query:
POST /_search{ "query": { "bool": { "should": [ { "ids": { "type": "product", "values": [ "100005", "10002010093" ] } }, { "ids": { "type": "store", "values": [ "100003", "1000201" ] } } ] } }}