Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6902

Cost estimation for path tranformable queries is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.11, 1.8.0
    • lucene
    • None

    Description

      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:

      + index
        + indexRules/nt:base/properties/foo
            - name = foo
            - propertyIndex = true
      

      and query

      SELECT * FROM [nt:base] WHERE [a/foo] = 'bar'
      

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              catholicon Vikas Saurabh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: