this.status = res.getSearchStatus();
if ( res.getSearchStatus() == IRResultSetStatus.FAILURE ) {
if(Log.isDebugEnabled(Geonet.SEARCH_ENGINE))
Log.debug(Geonet.SEARCH_ENGINE, "failure during search");
} else {
this.zinfo = new ZSetInfo(query_id, qm, landscape);
this.size = res.total_hit_count;
}
if(Log.isDebugEnabled(Geonet.SEARCH_ENGINE))
Log.debug(Geonet.SEARCH_ENGINE, "Remote search completed. Status is : "+ getStatus());