You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Davide Giannella (JIRA)" <ji...@apache.org> on 2019/04/09 10:37:12 UTC

[jira] [Updated] (OAK-5889) Change internal queries to use "option(traversal fail)"

     [ https://issues.apache.org/jira/browse/OAK-5889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davide Giannella updated OAK-5889:
----------------------------------
    Fix Version/s: 1.14.0

> Change internal queries to use "option(traversal fail)"
> -------------------------------------------------------
>
>                 Key: OAK-5889
>                 URL: https://issues.apache.org/jira/browse/OAK-5889
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>            Priority: Major
>             Fix For: 1.12.0, 1.14.0
>
>
> The Oak internal queries that use an index (that is, hopefully all of them) should fail if no index is available. For example, it's better to fail queries that search a node by UUID, if the UUID index is disabled, otherwise for each such query, the complete repository is traversed.
> To do that, "option(traversal fail)" can be appended to the query.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)