QueryFactory qf = Search.getQueryFactory(remoteCache);
Query q = qf.from(User.class)
.having("addresses.postCode").in("X1234", "ZZ").toBuilder().build();
List<User> list = q.list();
assertEquals(2, list.size());
assertTrue(Arrays.asList(1, 2).contains(list.get(0).getId()));
assertTrue(Arrays.asList(1, 2).contains(list.get(1).getId()));
}