Vikas Saurabh created OAK-6902:
----------------------------------
Summary: 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}
//*[a/foo = 'bar']
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)