When I use a filtered FSIterator it's an order of magnitude slower than a
non-filtered iterator. Here's my code:
Create the iterator:
private FSIteratorAnnotation createConstrainedIterator(JCas aJCas)
throws CASException {
FSIteratorAnnotation it =
Larry,
A faster way to get the list of types that you will skip would be to do the
following:
FSIndexTitlePersonHonorificAnnotation titlePersonHAIndex =
aJCas.getAnnotationIndex(TitlePersonHonorificAnnotation.type);
Doing this for each type will yield an index that points to just the