20 Aug 17:06
Is it possible to "manually" trigger batchProcessComplete?
From: Christoph Büscher <christoph.buescher@...>
Subject: Is it possible to "manually" trigger batchProcessComplete?
Newsgroups: gmane.comp.apache.uima.general
Date: 2008-08-20 15:10:02 GMT
Subject: Is it possible to "manually" trigger batchProcessComplete?
Newsgroups: gmane.comp.apache.uima.general
Date: 2008-08-20 15:10:02 GMT
Hi, I recently used the CasProcessors <checkpoint> element to periodically flush the results of some of my processors results to a database. However, triggering the batchProcessComplete() method if the processor via the checkpoint seems only possible after a fixed number of documents (the batch=xxx attribute) configured at start time. I'm wondering if it is somehow possible to trigger this programatically. For example I would like to trigger the "batchProcessComplete" after certain documents (which I can already identify in the collection reader). Is there a way of telling the UIMA framework to do so? -- -- -------------------------------- Christoph Büscher
RSS Feed