I am new to MongoDB so please excuse my ignorance.

I have a mongoDB which contains a bunch of documents with something like this

```
["field": "blah", "version":"1" ...]
["field": "blah", "version":"2" ...]
["field": "blah", "version":"1"....]
["field": "blah1", "version":"10"...]
["field": "blah2", "version":"100"...]
["field": "blah3", "version":"1"....]
["field": "blah3", "version":"2"....]
["field": "blah2", "version":"1"....

```

I am trying to send a list of queries and fetch all the records as a batch. Is it possible to do so? 

```
List<Docs> fetchDocs(Map<String, String> queries)
{
     CriteriaContainer cc=null;
     Query<Docs> query = this.mongoDao.createQuery(MyClass.class);
     for (Map.Entry<String,String >entry : queries.entrySet())
     {
          if(cc ==null)
          {
            cc= query.criteria("Field").equal(entry.getKey()).and(query.criteria("version").equal(entry.getValue()));
          }
          else
          {
            cc.or(query.criteria("Field").equal(entry.getKey()).and(query.criteria("version").equal(entry.getValue()));)
          }

    }
    query.and(cc);
    List<Docs> doc = query.asList();

    return doc;
}

```

I am not geting the correct list back. I am not sure if I have written this query correctly.

essentially, I want to fetch results or query like this

```
[{"Field":"blah,"version":1 } $or {"Field":"blah1", "version":10} ]

```

It should return me a list containing 

```
["field": "blah", "version":"1" ....]

["field": "blah1", "version":"10"....]

```