jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OAK-6342) Cost overrides for Lucene index not always working
Date Mon, 13 Nov 2017 09:07:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-6342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Mueller reassigned OAK-6342:
-----------------------------------

    Assignee: Thomas Mueller

> 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
>
>
> 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)

Mime
View raw message