[ 
https://issues.apache.org/jira/browse/OAK-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vikas Saurabh resolved OAK-6902.
--------------------------------
    Resolution: Fixed

Fixed on trunk at [r1814107|https://svn.apache.org/r1814107].

> Cost estimation for path tranformable queries is incorrect
> ----------------------------------------------------------
>
>                 Key: OAK-6902
>                 URL: https://issues.apache.org/jira/browse/OAK-6902
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.8, 1.7.11
>
>
> OAK-6735 introduced cost calculation based on number of documents indexed per 
> term. But, it miscalculates cost as 0 for relative properties which are 
> queried on an {{nt:base}} based index while tranforming paths
> e.g. index:
> {noformat}
> + index
>   + indexRules/nt:base/properties/foo
>       - name = foo
>       - propertyIndex = true
> {noformat}
> and query
> {noformat}
> SELECT * FROM [nt:base] WHERE [a/foo] = 'bar'
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to