@Aravind2407 : Yes it will increase the number of query on your instance with that approach.Alternatively, you can try this:-Get all the document types (i.e type1,type2,type3) using a query.In your backend logic, group the result set based on type and then extract only whatever you need for each typ...