if(offset != null && offset.intValue() > 0){
query.setOffset(offset.intValue());
}
QueryResultList<Representation> results;
try {
results = site.find(query);
} catch (SiteException e) {
throw new IllegalStateException("Exception while searchign for "+
search+'@'+Arrays.toString(languages)+"in the ReferencedSite "+
site.getId(), e);
}