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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/07/31 18:11:52 UTC

[jira] [Created] (OAK-937) Query engine index selection tweaks: shortcut and hint

Alex Parvulescu created OAK-937:
-----------------------------------

             Summary: Query engine index selection tweaks: shortcut and hint
                 Key: OAK-937
                 URL: https://issues.apache.org/jira/browse/OAK-937
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, query
            Reporter: Alex Parvulescu
            Priority: Minor


This issue covers 2 different changes related to the way the QueryEngine selects a query index:

 Firstly there could be a way to end the index selection process early via a known constant value: if an index returns a known value token (like -1000) then the query engine would effectively stop iterating through the existing index impls and use that index directly.

 Secondly it would be nice to be able to specify a desired index (if one is known to perform better) thus skipping the existing selection mechanism (cost calculation and comparison). This could be done via certain query hints [0].


[0] http://en.wikipedia.org/wiki/Hint_(SQL)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira