[ 
https://issues.apache.org/jira/browse/UIMA-3470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925660#comment-13925660
 ] 

Richard Eckart de Castilho commented on UIMA-3470:
--------------------------------------------------

So to summarize: to fix this issue, we would need the ability to use UIMA 
JCasIterator/CasIterator without requiring the user to call release() 
explicitly (we should do that somehow implicitly).

I also only did some very basic testing with a JCasMultiplier that calls 
getEmptyJCas() only once per next() method, and with a simple 
FixedFlowController with PARAM_ACTION_AFTER_CAS_MULTIPLIER set to "drop".

> JCasIterable doesn't work with CasMultipliers
> ---------------------------------------------
>
>                 Key: UIMA-3470
>                 URL: https://issues.apache.org/jira/browse/UIMA-3470
>             Project: UIMA
>          Issue Type: Bug
>          Components: uimaFIT
>    Affects Versions: 2.0.0uimaFIT
>            Reporter: Richard Eckart de Castilho
>             Fix For: 2.0.1uimaFIT
>
>         Attachments: UIMA-3470-20140210-rec.patch
>
>
> I believe the JCasIterable is currently implemented as a loop which calls
> "process" on the analysis engines for every CAS produced by the reader
> and then returns the corresponding CAS. This wouldn't work with multipliers.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to