I'm fairly new to Solr but think I have read the documentation well. Really enjoying the ease of using the likes of:
ArrayList<MyClass> myRecords = queryResponse.getBeans(MyClass.class); However I have now come across the situation where I need to use groups. I cannot seem to find a way to getBeans() from a group, maybe I'm not understanding the hierarchy within a group? But I was hoping for something along the lines of: //Get beans from each group returnedList <GroupCommand> groupCommands = queryResponse.getGroupResponse().getValues();for(GroupCommand gc : groupCommands){ List<Group> groups = gc.getValues(); Group group = groups.get(0); ArrayList<MyClass> myRecords = group.getBeans(MyClass.class); //Do something with the current group of beans } Any advice or comments on how to do this or an alternative method would be gratefully received. Many thanks I have also posted this at: http://stackoverflow.com/questions/27114168/solrj-getbeans-from-groupcommand