uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Eckart de Castilho <...@apache.org>
Subject Re: Error when trying to drop CAS with FlowController
Date Mon, 07 Sep 2015 16:34:52 GMT
I don't think that cas.deleteView() would be a clean solution unless UIMA would be default
drop any CAS that has its only remaining view removed. 

Dropping the whole unit-of-work (the CAS) instead of stripping its content appear to me a
cleaner solution.

-- Richard

On 07.09.2015, at 17:45, Eddie Epstein <eaepstein@gmail.com> wrote:

> There was a Jira opened 7 years ago to support a cas.deleteView() method,
> but it has been ignored due to lack of interest.
> See https://issues.apache.org/jira/browse/UIMA-830
> 
> Eddie
> 
> On Mon, Sep 7, 2015 at 11:20 AM, Zesch, Torsten <torsten.zesch@uni-due.de>
> wrote:
> 
>> Only if it could completely empty the CAS including the document text, but
>> as far as I know the document text cannot be changed once it is set.
>> 
>> Am 07/09/15 17:14 schrieb "Eddie Epstein" unter <eaepstein@gmail.com>:
>> 
>>> Can the filter in the INNER_AAE modify such CASes, perhaps
>>> by deleting data, that would result in the existing consumer
>>> effectively ignoring them?
>>> 
>>> On Mon, Sep 7, 2015 at 11:08 AM, Zesch, Torsten <torsten.zesch@uni-due.de
>>> 
>>> wrote:
>>> 
>>>>> The consumer does not have to be modified if the flow controller
>>>>> drops CASes marked to be ignored.
>>>>> 
>>>>> Sounds like the issue in this case is that the consumer is in the
>>>>> OUTER_AAE, and there is a desire not to have any components
>>>>> in the OUTER_AAE be aware of the filtering operation.
>>>>> Is this right?
>>>> 
>>>> Yes exactly.
>>>> 
>>>> -Torsten
>>>> 
>>>> 
>> 
>> 


Mime
View raw message