[
https://issues.apache.org/jira/browse/UIMA-6296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233384#comment-17233384
]
Richard Eckart de Castilho commented on UIMA-6296:
--------------------------------------------------
The state after the moveTo operation consistent with the initialization of the
iterator. So there seems to be a difference between the seek operation done by
SelectFS/Subiterator when positioning the iterator initially and when
performing a moveTo operation causing this unexpected effect. So it seems
desirable that a moveTo operator on an fsIterator obtained via SelectFS should
be consistent with the positioning rules and boundary conditions of the
SelectFS.
> SelectFS fsIterator may yield different result set than asList
> --------------------------------------------------------------
>
> Key: UIMA-6296
> URL: https://issues.apache.org/jira/browse/UIMA-6296
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
> Priority: Major
> Fix For: 3.2.0SDK
>
> Attachments: Screenshot 2020-11-17 at 08.05.09.png, Screenshot
> 2020-11-17 at 08.06.03.png
>
>
> SelectFS fsIterator may yield different result set than asList when
> collecting results through forward or backward iteration through the
> iterator. The randomized tests should be extended to check that fsIterator
> behavior is aligned with asList behavior and with the general annotation
> predicate matrix.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)