jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-6902) Cost estimation for path tranformable queries is incorrect
Date Thu, 02 Nov 2017 20:44:00 GMT
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)

Mime
View raw message