Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-2550

Hint for Query Engine that Traversal is OK

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • query
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mmarth Michael Marth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: