You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@uima.apache.org by Timo Boehme <ti...@ontochem.com> on 2009/10/07 14:21:44 UTC
removeFromIndexes() is really slow
Hi,
deleting a large number of annotations from index via
Annotation.removeFromIndexes() takes a very long time (e.g. 200.000 out
of 700.000 took 9 minutes - normally I would expect this operation to be
finished after a couple of seconds).
Is there another possibility to do a 'bulk deletion' or clearing and
recreating an index?
--Timo
Timo Boehme
OntoChem GmbH
H.-Damerow-Str. 4
06120 Halle/Saale
T: +49 345 4780472
F: +49 345 4780471
timo.boehme@ontochem.com
_____________________________________________________________________
OntoChem GmbH
Geschäftsführer: Dr. Lutz Weber
Sitz: Halle / Saale
Registergericht: Stendal
Registernummer: HRB 215461
_____________________________________________________________________
Re: SimpleServer: missing doc describing service spec
Posted by Jörn Kottmann <ko...@gmail.com>.
Olivier Terrier wrote:
> Well,
>
> May be I could add a bug in jira for that?
>
>
Yes, just open an issue.
Jörn
RE: SimpleServer: missing doc describing service spec
Posted by Olivier Terrier <ol...@temis.com>.
Well,
May be I could add a bug in jira for that?
O.
> -----Message d'origine-----
> De : Olivier Terrier [mailto:olivier.terrier@temis.com]
> Envoyé : mercredi 7 octobre 2009 15:17
> À : uima-user@incubator.apache.org
> Objet : SimpleServer: missing doc describing service spec
>
> Hi all
> The SimpleServer is a great contribution, unfortunately, the
> documentation is quite incomplete.
> In particular there is now (even basic) guidelines on how to write a
> result spec xml file to customize the output.
> Even a simple readme file would be of great help
>
> Thanks in advance
>
> Olivier TERRIER
> Luxid Backend
> Software Development Manager
>
> tel: +33 (0)4 56 38 24 06
> http://www.temis.com
SimpleServer: missing doc describing service spec
Posted by Olivier Terrier <ol...@temis.com>.
Hi all
The SimpleServer is a great contribution, unfortunately, the
documentation is quite incomplete.
In particular there is now (even basic) guidelines on how to write a
result spec xml file to customize the output.
Even a simple readme file would be of great help
Thanks in advance
Olivier TERRIER
Luxid Backend
Software Development Manager
tel: +33 (0)4 56 38 24 06
http://www.temis.com
Re: removeFromIndexes() is really slow
Posted by Thilo Goetz <tw...@gmx.de>.
Timo Boehme wrote:
> Hi,
>
> deleting a large number of annotations from index via
> Annotation.removeFromIndexes() takes a very long time (e.g. 200.000 out
> of 700.000 took 9 minutes - normally I would expect this operation to be
> finished after a couple of seconds).
The whole implementation is geared towards adding
annotations, not deleting them. Yes, removing
annotations from indexes is slow.
Try removing the annotations in reverse order. From
knowing the implementation, I suspect that would go
faster.
> Is there another possibility to do a 'bulk deletion' or clearing and
> recreating an index?
No, but it would probably be easy to implement an
operation to drop an entire index, or to drop the
index for specific types.
--Thilo
>
> --Timo
>
> Timo Boehme
> OntoChem GmbH
> H.-Damerow-Str. 4
> 06120 Halle/Saale
> T: +49 345 4780472
> F: +49 345 4780471
> timo.boehme@ontochem.com
>
> _____________________________________________________________________
>
> OntoChem GmbH
> Geschäftsführer: Dr. Lutz Weber
> Sitz: Halle / Saale
> Registergericht: Stendal
> Registernummer: HRB 215461
> _____________________________________________________________________