You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2017/06/13 11:23:01 UTC

[jira] [Created] (OAK-6342) Cost overrides for Lucene index not always working

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)