[ https://issues.apache.org/jira/browse/OAK-9354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manfred Baedke updated OAK-9354: -------------------------------- Attachment: (was: oak-9354.patch) > SelectorImpl#getSize(SizePrecision, long) returns -1 after the internal > cursor has been processed > -------------------------------------------------------------------------------------------------- > > Key: OAK-9354 > URL: https://issues.apache.org/jira/browse/OAK-9354 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: oak-search > Reporter: Manfred Baedke > Assignee: Manfred Baedke > Priority: Minor > Attachments: oak-9354.patch > > > While this is technically not a bug because it doesn't break the method > contract, it is completely unnecessary and particularly strange in case of a > query with 0 results, because in this case it will return -1 even when the > object has just been created. This is particularly annoying if the query is > part of a union. -- This message was sent by Atlassian Jira (v8.3.4#803005)