You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Marshall Schor <ms...@schor.com> on 2015/07/24 22:19:13 UTC

[OPINION] I'm considering disabling the new (with 2.8.0) flattened index support

I found yet another edge case where the index needs to be invalidated.

There was https://issues.apache.org/jira/browse/UIMA-4535,
and now there's the use case where the CAS enters a part of a pipeline
corresponding to a PEAR.  PEARs have their own class path, and hence, may
define their own versions of JCas cover classes.

One approach to manage this would be to allow each Pear environment to
have its own (potentially different) version of the flattened indexes,
and when exiting the PEAR, restoring the outer version.

The feedback I've gotten about the flattened indexes seems to indicate that
they don't really make any difference.  I think they may not be worth all the
effort (to handle these edge cases), so I'm considering disabling them.

Other opinions?

-Marshall

Re: [OPINION] I'm considering disabling the new (with 2.8.0) flattened index support

Posted by Richard Eckart de Castilho <re...@apache.org>.
I can't say whether the flattened indexes do any good or not, but if they are unstable better disable them for the moment and rather get the release out of the door.

-- Richard

On 24.07.2015, at 22:19, Marshall Schor <ms...@schor.com> wrote:

> I found yet another edge case where the index needs to be invalidated.
> 
> There was https://issues.apache.org/jira/browse/UIMA-4535,
> and now there's the use case where the CAS enters a part of a pipeline
> corresponding to a PEAR.  PEARs have their own class path, and hence, may
> define their own versions of JCas cover classes.
> 
> One approach to manage this would be to allow each Pear environment to
> have its own (potentially different) version of the flattened indexes,
> and when exiting the PEAR, restoring the outer version.
> 
> The feedback I've gotten about the flattened indexes seems to indicate that
> they don't really make any difference.  I think they may not be worth all the
> effort (to handle these edge cases), so I'm considering disabling them.
> 
> Other opinions?
> 
> -Marshall