Michael Marth created OAK-2550:
----------------------------------

             Summary: Hint for Query Engin 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)

Reply via email to