uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thilo Goetz <twgo...@gmx.de>
Subject Re: Removing data from CAS
Date Wed, 10 Oct 2007 12:44:20 GMT
Thomas Francart wrote:
> Hi all -
> 
> How can I remove a FeatureStructure from the CAS ? should I simply call
> FeatureStructure.removeFromIndexes() ? is that enough to remove it, or
> should I do something more ?
> 
> Thanks
> Thomas
> -- 
> Thomas Francart
> Mondeca
> 3, cité Nollez 75018 Paris France
> Tel: +33 (0)1 44 92 35 04 - Fax: +33 (0)1 44 92 02 59
> Blog: mondeca.wordpress.com <http://mondeca.wordpress.com>
> Web: www.mondeca.com <http://www.mondeca.com>
> Mail: thomas.francart@mondeca.com <mailto:thomas.francart@mondeca.com>

Hi Thomas,

yes, that's all.  Note that the current implementation
of the CAS doesn't do any garbage collection.  Removing
the FS from the indexes only means that it is no longer
accessible via indexes (and therefore not at all, if it's
not accessible as the feature value of some other FS).
Hope that makes sense.

--Thilo

Mime
View raw message