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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2016/12/13 08:38:58 UTC

[jira] [Resolved] (OAK-2550) Hint for Query Engine that Traversal is OK

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

Thomas Mueller resolved OAK-2550.
---------------------------------
    Resolution: Duplicate

> Hint for Query Engine that Traversal is OK
> ------------------------------------------
>
>                 Key: OAK-2550
>                 URL: https://issues.apache.org/jira/browse/OAK-2550
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Michael Marth
>            Priority: Minor
>
> With the flexible indexing in Oak it is up to the application developers to define indexes for their queries (to avoid Traversal). In large applications it needs to be checked automatically (through some integration test) that all queries are backed up by an index. This can easily be done by parsing the logs for traversals.
> However, there are cases where the application developer knows that traversal is fine, e.g. because the query is constrained to a sub-tree that contains few nodes. It would be nice if the developer could give a hint to the query engine that changes the above mentioned log output - so that these queries could be taken out of an automated traversal detection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)