Thomas Mueller created OAK-6342:
-----------------------------------

             Summary: Cost overrides for Lucene index not always working
                 Key: OAK-6342
                 URL: https://issues.apache.org/jira/browse/OAK-6342
             Project: Jackrabbit Oak
          Issue Type: Bug
            Reporter: Thomas Mueller


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:

{noformat}
/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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to