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 2012/10/25 15:07:12 UTC

[jira] [Commented] (OAK-400) The query engine should pick the index with the lowest cost

    [ https://issues.apache.org/jira/browse/OAK-400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484099#comment-13484099 ] 

Thomas Mueller commented on OAK-400:
------------------------------------

Revision 1402137: due to a bug, so far the last index with a cost lower than Double.MAX_VALUE was used.
                
> The query engine should pick the index with the lowest cost
> -----------------------------------------------------------
>
>                 Key: OAK-400
>                 URL: https://issues.apache.org/jira/browse/OAK-400
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Each index implementation must provide an expected cost (estimate how many nodes are read if a given index would be used for a given query).
> The query engine then needs to pick the index(es) with the lowest cost, if multiple indexes are available. If no index can be used, the nodes need to be traversed.

--
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