int upper = Math.min((i*groupSize),numberOfHits);
request.getChild("from").setText(""+lower);
request.getChild("to").setText(""+upper);
// --- Loading results
List<Document> list = s.presentDocuments(context, request, config);
// --- Loading categories and groups
localCateg = new CategoryMapper(context);
localGroups = new GroupMapper(context);