You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2020/11/04 07:18:00 UTC
[jira] [Created] (UIMA-6292) selectCovering is slow
Richard Eckart de Castilho created UIMA-6292:
------------------------------------------------
Summary: selectCovering is slow
Key: UIMA-6292
URL: https://issues.apache.org/jira/browse/UIMA-6292
Project: UIMA
Issue Type: Bug
Components: uimaFIT
Reporter: Richard Eckart de Castilho
Assignee: Richard Eckart de Castilho
Fix For: 2.6.0uimaFIT, 3.2.0uimaFIT
The uimaFIT selectCovering takes much longer than even a naive full index scan with an annotation predicate.
Reason seems to be a quite unnecessary condition on the type of the annotations which is checked in a loop. This can be avoided by obtaining an index of the proper type and iterating over that.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)