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

Cost overrides for Lucene index not always working

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: lucene, query
    • Labels:
      None

      Description

      The cost overrides for the Lucene (compatVersion 2) index don't seem to work always. All features (costPerEntry, costPerExecution, entryCount which is undocumented) seem to be ignored for the query:

      /jcr:root/replication//*[jcr:like(@sling:resourceType, "replication//%agent")]
      
      index rule:
      http://localhost:4502/oak:index/lucene/indexRules/nt:base/properties/resourceType.tidy.-1.json
      {
        "jcr:primaryType": "nt:unstructured",
        "propertyIndex": "true",
        "weight": "0",
        "name": "sling:resourceType"
      }
      
      cost for lucene-property[/oak:index/lucene] is 501.0
      

        Attachments

          Activity

            People

            • Assignee:
              thomasm Thomas Mueller
              Reporter:
              thomasm Thomas Mueller

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Issue deployment