ContextContainer cnt = (ContextContainer) ctx.getBean("ContextGateway");
GNResultSet result = null;
try {
result = new GNResultSet(new GNXMLQuery(q, ctx), userInfo, observers, cnt.getSrvctx()); // SRUResultSet(observers, base_url,
// getCQLString(q), code);
result.evaluate(timeout);
result.setStatus(IRResultSetStatus.COMPLETE);
} catch (Exception e) {
if(result!=null)