Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 65261 invoked from network); 10 Oct 2007 12:44:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 12:44:54 -0000 Received: (qmail 13878 invoked by uid 500); 10 Oct 2007 12:44:41 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 13864 invoked by uid 500); 10 Oct 2007 12:44:41 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 13850 invoked by uid 99); 10 Oct 2007 12:44:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 05:44:41 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of twgoetz@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 10 Oct 2007 12:44:42 +0000 Received: (qmail invoked by alias); 10 Oct 2007 12:44:20 -0000 Received: from blueice3n1.de.ibm.com (EHLO [9.152.14.84]) [195.212.29.179] by mail.gmx.net (mp022) with SMTP; 10 Oct 2007 14:44:20 +0200 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX19YiSc5U85YfZIbIVr3Ro9iPP19+3h8pBG9cugFnz x434uysq850Ssv Message-ID: <470CC924.90207@gmx.de> Date: Wed, 10 Oct 2007 14:44:20 +0200 From: Thilo Goetz User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: uima-user@incubator.apache.org Subject: Re: Removing data from CAS References: <470CC3B4.6070604@mondeca.com> In-Reply-To: <470CC3B4.6070604@mondeca.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org 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 > Web: www.mondeca.com > Mail: 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