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: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
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
