doc2.put("crawl_lasttime_start", new Date());
doc2.put("running_crawl_lastupdate", new Date());
doc2.put("crawl_process_status", ISource.CRAWL_PROCESS_STATUS_CRAWLING);
doc2.put("crawl_mode", ISource.CRAWL_PROCESS_MODE_NONE);
doc2.put("_poped", false);
coll.update(doc, doc2);
}
return true;
}
public boolean updateSourceProcessingInfo(int id, long queueSize, long doneQueueSize, String processingInfo) {