[ https://issues.apache.org/jira/browse/OAK-8046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773481#comment-16773481 ]
Vikas Saurabh commented on OAK-8046: ------------------------------------ Had to update test because aggregate lucene index (compatVersion=1) doesn't respect index tag (because I don't RTFM - limitation 1 mentioned at \[0]). Did that on trunk at [r1853997|https://svn.apache.org/r1853997]. Backported to 1.10 at [r1853991|https://svn.apache.org/r1853991] and [r1853998|https://svn.apache.org/r1853998] Backported to 1.8 at [r1854003|https://svn.apache.org/r1854003] \[0]: https://jackrabbit.apache.org/oak/docs/query/query-engine.html#Query_Option_Index_Tag > Result items are not always correctly counted against the configured read > limit if a query uses a lucene index > --------------------------------------------------------------------------------------------------------------- > > Key: OAK-8046 > URL: https://issues.apache.org/jira/browse/OAK-8046 > Project: Jackrabbit Oak > Issue Type: Bug > Components: lucene > Affects Versions: 1.8.7 > Reporter: Georg Henzler > Assignee: Vikas Saurabh > Priority: Major > Fix For: 1.12, 1.11.0 > > Attachments: OAK-8046-take2.patch, OAK-8046.patch > > > There are cases where an index is re-opened during query execution. In that > case, already returned entries are read again and skipped, so basically > counted twice. This should be fixed to only count entries once (see also [1]) > The issue most likely exists since the read limit was introduced with OAK-6875 > [1] > https://lists.apache.org/thread.html/dddf9834fee0bccb6e48f61ba2a01430e34fc0b464b12809f7dfe2eb@%3Coak-dev.jackrabbit.apache.org%3E -- This message was sent by Atlassian JIRA (v7.6.3#76005)