[ https://issues.apache.org/jira/browse/OAK-6902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davide Giannella closed OAK-6902.
---------------------------------
Bulk close 1.7.11
> 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
> 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)
|