role = (String) (parameters.containsKey(WGDatabase.QUERYOPTION_ROLE) ? parameters.get(WGDatabase.QUERYOPTION_ROLE) : "search");
}
List<WGContentKey> results = recurseExpressionQuery(engine, structsToSearch, prefLanguage, expr, deep, maxDocs, role);
WGCachedResultSet cachedSet = new WGCachedResultSet(results);
return new WGStandardResultSet(content.getDatabase(), cachedSet, parameters);
}