[ https://issues.apache.org/jira/browse/OAK-2550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744566#comment-15744566 ]
Thomas Mueller commented on OAK-2550: ------------------------------------- This is exactly what we have implemented in OAK-4888. > 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)