[
https://issues.apache.org/jira/browse/OAK-6342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Reschke closed OAK-6342.
-------------------------------
> 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
> Components: lucene, query
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
> Fix For: 1.8.0
>
>
> 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)